[0.2.90] apply the renamed interface 45/192545/1 accepted/tizen/unified/20181113.163415 submit/tizen/20181109.060212
authorEunhae Choi <eunhae1.choi@samsung.com>
Tue, 6 Nov 2018 08:57:29 +0000 (17:57 +0900)
committerEunhae Choi <eunhae1.choi@samsung.com>
Tue, 6 Nov 2018 08:57:29 +0000 (17:57 +0900)
Change-Id: I31f7e7ba1953088493ec2d45ab52ec5d8bc9be26

legacy/src/legacy_player_internal.c

index e1b56396f26095b3397265267014095adb361e13..c3d1f7e81c5228ce9bc4362b15b03bbc1f19b8f1 100644 (file)
@@ -40,7 +40,7 @@ do { \
        LOGI("[%s] Event type : %d ", __FUNCTION__, event_type); \
 } while (0)
 
-bool __audio_stream_callback_ex(MMPlayerAudioStreamDataType *stream, void *user_data)
+bool __audio_stream_callback(MMPlayerAudioStreamDataType *stream, void *user_data)
 {
        player_s *handle = (player_s *)user_data;
 
@@ -63,7 +63,7 @@ int legacy_player_set_pcm_extraction_mode(player_h player, bool sync, player_aud
 
        PLAYER_STATE_CHECK(handle, PLAYER_STATE_IDLE);
 
-       ret = mm_player_set_audio_stream_callback_ex(handle->mm_handle, sync, __audio_stream_callback_ex, (void *)handle);
+       ret = mm_player_set_audio_stream_callback(handle->mm_handle, sync, __audio_stream_callback, (void *)handle);
        if (ret != MM_ERROR_NONE)
                return __player_convert_error_code(ret, (char *)__FUNCTION__);