+ return result;
+}
+
+int mm_player_get_track_count(MMHandleType player, mmplayer_track_type_e type, int *count)
+{
+ int result = MM_ERROR_NONE;
+
+ MMPLAYER_RETURN_VAL_IF_FAIL(player, MM_ERROR_PLAYER_NOT_INITIALIZED);
+ MMPLAYER_RETURN_VAL_IF_FAIL(count, MM_ERROR_COMMON_INVALID_ARGUMENT);
+
+ MMPLAYER_CMD_LOCK(player);
+
+ result = _mmplayer_get_track_count(player, type, count);
+
+ MMPLAYER_CMD_UNLOCK(player);