[0.2.107] apply tizen naming coding rule 88/203088/1 accepted/tizen/unified/20190410.131437 submit/tizen/20190410.035730
authorEunhye Choi <eunhae1.choi@samsung.com>
Tue, 9 Apr 2019 12:44:40 +0000 (21:44 +0900)
committerEunhye Choi <eunhae1.choi@samsung.com>
Tue, 9 Apr 2019 12:44:43 +0000 (21:44 +0900)
- apply the below naming coding rule
  [M12] No mixed-case, Use underscores('_') to separate words in an name.

Change-Id: I8d46619ec187f51ab94bce1fd33b49af5cbfb4f6

legacy/include/legacy_player.h
legacy/include/legacy_player_internal.h
legacy/include/legacy_player_private.h
legacy/src/legacy_player.c
legacy/src/legacy_player_internal.c
muse/include/muse_player_msg.h
muse/include/muse_player_private.h
muse/src/muse_player.c
muse/src/muse_player_dispatcher.c
packaging/mmsvc-player.spec

index a4de141..6d726ac 100644 (file)
@@ -44,7 +44,7 @@ extern "C" {
  * @brief The media player's type handle.
  * @since_tizen 2.3
  */
-typedef struct player_s *player_h;
+typedef struct legacy_player_t *legacy_player_h;
 
 /**
  * @brief Enumeration for media player state.
@@ -385,7 +385,7 @@ typedef void (*player_retrieve_buffer_cb)(void *user_data);
  * @post The player state will be #PLAYER_STATE_IDLE.
  * @see legacy_player_destroy()
  */
-int legacy_player_create(player_h *player);
+int legacy_player_create(legacy_player_h *player);
 
 /**
  * @brief Destroys the media player handle and releases all its resources.
@@ -401,7 +401,7 @@ int legacy_player_create(player_h *player);
  * @post The player state will be #PLAYER_STATE_NONE.
  * @see legacy_player_create()
  */
-int legacy_player_destroy(player_h player);
+int legacy_player_destroy(legacy_player_h player);
 
 /**
  * @brief Prepares the media player for playback.
@@ -426,7 +426,7 @@ int legacy_player_destroy(player_h player);
  * @see legacy_player_unprepare()
  * @see legacy_player_set_uri()
  */
-int legacy_player_prepare(player_h player);
+int legacy_player_prepare(legacy_player_h player);
 
 /**
  * @brief Prepares the media player for playback, asynchronously.
@@ -454,7 +454,7 @@ int legacy_player_prepare(player_h player);
  * @see legacy_player_unprepare()
  * @see legacy_player_set_uri()
  */
-int legacy_player_prepare_async(player_h player, player_prepared_cb callback, void *user_data);
+int legacy_player_prepare_async(legacy_player_h player, player_prepared_cb callback, void *user_data);
 
 /**
  * @brief Resets the media player.
@@ -473,7 +473,7 @@ int legacy_player_prepare_async(player_h player, player_prepared_cb callback, vo
  * @post The player state will be #PLAYER_STATE_IDLE.
  * @see legacy_player_prepare()
  */
-int legacy_player_unprepare(player_h player);
+int legacy_player_unprepare(legacy_player_h player);
 
 /**
  * @brief Sets the data source (file-path, HTTP or RSTP URI) to use.
@@ -496,7 +496,7 @@ int legacy_player_unprepare(player_h player);
  * @pre The player state must be set to #PLAYER_STATE_IDLE by calling legacy_player_create() or legacy_player_unprepare().
  * @see legacy_player_set_memory_buffer()
  */
-int legacy_player_set_uri(player_h player, const char *uri);
+int legacy_player_set_uri(legacy_player_h player, const char *uri);
 
 /**
  * @brief Sets memory as the data source.
@@ -518,7 +518,7 @@ int legacy_player_set_uri(player_h player, const char *uri);
  * @pre        The player state must be set to #PLAYER_STATE_IDLE by calling legacy_player_create() or legacy_player_unprepare().
  * @see legacy_player_set_uri()
  */
-int legacy_player_set_memory_buffer(player_h player, const void *data, int size);
+int legacy_player_set_memory_buffer(legacy_player_h player, const void *data, int size);
 
 /**
  * @brief Gets the player's current state.
@@ -531,7 +531,7 @@ int legacy_player_set_memory_buffer(player_h player, const void *data, int size)
  * @retval #PLAYER_ERROR_INVALID_PARAMETER Invalid parameter
  * @see #player_state_e
  */
-int  legacy_player_get_state(player_h player, player_state_e *state);
+int  legacy_player_get_state(legacy_player_h player, player_state_e *state);
 
 /**
  * @brief Sets the player's volume.
@@ -551,7 +551,7 @@ int  legacy_player_get_state(player_h player, player_state_e *state);
  * @retval #PLAYER_ERROR_INVALID_OPERATION Invalid operation
  * @see legacy_player_get_volume()
  */
-int legacy_player_set_volume(player_h player, float left, float right);
+int legacy_player_set_volume(legacy_player_h player, float left, float right);
 
 /**
  * @brief Gets the player's current volume factor.
@@ -570,7 +570,7 @@ int legacy_player_set_volume(player_h player, float left, float right);
  * @retval #PLAYER_ERROR_INVALID_OPERATION Invalid operation
  * @see legacy_player_set_volume()
  */
-int legacy_player_get_volume(player_h player, float *left, float *right);
+int legacy_player_get_volume(legacy_player_h player, float *left, float *right);
 
 /**
  * @brief Sets the player's sound manager stream information.
@@ -592,7 +592,7 @@ int legacy_player_get_volume(player_h player, float *left, float *right);
  * @see sound_manager_create_stream_information()
  * @see sound_manager_destroy_stream_information()
  */
-int legacy_player_set_sound_stream_info(player_h player, sound_stream_info_h stream_info);
+int legacy_player_set_sound_stream_info(legacy_player_h player, sound_stream_info_h stream_info);
 
 /**
  * @brief Sets the audio latency mode.
@@ -612,7 +612,7 @@ int legacy_player_set_sound_stream_info(player_h player, sound_stream_info_h str
  * @see #audio_latency_mode_e
  * @see legacy_player_get_audio_latency_mode()
  */
-int legacy_player_set_audio_latency_mode(player_h player, audio_latency_mode_e latency_mode);
+int legacy_player_set_audio_latency_mode(legacy_player_h player, audio_latency_mode_e latency_mode);
 
 /**
  * @brief Gets the current audio latency mode.
@@ -627,7 +627,7 @@ int legacy_player_set_audio_latency_mode(player_h player, audio_latency_mode_e l
  * @see #audio_latency_mode_e
  * @see legacy_player_set_audio_latency_mode()
  */
-int legacy_player_get_audio_latency_mode(player_h player, audio_latency_mode_e *latency_mode);
+int legacy_player_get_audio_latency_mode(legacy_player_h player, audio_latency_mode_e *latency_mode);
 
 /**
  * @brief Starts or resumes playback.
@@ -656,7 +656,7 @@ int legacy_player_get_audio_latency_mode(player_h player, audio_latency_mode_e *
  * @see legacy_player_set_completed_cb()
  * @see legacy_player_completed_cb()
  */
-int legacy_player_start(player_h player);
+int legacy_player_start(legacy_player_h player);
 
 /**
  * @brief Stops playing media content.
@@ -674,7 +674,7 @@ int legacy_player_start(player_h player);
  * @see legacy_player_start()
  * @see legacy_player_pause()
  */
-int legacy_player_stop(player_h player);
+int legacy_player_stop(legacy_player_h player);
 
 /**
  * @brief Pauses the player.
@@ -693,7 +693,7 @@ int legacy_player_stop(player_h player);
  * @post The player state will be #PLAYER_STATE_READY.
  * @see legacy_player_start()
  */
-int legacy_player_pause(player_h player);
+int legacy_player_pause(legacy_player_h player);
 
 /**
  * @brief Sets the seek position for playback, asynchronously.
@@ -714,7 +714,7 @@ int legacy_player_pause(player_h player);
  * @post It invokes legacy_player_seek_completed_cb() when seek operation completes, if you set a callback.
  * @see legacy_player_get_play_position()
  */
-int legacy_player_set_play_position(player_h player, int64_t nanoseconds, bool accurate, player_seek_completed_cb callback, void *user_data);
+int legacy_player_set_play_position(legacy_player_h player, int64_t nanoseconds, bool accurate, player_seek_completed_cb callback, void *user_data);
 
 /**
  * @brief Gets the current position in milliseconds.
@@ -730,7 +730,7 @@ int legacy_player_set_play_position(player_h player, int64_t nanoseconds, bool a
  * @pre The player state must be one of these: #PLAYER_STATE_IDLE, #PLAYER_STATE_READY, #PLAYER_STATE_PLAYING, or #PLAYER_STATE_PAUSED.
  * @see legacy_player_set_play_position()
  */
-int legacy_player_get_play_position(player_h player, int64_t *nanoseconds);
+int legacy_player_get_play_position(legacy_player_h player, int64_t *nanoseconds);
 
 /**
  * @brief Sets the player's mute status.
@@ -749,7 +749,7 @@ int legacy_player_get_play_position(player_h player, int64_t *nanoseconds);
  * @pre The player state must be one of these: #PLAYER_STATE_IDLE, #PLAYER_STATE_READY, #PLAYER_STATE_PLAYING, or #PLAYER_STATE_PAUSED.
  * @see legacy_player_is_muted()
  */
-int legacy_player_set_mute(player_h player, bool muted);
+int legacy_player_set_mute(legacy_player_h player, bool muted);
 
 /**
  * @brief Gets the player's mute status.
@@ -767,7 +767,7 @@ int legacy_player_set_mute(player_h player, bool muted);
  * @pre The player state must be one of these: #PLAYER_STATE_IDLE, #PLAYER_STATE_READY, #PLAYER_STATE_PLAYING, or #PLAYER_STATE_PAUSED.
  * @see legacy_player_set_mute()
  */
-int legacy_player_is_muted(player_h player, bool *muted);
+int legacy_player_is_muted(legacy_player_h player, bool *muted);
 
 /**
  * @brief Sets the player's looping status.
@@ -786,7 +786,7 @@ int legacy_player_is_muted(player_h player, bool *muted);
  * @pre The player state must be one of these: #PLAYER_STATE_IDLE, #PLAYER_STATE_READY, #PLAYER_STATE_PLAYING, or #PLAYER_STATE_PAUSED.
  * @see legacy_player_is_looping()
  */
-int legacy_player_set_looping(player_h player, bool looping);
+int legacy_player_set_looping(legacy_player_h player, bool looping);
 
 /**
  * @brief Gets the player's looping status.
@@ -805,7 +805,7 @@ int legacy_player_set_looping(player_h player, bool looping);
  * @pre The player state must be one of these: #PLAYER_STATE_IDLE, #PLAYER_STATE_READY, #PLAYER_STATE_PLAYING, or #PLAYER_STATE_PAUSED.
  * @see legacy_player_set_looping()
  */
-int legacy_player_is_looping(player_h player, bool *looping);
+int legacy_player_is_looping(legacy_player_h player, bool *looping);
 
 /**
  * @brief Sets the video display.
@@ -826,9 +826,9 @@ int legacy_player_is_looping(player_h player, bool *looping);
  * @pre The player state must be one of these: #PLAYER_STATE_IDLE, #PLAYER_STATE_READY, #PLAYER_STATE_PLAYING, or #PLAYER_STATE_PAUSED.
  * @see legacy_player_set_display_rotation
  */
-int legacy_player_set_display(player_h player, player_display_type_e type, unsigned int wl_surface_id);
+int legacy_player_set_display(legacy_player_h player, player_display_type_e type, unsigned int wl_surface_id);
 
-int legacy_player_release_video_stream_bo(player_h player, void *bo);
+int legacy_player_release_video_stream_bo(legacy_player_h player, void *bo);
 
 /**
  * @brief Registers a media packet video callback function to be called once per frame.
@@ -846,7 +846,7 @@ int legacy_player_release_video_stream_bo(player_h player, void *bo);
  * @retval #PLAYER_ERROR_INVALID_STATE Invalid state
  * @pre        The player's state should be #PLAYER_STATE_IDLE. And, #PLAYER_DISPLAY_TYPE_NONE should be set by calling legacy_player_set_display().
  */
-int legacy_player_set_media_packet_video_frame_decoded_cb(player_h player, legacy_player_media_packet_video_decoded_cb callback, void *user_data);
+int legacy_player_set_media_packet_video_frame_decoded_cb(legacy_player_h player, legacy_player_media_packet_video_decoded_cb callback, void *user_data);
 
 /**
  * @brief  Pushes elementary stream to decode audio or video
@@ -867,7 +867,7 @@ int legacy_player_set_media_packet_video_frame_decoded_cb(player_h player, legac
  * @see legacy_player_set_media_stream_info()
  * @see legacy_player_set_media_stream_buffer_max_size()
  */
-int legacy_player_push_media_stream(player_h player, media_packet_h packet);
+int legacy_player_push_media_stream(legacy_player_h player, media_packet_h packet);
 
 /**
  * @brief  Sets contents information for media stream
@@ -888,7 +888,7 @@ int legacy_player_push_media_stream(player_h player, media_packet_h packet);
  * @pre The player state must be set to #PLAYER_STATE_IDLE by calling legacy_player_create() or legacy_player_unprepare().
  * @see legacy_player_push_media_stream()
  */
-int legacy_player_set_media_stream_info(player_h player, player_stream_type_e type, media_format_h format);
+int legacy_player_set_media_stream_info(legacy_player_h player, player_stream_type_e type, media_format_h format);
 
 /**
  * @brief Registers a callback function to be invoked when buffer underrun or overflow is occurred.
@@ -908,7 +908,7 @@ int legacy_player_set_media_stream_info(player_h player, player_stream_type_e ty
  * @see legacy_player_unset_media_stream_buffer_status_cb()
  * @see legacy_player_media_stream_buffer_status_cb()
  */
-int legacy_player_set_media_stream_buffer_status_cb(player_h player, player_stream_type_e type, player_media_stream_buffer_status_cb callback, void *user_data);
+int legacy_player_set_media_stream_buffer_status_cb(legacy_player_h player, player_stream_type_e type, player_media_stream_buffer_status_cb callback, void *user_data);
 
 /**
  * @brief Unregisters the buffer status callback function.
@@ -923,7 +923,7 @@ int legacy_player_set_media_stream_buffer_status_cb(player_h player, player_stre
  * @retval #PLAYER_ERROR_INVALID_PARAMETER Invalid parameter
  * @see legacy_player_set_media_stream_buffer_status_cb()
  */
-int legacy_player_unset_media_stream_buffer_status_cb(player_h player, player_stream_type_e type);
+int legacy_player_unset_media_stream_buffer_status_cb(legacy_player_h player, player_stream_type_e type);
 
 /**
  * @brief Registers a callback function to be invoked when seeking is occurred.
@@ -943,7 +943,7 @@ int legacy_player_unset_media_stream_buffer_status_cb(player_h player, player_st
  * @see legacy_player_unset_media_stream_seek_cb()
  * @see legacy_player_media_stream_seek_cb()
  */
-int legacy_player_set_media_stream_seek_cb(player_h player, player_stream_type_e type, player_media_stream_seek_cb callback, void *user_data);
+int legacy_player_set_media_stream_seek_cb(legacy_player_h player, player_stream_type_e type, player_media_stream_seek_cb callback, void *user_data);
 
 /**
  * @brief Unregisters the seek callback function.
@@ -957,7 +957,7 @@ int legacy_player_set_media_stream_seek_cb(player_h player, player_stream_type_e
  * @retval #PLAYER_ERROR_INVALID_PARAMETER Invalid parameter
  * @see legacy_player_set_media_stream_seek_cb()
  */
-int legacy_player_unset_media_stream_seek_cb(player_h player, player_stream_type_e type);
+int legacy_player_unset_media_stream_seek_cb(legacy_player_h player, player_stream_type_e type);
 
 /**
  * @brief Sets the max size bytes of buffer.
@@ -976,7 +976,7 @@ int legacy_player_unset_media_stream_seek_cb(player_h player, player_stream_type
  * @see legacy_player_get_media_stream_buffer_max_size()
  * @see legacy_player_media_stream_buffer_status_cb()
  */
-int legacy_player_set_media_stream_buffer_max_size(player_h player, player_stream_type_e type, unsigned long long max_size);
+int legacy_player_set_media_stream_buffer_max_size(legacy_player_h player, player_stream_type_e type, unsigned long long max_size);
 
 /**
  * @brief Gets the max size bytes of buffer.
@@ -995,7 +995,7 @@ int legacy_player_set_media_stream_buffer_max_size(player_h player, player_strea
  * @see legacy_player_set_media_stream_buffer_max_size()
  * @see legacy_player_media_stream_buffer_status_cb()
  */
-int legacy_player_get_media_stream_buffer_max_size(player_h player, player_stream_type_e type, unsigned long long *max_size);
+int legacy_player_get_media_stream_buffer_max_size(legacy_player_h player, player_stream_type_e type, unsigned long long *max_size);
 
 /**
  * @brief Sets the buffer threshold percent of buffer.
@@ -1014,7 +1014,7 @@ int legacy_player_get_media_stream_buffer_max_size(player_h player, player_strea
  * @see legacy_player_get_media_stream_buffer_min_threshold()
  * @see legacy_player_media_stream_buffer_status_cb()
  */
-int legacy_player_set_media_stream_buffer_min_threshold(player_h player, player_stream_type_e type, unsigned int percent);
+int legacy_player_set_media_stream_buffer_min_threshold(legacy_player_h player, player_stream_type_e type, unsigned int percent);
 
 /**
  * @brief Gets the buffer threshold percent of buffer.
@@ -1033,7 +1033,7 @@ int legacy_player_set_media_stream_buffer_min_threshold(player_h player, player_
  * @see legacy_player_set_media_stream_buffer_min_threshold()
  * @see legacy_player_media_stream_buffer_status_cb()
  */
-int legacy_player_get_media_stream_buffer_min_threshold(player_h player, player_stream_type_e type, unsigned int *percent);
+int legacy_player_get_media_stream_buffer_min_threshold(legacy_player_h player, player_stream_type_e type, unsigned int *percent);
 
 /**
  * @}
@@ -1058,7 +1058,7 @@ int legacy_player_get_media_stream_buffer_min_threshold(player_h player, player_
  * @pre The player should support display mode changes.
  * @see        legacy_player_get_display_mode()
  */
-int legacy_player_set_display_mode(player_h player, player_display_mode_e mode);
+int legacy_player_set_display_mode(legacy_player_h player, player_display_mode_e mode);
 
 /**
  * @brief Gets the video display mode.
@@ -1072,7 +1072,7 @@ int legacy_player_set_display_mode(player_h player, player_display_mode_e mode);
  * @retval  #PLAYER_ERROR_INVALID_PARAMETER Invalid parameter
  * @see        legacy_player_set_display_mode()
  */
-int legacy_player_get_display_mode(player_h player, player_display_mode_e *mode);
+int legacy_player_get_display_mode(legacy_player_h player, player_display_mode_e *mode);
 
 /**
  * @brief Sets the visibility of the video surface display
@@ -1086,7 +1086,7 @@ int legacy_player_get_display_mode(player_h player, player_display_mode_e *mode)
  * @retval #PLAYER_ERROR_INVALID_STATE Invalid state
  * @see        legacy_player_is_display_visible()
  */
-int legacy_player_set_display_visible(player_h player, bool visible);
+int legacy_player_set_display_visible(legacy_player_h player, bool visible);
 
 /**
  * @brief Gets the visibility of the video surface display.
@@ -1099,7 +1099,7 @@ int legacy_player_set_display_visible(player_h player, bool visible);
  * @retval  #PLAYER_ERROR_INVALID_PARAMETER Invalid parameter
  * @see        legacy_player_set_display_visible()
  */
-int legacy_player_is_display_visible(player_h player, bool *visible);
+int legacy_player_is_display_visible(legacy_player_h player, bool *visible);
 
 /**
  * @brief Sets the rotation settings of the video surface display.
@@ -1116,7 +1116,7 @@ int legacy_player_is_display_visible(player_h player, bool *visible);
  * @see  legacy_player_set_display
  * @see  legacy_player_get_display_rotation()
  */
-int legacy_player_set_display_rotation(player_h player, player_display_rotation_e rotation);
+int legacy_player_set_display_rotation(legacy_player_h player, player_display_rotation_e rotation);
 
 /**
  * @brief Gets the rotation of the video surface display.
@@ -1129,7 +1129,7 @@ int legacy_player_set_display_rotation(player_h player, player_display_rotation_
  * @retval  #PLAYER_ERROR_INVALID_PARAMETER Invalid parameter
  * @see     legacy_player_set_display_rotation()
  */
-int legacy_player_get_display_rotation(player_h player, player_display_rotation_e *rotation);
+int legacy_player_get_display_rotation(legacy_player_h player, player_display_rotation_e *rotation);
 
 /**
  * @}
@@ -1159,7 +1159,7 @@ int legacy_player_get_display_rotation(player_h player, player_display_rotation_
  * @retval #PLAYER_ERROR_INVALID_STATE Invalid player state
  * @pre The player state must be one of these: #PLAYER_STATE_READY, #PLAYER_STATE_PLAYING or #PLAYER_STATE_PAUSED.
  */
-int legacy_player_get_content_info(player_h player, player_content_info_e key, char **value);
+int legacy_player_get_content_info(legacy_player_h player, player_content_info_e key, char **value);
 
 /**
  * @brief Gets the audio and video codec information.
@@ -1179,7 +1179,7 @@ int legacy_player_get_content_info(player_h player, player_content_info_e key, c
  * @retval #PLAYER_ERROR_INVALID_STATE Invalid player state
  * @pre The player state must be one of these: #PLAYER_STATE_READY, #PLAYER_STATE_PLAYING or #PLAYER_STATE_PAUSED.
  */
-int legacy_player_get_codec_info(player_h player, char **audio_codec, char **video_codec);
+int legacy_player_get_codec_info(legacy_player_h player, char **audio_codec, char **video_codec);
 
 /**
  * @brief Gets the audio stream information.
@@ -1200,7 +1200,7 @@ int legacy_player_get_codec_info(player_h player, char **audio_codec, char **vid
  * @retval #PLAYER_ERROR_INVALID_STATE Invalid player state
  * @pre The player state must be one of these: #PLAYER_STATE_READY, #PLAYER_STATE_PLAYING or #PLAYER_STATE_PAUSED.
  */
-int legacy_player_get_audio_stream_info(player_h player, int *sample_rate, int *channel, int *bit_rate);
+int legacy_player_get_audio_stream_info(legacy_player_h player, int *sample_rate, int *channel, int *bit_rate);
 
 /**
  * @brief Gets the video stream information.
@@ -1219,7 +1219,7 @@ int legacy_player_get_audio_stream_info(player_h player, int *sample_rate, int *
  * @retval #PLAYER_ERROR_INVALID_STATE Invalid player state
  * @pre The player state must be one of these: #PLAYER_STATE_READY, #PLAYER_STATE_PLAYING or #PLAYER_STATE_PAUSED.
  */
-int legacy_player_get_video_stream_info(player_h player, int *fps, int *bit_rate);
+int legacy_player_get_video_stream_info(legacy_player_h player, int *fps, int *bit_rate);
 
 /**
  * @brief Gets the video display's height and width.
@@ -1238,7 +1238,7 @@ int legacy_player_get_video_stream_info(player_h player, int *fps, int *bit_rate
  * @retval #PLAYER_ERROR_INVALID_STATE Invalid player state
  * @pre The player state must be one of these: #PLAYER_STATE_READY, #PLAYER_STATE_PLAYING or #PLAYER_STATE_PAUSED.
  */
-int legacy_player_get_video_size(player_h player, int *width, int *height);
+int legacy_player_get_video_size(legacy_player_h player, int *width, int *height);
 
 /**
  * @brief Gets the album art in the media resource.
@@ -1255,7 +1255,7 @@ int legacy_player_get_video_size(player_h player, int *width, int *height);
  * @retval #PLAYER_ERROR_INVALID_STATE Invalid player state
  * @pre The player state must be one of these: #PLAYER_STATE_READY, #PLAYER_STATE_PLAYING or #PLAYER_STATE_PAUSED.
  */
-int legacy_player_get_album_art(player_h player, void **album_art, int *size);
+int legacy_player_get_album_art(legacy_player_h player, void **album_art, int *size);
 
 /**
  * @brief Gets the total running time of the associated media.
@@ -1274,7 +1274,7 @@ int legacy_player_get_album_art(player_h player, void **album_art, int *size);
  * @see legacy_player_set_uri()
  * @see legacy_player_set_memory_buffer()
  */
-int legacy_player_get_duration(player_h player, int64_t *duration);
+int legacy_player_get_duration(legacy_player_h player, int64_t *duration);
 
 /**
  * @}
@@ -1300,7 +1300,7 @@ int legacy_player_get_duration(player_h player, int64_t *duration);
  * @see legacy_player_audio_effect_set_equalizer_band_level()
  * @see legacy_player_audio_effect_set_equalizer_all_bands()
  */
-int legacy_player_audio_effect_get_equalizer_bands_count(player_h player, int *count);
+int legacy_player_audio_effect_get_equalizer_bands_count(legacy_player_h player, int *count);
 
 /**
  * @brief Sets the gain set for the given equalizer band.
@@ -1320,7 +1320,7 @@ int legacy_player_audio_effect_get_equalizer_bands_count(player_h player, int *c
  * @see legacy_player_audio_effect_get_equalizer_band_level()
  * @see legacy_player_audio_effect_set_equalizer_all_bands()
  */
-int legacy_player_audio_effect_set_equalizer_band_level(player_h player, int index, int level);
+int legacy_player_audio_effect_set_equalizer_band_level(legacy_player_h player, int index, int level);
 
 /**
  * @brief Gets the gain set for the given equalizer band.
@@ -1336,7 +1336,7 @@ int legacy_player_audio_effect_set_equalizer_band_level(player_h player, int ind
  * @pre The player state must be one of these: #PLAYER_STATE_IDLE, #PLAYER_STATE_READY, #PLAYER_STATE_PLAYING, or #PLAYER_STATE_PAUSED.
  * @see legacy_player_audio_effect_set_equalizer_band_level()
  */
-int legacy_player_audio_effect_get_equalizer_band_level(player_h player, int index, int *level);
+int legacy_player_audio_effect_get_equalizer_band_level(legacy_player_h player, int index, int *level);
 
 /**
  * @brief Sets all bands of the equalizer.
@@ -1355,7 +1355,7 @@ int legacy_player_audio_effect_get_equalizer_band_level(player_h player, int ind
  * @see legacy_player_audio_effect_get_equalizer_level_range()
  * @see legacy_player_audio_effect_set_equalizer_band_level()
  */
-int legacy_player_audio_effect_set_equalizer_all_bands(player_h player, int *band_levels, int length);
+int legacy_player_audio_effect_set_equalizer_all_bands(legacy_player_h player, int *band_levels, int length);
 
 /**
  * @brief Gets the valid band level range of the equalizer.
@@ -1372,7 +1372,7 @@ int legacy_player_audio_effect_set_equalizer_all_bands(player_h player, int *ban
  * @see legacy_player_audio_effect_set_equalizer_band_level()
  * @see legacy_player_audio_effect_set_equalizer_all_bands()
  */
-int legacy_player_audio_effect_get_equalizer_level_range(player_h player, int *min, int *max);
+int legacy_player_audio_effect_get_equalizer_level_range(legacy_player_h player, int *min, int *max);
 
 /**
  * @brief Gets the band frequency of the equalizer.
@@ -1387,7 +1387,7 @@ int legacy_player_audio_effect_get_equalizer_level_range(player_h player, int *m
  * @retval #PLAYER_ERROR_INVALID_STATE Invalid player state
  * @pre The player state must be one of these: #PLAYER_STATE_IDLE, #PLAYER_STATE_READY, #PLAYER_STATE_PLAYING, or #PLAYER_STATE_PAUSED.
  */
-int legacy_player_audio_effect_get_equalizer_band_frequency(player_h player, int index, int *frequency);
+int legacy_player_audio_effect_get_equalizer_band_frequency(legacy_player_h player, int index, int *frequency);
 
 /**
  * @brief Gets the band frequency range of the equalizer.
@@ -1402,7 +1402,7 @@ int legacy_player_audio_effect_get_equalizer_band_frequency(player_h player, int
  * @retval #PLAYER_ERROR_INVALID_STATE Invalid player state
  * @pre The player state must be one of these: #PLAYER_STATE_IDLE, #PLAYER_STATE_READY, #PLAYER_STATE_PLAYING, or #PLAYER_STATE_PAUSED.
  */
-int legacy_player_audio_effect_get_equalizer_band_frequency_range(player_h player, int index, int *range);
+int legacy_player_audio_effect_get_equalizer_band_frequency_range(legacy_player_h player, int index, int *range);
 
 /**
  * @brief Clears the equalizer effect.
@@ -1416,7 +1416,7 @@ int legacy_player_audio_effect_get_equalizer_band_frequency_range(player_h playe
  * @see legacy_player_audio_effect_set_equalizer_band_level()
  * @see legacy_player_audio_effect_set_equalizer_all_bands()
  */
-int legacy_player_audio_effect_equalizer_clear(player_h player);
+int legacy_player_audio_effect_equalizer_clear(legacy_player_h player);
 
 /**
  * @brief Checks whether the custom equalizer effect is available.
@@ -1431,7 +1431,7 @@ int legacy_player_audio_effect_equalizer_clear(player_h player);
  * @see legacy_player_audio_effect_set_equalizer_band_level()
  * @see legacy_player_audio_effect_set_equalizer_all_bands()
  */
-int legacy_player_audio_effect_equalizer_is_available(player_h player, bool *available);
+int legacy_player_audio_effect_equalizer_is_available(legacy_player_h player, bool *available);
 
 /**
  * @}
@@ -1460,7 +1460,7 @@ int legacy_player_audio_effect_equalizer_is_available(player_h player, bool *ava
  * @post It invokes legacy_player_video_captured_cb() when capture completes, if you set a callback.
  * @see legacy_player_video_captured_cb()
  */
-int legacy_player_capture_video(player_h player, player_video_captured_cb callback, void *user_data);
+int legacy_player_capture_video(legacy_player_h player, player_video_captured_cb callback, void *user_data);
 
 /**
  * @brief Sets the cookie for streaming playback.
@@ -1477,7 +1477,7 @@ int legacy_player_capture_video(player_h player, player_video_captured_cb callba
  * @pre The player state must be set to #PLAYER_STATE_IDLE by calling legacy_player_create() or legacy_player_unprepare().
  * @see legacy_player_set_streaming_user_agent()
  */
-int legacy_player_set_streaming_cookie(player_h player, const char *cookie, int size);
+int legacy_player_set_streaming_cookie(legacy_player_h player, const char *cookie, int size);
 
 /**
  * @brief Sets the streaming user agent for playback.
@@ -1494,7 +1494,7 @@ int legacy_player_set_streaming_cookie(player_h player, const char *cookie, int
  * @pre The player state must be set to #PLAYER_STATE_IDLE by calling legacy_player_create() or legacy_player_unprepare().
  * @see legacy_player_set_streaming_cookie()
  */
-int legacy_player_set_streaming_user_agent(player_h player, const char *user_agent, int size);
+int legacy_player_set_streaming_user_agent(legacy_player_h player, const char *user_agent, int size);
 
 /**
  * @brief Gets the download progress for streaming playback.
@@ -1510,7 +1510,7 @@ int legacy_player_set_streaming_user_agent(player_h player, const char *user_age
  * @retval #PLAYER_ERROR_INVALID_STATE Invalid player state
  * @pre The player state must be set to #PLAYER_STATE_PLAYING by calling legacy_player_start() or set to #PLAYER_STATE_PAUSED by calling legacy_player_pause().
  */
-int legacy_player_get_streaming_download_progress(player_h player, int *start, int *end);
+int legacy_player_get_streaming_download_progress(legacy_player_h player, int *start, int *end);
 
 /**
  * @brief Registers a callback function to be invoked when the playback is finished.
@@ -1528,7 +1528,7 @@ int legacy_player_get_streaming_download_progress(player_h player, int *start, i
  * @see legacy_player_completed_cb()
  * @see legacy_player_start()
  */
-int legacy_player_set_completed_cb(player_h player, player_completed_cb callback, void *user_data);
+int legacy_player_set_completed_cb(legacy_player_h player, player_completed_cb callback, void *user_data);
 
 /**
  * @brief Unregisters the callback function.
@@ -1541,7 +1541,7 @@ int legacy_player_set_completed_cb(player_h player, player_completed_cb callback
  * @retval #PLAYER_ERROR_INVALID_OPERATION Invalid operation
  * @see legacy_player_set_completed_cb()
  */
-int legacy_player_unset_completed_cb(player_h player);
+int legacy_player_unset_completed_cb(legacy_player_h player);
 
 /**
  * @brief Registers a callback function to be invoked when the playback is interrupted or the interrupt is completed.
@@ -1558,7 +1558,7 @@ int legacy_player_unset_completed_cb(player_h player);
  * @see legacy_player_unset_interrupted_cb()
  * @see legacy_player_interrupted_cb()
  */
-int legacy_player_set_interrupted_cb(player_h player, player_interrupted_cb callback, void *user_data);
+int legacy_player_set_interrupted_cb(legacy_player_h player, player_interrupted_cb callback, void *user_data);
 
 /**
  * @brief Unregisters the callback function.
@@ -1571,7 +1571,7 @@ int legacy_player_set_interrupted_cb(player_h player, player_interrupted_cb call
  * @retval #PLAYER_ERROR_INVALID_OPERATION Invalid operation
  * @see legacy_player_set_interrupted_cb()
  */
-int legacy_player_unset_interrupted_cb(player_h player);
+int legacy_player_unset_interrupted_cb(legacy_player_h player);
 
 /**
  * @brief Registers a callback function to be invoked when an error occurs.
@@ -1588,7 +1588,7 @@ int legacy_player_unset_interrupted_cb(player_h player);
  * @see legacy_player_unset_error_cb()
  * @see legacy_player_error_cb()
  */
-int legacy_player_set_error_cb(player_h player, player_error_cb callback, void *user_data);
+int legacy_player_set_error_cb(legacy_player_h player, player_error_cb callback, void *user_data);
 
 /**
  * @brief Unregisters the callback function.
@@ -1601,7 +1601,7 @@ int legacy_player_set_error_cb(player_h player, player_error_cb callback, void *
  * @retval #PLAYER_ERROR_INVALID_OPERATION Invalid operation
  * @see legacy_player_set_error_cb()
  */
-int legacy_player_unset_error_cb(player_h player);
+int legacy_player_unset_error_cb(legacy_player_h player);
 
 /**
  * @brief Registers a callback function to be invoked when there is a change in the buffering status of a media stream.
@@ -1621,7 +1621,7 @@ int legacy_player_unset_error_cb(player_h player);
  * @see legacy_player_set_uri()
  * @see legacy_player_buffering_cb()
  */
-int legacy_player_set_buffering_cb(player_h player, player_buffering_cb callback, void *user_data);
+int legacy_player_set_buffering_cb(legacy_player_h player, player_buffering_cb callback, void *user_data);
 
 /**
  * @brief Unregisters the callback function.
@@ -1634,7 +1634,7 @@ int legacy_player_set_buffering_cb(player_h player, player_buffering_cb callback
  * @retval #PLAYER_ERROR_INVALID_OPERATION Invalid operation
  * @see legacy_player_set_buffering_cb()
  */
-int legacy_player_unset_buffering_cb(player_h player);
+int legacy_player_unset_buffering_cb(legacy_player_h player);
 
 /**
  * @brief Sets the playback rate.
@@ -1650,7 +1650,7 @@ int legacy_player_unset_buffering_cb(player_h player);
  * @pre The player state must be set to #PLAYER_STATE_PLAYING by calling legacy_player_start().
  * @pre The player state must be set to #PLAYER_STATE_READY by calling legacy_player_prepare() or set to #PLAYER_STATE_PLAYING by calling legacy_player_start() or set to #PLAYER_STATE_PAUSED by calling legacy_player_pause().
  */
-int legacy_player_set_playback_rate(player_h player, float rate);
+int legacy_player_set_playback_rate(legacy_player_h player, float rate);
 
 /**
  * @}
@@ -1676,7 +1676,7 @@ int legacy_player_set_playback_rate(player_h player, float rate);
  * @pre The player state must be one of these: #PLAYER_STATE_IDLE, #PLAYER_STATE_READY, #PLAYER_STATE_PLAYING, or #PLAYER_STATE_PAUSED.
  * @pre The path value can be @c NULL for reset when the player state is set to #PLAYER_STATE_IDLE by calling legacy_player_create() or legacy_player_unprepare().
  */
-int legacy_player_set_subtitle_path(player_h player, const char *path);
+int legacy_player_set_subtitle_path(legacy_player_h player, const char *path);
 
 /**
  * @brief Registers a callback function to be invoked when a subtitle updates.
@@ -1695,7 +1695,7 @@ int legacy_player_set_subtitle_path(player_h player, const char *path);
  * @see legacy_player_subtitle_updated_cb()
  * @see legacy_player_set_subtitle_path()
  */
-int legacy_player_set_subtitle_updated_cb(player_h player, player_subtitle_updated_cb callback, void *user_data);
+int legacy_player_set_subtitle_updated_cb(legacy_player_h player, player_subtitle_updated_cb callback, void *user_data);
 
 /**
  * @brief Unregisters the callback function.
@@ -1708,7 +1708,7 @@ int legacy_player_set_subtitle_updated_cb(player_h player, player_subtitle_updat
  * @retval #PLAYER_ERROR_INVALID_OPERATION Invalid operation
  * @see legacy_player_set_subtitle_updated_cb()
  */
-int legacy_player_unset_subtitle_updated_cb(player_h player);
+int legacy_player_unset_subtitle_updated_cb(legacy_player_h player);
 
 /**
  * @brief Sets the seek position for the subtitle.
@@ -1725,7 +1725,7 @@ int legacy_player_unset_subtitle_updated_cb(player_h player);
  * @pre The subtitle must be set by calling legacy_player_set_subtitle_path().
  * @pre The player state must be one of these: #PLAYER_STATE_PLAYING or #PLAYER_STATE_PAUSED.
  */
-int legacy_player_set_subtitle_position_offset(player_h player, int millisecond);
+int legacy_player_set_subtitle_position_offset(legacy_player_h player, int millisecond);
 
 /**
  * @brief Registers a callback function to be invoked when video stream is changed.
@@ -1744,7 +1744,7 @@ int legacy_player_set_subtitle_position_offset(player_h player, int millisecond)
  * @see legacy_player_unset_video_stream_changed_cb()
  * @see legacy_player_video_stream_changed_cb()
  */
-int legacy_player_set_video_stream_changed_cb(player_h player, player_video_stream_changed_cb callback, void *user_data);
+int legacy_player_set_video_stream_changed_cb(legacy_player_h player, player_video_stream_changed_cb callback, void *user_data);
 
 /**
  * @brief Unregisters the video stream changed callback function.
@@ -1757,7 +1757,7 @@ int legacy_player_set_video_stream_changed_cb(player_h player, player_video_stre
  * @retval #PLAYER_ERROR_INVALID_PARAMETER Invalid parameter
  * @see legacy_player_set_video_stream_changed_cb()
  */
-int legacy_player_unset_video_stream_changed_cb(player_h player);
+int legacy_player_unset_video_stream_changed_cb(legacy_player_h player);
 
 /**
  * @brief Gets current track index.
@@ -1776,7 +1776,7 @@ int legacy_player_unset_video_stream_changed_cb(player_h player);
  * @retval #PLAYER_ERROR_NOT_SUPPORTD Not supported
  * @pre The player state must be one of these: #PLAYER_STATE_READY, #PLAYER_STATE_PLAYING, or #PLAYER_STATE_PAUSED
  */
-int legacy_player_get_current_track(player_h player, player_stream_type_e type, int *index);
+int legacy_player_get_current_track(legacy_player_h player, player_stream_type_e type, int *index);
 
 /**
  * @brief Gets language code of a track.
@@ -1797,7 +1797,7 @@ int legacy_player_get_current_track(player_h player, player_stream_type_e type,
  * @retval #PLAYER_ERROR_NOT_SUPPORTD Not supported
  * @pre The player state must be one of these: #PLAYER_STATE_READY, #PLAYER_STATE_PLAYING, or #PLAYER_STATE_PAUSED
  */
-int legacy_player_get_track_language_code(player_h player, player_stream_type_e type, int index, char **code, int *len);
+int legacy_player_get_track_language_code(legacy_player_h player, player_stream_type_e type, int index, char **code, int *len);
 
 /**
  * @brief Gets the track count.
@@ -1815,7 +1815,7 @@ int legacy_player_get_track_language_code(player_h player, player_stream_type_e
  * @retval #PLAYER_ERROR_NOT_SUPPORTD Not supported
  * @pre The player state must be one of these: #PLAYER_STATE_READY, #PLAYER_STATE_PLAYING, or #PLAYER_STATE_PAUSED
  */
-int legacy_player_get_track_count(player_h player, player_stream_type_e type, int *count);
+int legacy_player_get_track_count(legacy_player_h player, player_stream_type_e type, int *count);
 
 /**
  * @brief Selects a track to play.
@@ -1834,7 +1834,7 @@ int legacy_player_get_track_count(player_h player, player_stream_type_e type, in
  * @pre The player state must be one of these: #PLAYER_STATE_READY, #PLAYER_STATE_PLAYING, or #PLAYER_STATE_PAUSED
  * @see legacy_player_get_current_track()
  */
-int legacy_player_select_track(player_h player, player_stream_type_e type, int index);
+int legacy_player_select_track(legacy_player_h player, player_stream_type_e type, int index);
 
 #ifdef TIZEN_FEATURE_EVAS_RENDERER
 /**
@@ -1851,7 +1851,7 @@ int legacy_player_select_track(player_h player, player_stream_type_e type, int i
  * @post  player_retrieve_buffer_cb() will be invoked.
  * @see legacy_player_unset_retrieve_buffer_cb()
  */
-int legacy_player_set_retrieve_buffer_cb(player_h player, player_retrieve_buffer_cb callback, void *user_data);
+int legacy_player_set_retrieve_buffer_cb(legacy_player_h player, player_retrieve_buffer_cb callback, void *user_data);
 
 /**
  * @brief Unregisters the callback function.
@@ -1864,7 +1864,7 @@ int legacy_player_set_retrieve_buffer_cb(player_h player, player_retrieve_buffer
  * @retval #PLAYER_ERROR_INVALID_OPERATION Invalid operation
  * @see legacy_player_set_retrieve_buffer_cb()
  */
-int legacy_player_unset_retrieve_buffer_cb(player_h player);
+int legacy_player_unset_retrieve_buffer_cb(legacy_player_h player);
 #endif
 
 /**
@@ -1879,7 +1879,7 @@ int legacy_player_unset_retrieve_buffer_cb(player_h player);
  * @retval  #PLAYER_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval  #PLAYER_ERROR_INVALID_OPERATION Invalid operation
  */
-int legacy_player_manage_external_storage_state(player_h player, int id, int state);
+int legacy_player_manage_external_storage_state(legacy_player_h player, int id, int state);
 
 /**
  * @brief Sets the ROI (Region Of Interest) area of the content video source.
@@ -1909,7 +1909,7 @@ int legacy_player_manage_external_storage_state(player_h player, int id, int sta
  * @see legacy_player_get_video_size()
  * @see legacy_player_get_video_roi_area()
  */
-int legacy_player_set_video_roi_area(player_h player, double scale_x, double scale_y, double scale_width, double scale_height);
+int legacy_player_set_video_roi_area(legacy_player_h player, double scale_x, double scale_y, double scale_width, double scale_height);
 
 /**
  * @brief Gets the ROI (Region Of Interest) area of the content video source.
@@ -1930,7 +1930,7 @@ int legacy_player_set_video_roi_area(player_h player, double scale_x, double sca
  * @see legacy_player_get_video_size()
  * @see legacy_player_set_video_roi_area()
  */
-int legacy_player_get_video_roi_area(player_h player, double *scale_x, double *scale_y, double *scale_width, double *scale_height);
+int legacy_player_get_video_roi_area(legacy_player_h player, double *scale_x, double *scale_y, double *scale_width, double *scale_height);
 
 /**
  * @brief Sets the ROI(Region Of Interest) area of display.
@@ -1953,7 +1953,7 @@ int legacy_player_get_video_roi_area(player_h player, double *scale_x, double *s
  * @see legacy_player_set_display()
  * @see legacy_player_set_display_mode()
  */
-int legacy_player_set_roi_area(player_h player, int x, int y, int w, int h);
+int legacy_player_set_roi_area(legacy_player_h player, int x, int y, int w, int h);
 
 /**
  * @brief Sets sound stream info
@@ -1967,7 +1967,7 @@ int legacy_player_set_roi_area(player_h player, int x, int y, int w, int h);
  * @retval  #PLAYER_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval  #PLAYER_ERROR_INVALID_OPERATION Invalid operation
  */
-int legacy_player_set_sound_stream_info_for_mused(player_h player, char *stream_type, int stream_index);
+int legacy_player_set_sound_stream_info_for_mused(legacy_player_h player, char *stream_type, int stream_index);
 
 /**
  * @brief Gets time out time from muse-server
@@ -1980,7 +1980,7 @@ int legacy_player_set_sound_stream_info_for_mused(player_h player, char *stream_
  * @retval  #PLAYER_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval  #PLAYER_ERROR_INVALID_OPERATION Invalid operation
  */
-int legacy_player_get_timeout_for_muse(player_h player, int *timeout);
+int legacy_player_get_timeout_for_muse(legacy_player_h player, int *timeout);
 
 /**
  * @brief Gets number of video out buffers
@@ -1994,7 +1994,7 @@ int legacy_player_get_timeout_for_muse(player_h player, int *timeout);
  * @retval  #PLAYER_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval  #PLAYER_ERROR_INVALID_OPERATION Invalid operation
  */
-int legacy_player_get_num_of_video_out_buffers(player_h player, int *num, int *extra_num);
+int legacy_player_get_num_of_video_out_buffers(legacy_player_h player, int *num, int *extra_num);
 
 /**
  * @brief Retrieves all the streaming variant information.
@@ -2012,7 +2012,7 @@ int legacy_player_get_num_of_video_out_buffers(player_h player, int *num, int *e
  * @pre The player state must be one of #PLAYER_STATE_READY, #PLAYER_STATE_PLAYING, or #PLAYER_STATE_PAUSED
  * @see player_adaptive_variant_cb
  */
-int legacy_player_get_adaptive_variant_info(player_h player, int *num, char **var_info);
+int legacy_player_get_adaptive_variant_info(legacy_player_h player, int *num, char **var_info);
 
 /**
  * @brief Sets the maximum limit of the streaming variant.
@@ -2034,7 +2034,7 @@ int legacy_player_get_adaptive_variant_info(player_h player, int *num, char **va
  * @see legacy_player_get_adaptive_variant_info()
  * @see legacy_player_get_max_adaptive_variant_limit()
  */
-int legacy_player_set_max_adaptive_variant_limit(player_h player, int bandwidth, int width, int height);
+int legacy_player_set_max_adaptive_variant_limit(legacy_player_h player, int bandwidth, int width, int height);
 
 /**
  * @brief Gets the maximum limit of the streaming variant.
@@ -2053,7 +2053,7 @@ int legacy_player_set_max_adaptive_variant_limit(player_h player, int bandwidth,
  * @see legacy_player_get_adaptive_variant_info()
  * @see legacy_player_set_max_adaptive_variant_limit()
  */
-int legacy_player_get_max_adaptive_variant_limit(player_h player, int *bandwidth, int *width, int *height);
+int legacy_player_get_max_adaptive_variant_limit(legacy_player_h player, int *bandwidth, int *width, int *height);
 
 /**
  * @brief Checks user callback lock
@@ -2078,7 +2078,7 @@ bool _check_enabled_user_cb_lock(int event_id);
  * @pre The player state must be one of: #PLAYER_STATE_READY, #PLAYER_STATE_PLAYING, or #PLAYER_STATE_PAUSED.
  * @see player_is_audio_only()
  */
-int legacy_player_set_audio_only(player_h player, bool audio_only);
+int legacy_player_set_audio_only(legacy_player_h player, bool audio_only);
 
 /**
  * @brief Gets the audio only mode status.
@@ -2093,34 +2093,34 @@ int legacy_player_set_audio_only(player_h player, bool audio_only);
  * @pre The player state must be one of: #PLAYER_STATE_IDLE, #PLAYER_STATE_READY, #PLAYER_STATE_PLAYING, or #PLAYER_STATE_PAUSED.
  * @see player_set_audio_only()
  */
-int legacy_player_is_audio_only(player_h player, bool *paudio_only);
+int legacy_player_is_audio_only(legacy_player_h player, bool *paudio_only);
 
 /* Set/Get the streaming buffering time */
-int legacy_player_set_streaming_buffering_time(player_h player, int prebuffer_ms, int rebuffer_ms);
-int legacy_player_get_streaming_buffering_time(player_h player, int *prebuffer_ms, int *rebuffer_ms);
+int legacy_player_set_streaming_buffering_time(legacy_player_h player, int prebuffer_ms, int rebuffer_ms);
+int legacy_player_get_streaming_buffering_time(legacy_player_h player, int *prebuffer_ms, int *rebuffer_ms);
 
 /* 360 video display */
-int legacy_player_360_is_content_spherical(player_h player, bool *is_spherical);
-int legacy_player_360_set_enabled(player_h player, bool enabled);
-int legacy_player_360_is_enabled(player_h player, bool *enabled);
-int legacy_player_360_set_direction_of_view(player_h player, float yaw, float pitch);
-int legacy_player_360_get_direction_of_view(player_h player, float *yaw, float *pitch);
-int legacy_player_360_set_zoom(player_h player, float level);
-int legacy_player_360_get_zoom(player_h player, float *level);
-int legacy_player_360_set_field_of_view(player_h player, int horizontal_degrees, int vertical_degrees);
-int legacy_player_360_get_field_of_view(player_h player, int *horizontal_degrees, int *vertical_degrees);
-int legacy_player_set_replaygain_enabled(player_h player, bool enabled);
-int legacy_player_is_replaygain_enabled(player_h player, bool *enabled);
+int legacy_player_360_is_content_spherical(legacy_player_h player, bool *is_spherical);
+int legacy_player_360_set_enabled(legacy_player_h player, bool enabled);
+int legacy_player_360_is_enabled(legacy_player_h player, bool *enabled);
+int legacy_player_360_set_direction_of_view(legacy_player_h player, float yaw, float pitch);
+int legacy_player_360_get_direction_of_view(legacy_player_h player, float *yaw, float *pitch);
+int legacy_player_360_set_zoom(legacy_player_h player, float level);
+int legacy_player_360_get_zoom(legacy_player_h player, float *level);
+int legacy_player_360_set_field_of_view(legacy_player_h player, int horizontal_degrees, int vertical_degrees);
+int legacy_player_360_get_field_of_view(legacy_player_h player, int *horizontal_degrees, int *vertical_degrees);
+int legacy_player_set_replaygain_enabled(legacy_player_h player, bool enabled);
+int legacy_player_is_replaygain_enabled(legacy_player_h player, bool *enabled);
 
 /* audio offload */
-int legacy_player_set_audio_offload_enabled(player_h player, bool enabled);
-int legacy_player_is_audio_offload_enabled(player_h player, bool *enabled);
+int legacy_player_set_audio_offload_enabled(legacy_player_h player, bool enabled);
+int legacy_player_is_audio_offload_enabled(legacy_player_h player, bool *enabled);
 
 /* audio pitch */
-int legacy_player_pitch_set_enabled(player_h player, bool enabled);
-int legacy_player_pitch_is_enabled(player_h player, bool *enabled);
-int legacy_player_pitch_set_value(player_h player, float pitch);
-int legacy_player_pitch_get_value(player_h player, float *pitch);
+int legacy_player_pitch_set_enabled(legacy_player_h player, bool enabled);
+int legacy_player_pitch_is_enabled(legacy_player_h player, bool *enabled);
+int legacy_player_pitch_set_value(legacy_player_h player, float pitch);
+int legacy_player_pitch_get_value(legacy_player_h player, float *pitch);
 
 /**
  * @}
index a2ca551..5f83029 100644 (file)
@@ -97,7 +97,7 @@ typedef void (*player_media_stream_buffer_status_cb_ex)(player_media_stream_buff
  * @pre The player state must be #PLAYER_STATE_IDLE by legacy_player_create() or legacy_player_unprepare().
  * @post player_audio_pcm_extraction_cb() will be invoked.
  */
-int legacy_player_set_pcm_extraction_mode(player_h player, bool sync, player_audio_pcm_extraction_cb callback, void *user_data);
+int legacy_player_set_pcm_extraction_mode(legacy_player_h player, bool sync, player_audio_pcm_extraction_cb callback, void *user_data);
 
 /**
  * @brief Set pcm mode spec. Samplerate, channel is needed.
@@ -115,7 +115,7 @@ int legacy_player_set_pcm_extraction_mode(player_h player, bool sync, player_aud
  * @pre The player state must be #PLAYER_STATE_IDLE by legacy_player_create() or legacy_player_unprepare().
  * @see legacy_player_set_pcm_extraction_mode()
  */
-int legacy_player_set_pcm_spec(player_h player, const char *format, int samplerate, int channel);
+int legacy_player_set_pcm_spec(legacy_player_h player, const char *format, int samplerate, int channel);
 
 /**
  * @brief Sets the playback rate include streaming mode.
@@ -129,7 +129,7 @@ int legacy_player_set_pcm_spec(player_h player, const char *format, int samplera
  * @retval #PLAYER_ERROR_INVALID_STATE Invalid player state
  * @pre The player state must be set to #PLAYER_STATE_READY by calling legacy_player_prepare() or set to #PLAYER_STATE_PLAYING by calling legacy_player_start() or set to #PLAYER_STATE_PAUSED by calling legacy_player_pause().
  */
-int legacy_player_set_streaming_playback_rate(player_h player, float rate);
+int legacy_player_set_streaming_playback_rate(legacy_player_h player, float rate);
 
 /**
  * @brief Registers a callback function to be invoked when buffer underrun or overflow is occurred.
@@ -149,7 +149,7 @@ int legacy_player_set_streaming_playback_rate(player_h player, float rate);
  * @see legacy_player_unset_media_stream_buffer_status_cb_ex()
  * @see player_media_stream_buffer_status_cb_ex()
  */
-int legacy_player_set_media_stream_buffer_status_cb_ex(player_h player, player_stream_type_e type, player_media_stream_buffer_status_cb_ex callback, void *user_data);
+int legacy_player_set_media_stream_buffer_status_cb_ex(legacy_player_h player, player_stream_type_e type, player_media_stream_buffer_status_cb_ex callback, void *user_data);
 
 /**
  * @brief Unregisters the buffer status callback function.
@@ -164,7 +164,7 @@ int legacy_player_set_media_stream_buffer_status_cb_ex(player_h player, player_s
  * @retval #PLAYER_ERROR_INVALID_PARAMETER Invalid parameter
  * @see legacy_player_set_media_stream_buffer_status_cb()
  */
-int legacy_player_unset_media_stream_buffer_status_cb_ex(player_h player, player_stream_type_e type);
+int legacy_player_unset_media_stream_buffer_status_cb_ex(legacy_player_h player, player_stream_type_e type);
 
 /**
  * @brief Sets DRC(dynamic resolution change) information of media stream data.
@@ -180,7 +180,7 @@ int legacy_player_unset_media_stream_buffer_status_cb_ex(player_h player, player
  * @retval #PLAYER_ERROR_INVALID_PARAMETER Invalid parameter
  * @pre The player state must be set to #PLAYER_STATE_IDLE by calling legacy_player_create() or legacy_player_unprepare().
  */
-int legacy_player_set_media_stream_dynamic_resolution(player_h player, bool drc);
+int legacy_player_set_media_stream_dynamic_resolution(legacy_player_h player, bool drc);
 
 /**
  * @brief Sets the data source (http or local file) to transite.
@@ -207,7 +207,7 @@ int legacy_player_set_media_stream_dynamic_resolution(player_h player, bool drc)
  * @pre The player state must be one of these: #PLAYER_STATE_IDLE, #PLAYER_STATE_READY, #PLAYER_STATE_PLAYING, or #PLAYER_STATE_PAUSED.
  * @see player_set_uri(), player_set_looping()
  */
-int legacy_player_set_next_uri(player_h player, const char *uri);
+int legacy_player_set_next_uri(legacy_player_h player, const char *uri);
 
 /**
  * @brief Gets the data source path.
@@ -225,7 +225,7 @@ int legacy_player_set_next_uri(player_h player, const char *uri);
  * @pre The player state must be one of these: #PLAYER_STATE_IDLE, #PLAYER_STATE_READY, #PLAYER_STATE_PLAYING, or #PLAYER_STATE_PAUSED.
  * @see player_set_uri()
  */
-int legacy_player_get_next_uri(player_h player, char **uri);
+int legacy_player_get_next_uri(legacy_player_h player, char **uri);
 
 /**
  * @brief Sets the gapless playback status
@@ -242,7 +242,7 @@ int legacy_player_get_next_uri(player_h player, char **uri);
  * @pre The player state must be one of these: #PLAYER_STATE_IDLE, #PLAYER_STATE_READY, #PLAYER_STATE_PLAYING, or #PLAYER_STATE_PAUSED.
  * @see        player_is_gapless()
  */
-int legacy_player_set_gapless(player_h player, bool gapless);
+int legacy_player_set_gapless(legacy_player_h player, bool gapless);
 
 /**
  * @brief Gets the player's gapless status.
@@ -260,7 +260,7 @@ int legacy_player_set_gapless(player_h player, bool gapless);
  * @pre The player state must be one of these: #PLAYER_STATE_IDLE, #PLAYER_STATE_READY, #PLAYER_STATE_PLAYING, or #PLAYER_STATE_PAUSED.
  * @see player_set_gapless()
  */
-int legacy_player_is_gapless(player_h player, bool *gapless);
+int legacy_player_is_gapless(legacy_player_h player, bool *gapless);
 
 /**
  * @brief Enables media_packet callback
@@ -279,7 +279,7 @@ int legacy_player_is_gapless(player_h player, bool *gapless);
  * @see player_set_display()
  * @see player_set_media_packet_video_frame_decoded_cb()
  */
-int legacy_player_enable_media_packet_video_frame_decoded_cb(player_h player, bool enable);
+int legacy_player_enable_media_packet_video_frame_decoded_cb(legacy_player_h player, bool enable);
 
 /**
  * @brief Set audio/video codec type as h/w codec or s/w codec.
@@ -298,7 +298,7 @@ int legacy_player_enable_media_packet_video_frame_decoded_cb(player_h player, bo
  * @pre The player state must be #PLAYER_STATE_IDLE by player_create() or player_unprepare().
  * @see player_get_codec_type()
  */
-int legacy_player_set_codec_type(player_h player, player_stream_type_e stream_type, player_codec_type_e codec_type);
+int legacy_player_set_codec_type(legacy_player_h player, player_stream_type_e stream_type, player_codec_type_e codec_type);
 
 /**
  * @brief Get video codec type.
@@ -315,7 +315,7 @@ int legacy_player_set_codec_type(player_h player, player_stream_type_e stream_ty
  * @pre The player state must be one of these: #PLAYER_STATE_IDLE, #PLAYER_STATE_READY, #PLAYER_STATE_PLAYING, or #PLAYER_STATE_PAUSED.
  * @see player_set_codec_type()
  */
-int legacy_player_get_codec_type(player_h player, player_stream_type_e stream_type, player_codec_type_e *pcodec_type);
+int legacy_player_get_codec_type(legacy_player_h player, player_stream_type_e stream_type, player_codec_type_e *pcodec_type);
 
 /**
  * @}
index 0b72b1a..cbc5dda 100644 (file)
@@ -51,13 +51,13 @@ extern "C" {
 #define LEGACY_PLAYER_USER_CB_LOCK(x_handle, type) \
        do { \
                if (_check_enabled_user_cb_lock(type))  \
-                       g_mutex_lock(&((player_s *)x_handle)->user_cb_lock[type]);      \
+                       g_mutex_lock(&((legacy_player_t *)x_handle)->user_cb_lock[type]);       \
        } while (0)
 
 #define LEGACY_PLAYER_USER_CB_UNLOCK(x_handle, type) \
        do { \
                if (_check_enabled_user_cb_lock(type))  \
-                       g_mutex_unlock(&((player_s *)x_handle)->user_cb_lock[type]);    \
+                       g_mutex_unlock(&((legacy_player_t *)x_handle)->user_cb_lock[type]);     \
        } while (0)
 
 
@@ -85,7 +85,7 @@ typedef enum {
        PLAYER_MESSAGE_GAPLESS_CONSTRUCTION,
 #endif
        PLAYER_MESSAGE_MAX
-} _player_message_e;
+} player_message_e;
 
 typedef enum {
        PLAYER_INTERNAL_STATE_NONE,
@@ -100,7 +100,7 @@ typedef enum {
        PLAYER_INTERNAL_STATE_STOPPED,
 } player_internal_state_e;
 
-typedef struct _player_s {
+typedef struct {
        MMHandleType mm_handle;
        const void *user_cb[MUSE_PLAYER_EVENT_TYPE_NUM];
        void *user_data[MUSE_PLAYER_EVENT_TYPE_NUM];
@@ -121,10 +121,10 @@ typedef struct _player_s {
        int current_message;
        player_error_e error_code;
        int64_t last_play_position;
-} player_s;
+} legacy_player_t;
 
 int __player_convert_error_code(int code, char *func_name);
-bool __player_state_validate(player_s *handle, player_state_e threshold);
+bool __player_state_validate(legacy_player_t *handle, player_state_e threshold);
 
 #ifdef __cplusplus
 }
index 61b6aba..39d9803 100644 (file)
@@ -238,7 +238,7 @@ int __player_convert_error_code(int code, char *func_name)
        return ret;
 }
 
-static void __player_update_state(player_s *handle, player_internal_state_e state)
+static void __player_update_state(legacy_player_t *handle, player_internal_state_e state)
 {
        switch (state) {
        case PLAYER_INTERNAL_STATE_NONE:
@@ -276,7 +276,7 @@ static void __player_update_state(player_s *handle, player_internal_state_e stat
        return;
 }
 
-bool __player_state_validate(player_s *handle, player_state_e threshold)
+bool __player_state_validate(legacy_player_t *handle, player_state_e threshold)
 {
        if (handle->state < threshold)
                return false;
@@ -284,9 +284,9 @@ bool __player_state_validate(player_s *handle, player_state_e threshold)
        return true;
 }
 
-static int __set_callback(muse_player_event_e type, player_h player, void *callback, void *user_data)
+static int __set_callback(muse_player_event_e type, legacy_player_h player, void *callback, void *user_data)
 {
-       player_s *handle = (player_s *)player;
+       legacy_player_t *handle = (legacy_player_t *)player;
        PLAYER_INSTANCE_CHECK(player);
        PLAYER_NULL_ARG_CHECK(callback);
 
@@ -296,9 +296,9 @@ static int __set_callback(muse_player_event_e type, player_h player, void *callb
        return PLAYER_ERROR_NONE;
 }
 
-static int __unset_callback(muse_player_event_e type, player_h player)
+static int __unset_callback(muse_player_event_e type, legacy_player_h player)
 {
-       player_s *handle = (player_s *)player;
+       legacy_player_t *handle = (legacy_player_t *)player;
        PLAYER_INSTANCE_CHECK(player);
        handle->user_cb[type] = NULL;
        handle->user_data[type] = NULL;
@@ -309,7 +309,7 @@ static int __unset_callback(muse_player_event_e type, player_h player)
 static void __message_cb_loop(void *data)
 {
        bool running = true;
-       player_s *handle = (player_s *)data;
+       legacy_player_t *handle = (legacy_player_t *)data;
        if (!handle) {
                LOGE("null handle in __message_cb_loop");
                return;
@@ -399,7 +399,7 @@ static void __message_cb_loop(void *data)
        return;
 }
 
-static player_state_e __convert_player_state(MMPlayerStateType state)
+static player_state_e __convert_player_state(mmplayer_state_e state)
 {
        if (state == MM_PLAYER_STATE_NONE)
                return PLAYER_STATE_NONE;
@@ -409,7 +409,7 @@ static player_state_e __convert_player_state(MMPlayerStateType state)
 
 static int __msg_callback(int message, void *param, void *user_data)
 {
-       player_s *handle = (player_s *)user_data;
+       legacy_player_t *handle = (legacy_player_t *)user_data;
        MMMessageParamType *msg = (MMMessageParamType *)param;
        player_error_e err_code = PLAYER_ERROR_NONE;
 
@@ -484,7 +484,7 @@ static int __msg_callback(int message, void *param, void *user_data)
                break;
        case MM_MESSAGE_VIDEO_CAPTURED: /* 0x110 */
        {
-               MMPlayerVideoCapture *capture = (MMPlayerVideoCapture *)msg->data;
+               mmplayer_video_capture_t *capture = (mmplayer_video_capture_t *)msg->data;
 
                if (handle->user_cb[MUSE_PLAYER_EVENT_TYPE_CAPTURE]) {
                        if (!capture || !capture->data) {
@@ -589,15 +589,15 @@ bool _check_enabled_user_cb_lock(int type)
  * Public Implementation
  */
 
-int legacy_player_create(player_h *player)
+int legacy_player_create(legacy_player_h *player)
 {
-       player_s *handle;
+       legacy_player_t *handle;
        int ret = MM_ERROR_NONE;
 
        PLAYER_INSTANCE_CHECK(player);
        PLAYER_TRACE_BEGIN("MM:PLAYER:CREATE");
 
-       handle = g_try_new0(player_s, 1);
+       handle = g_try_new0(legacy_player_t, 1);
        if (!handle) {
                LOGE("PLAYER_ERROR_OUT_OF_MEMORY");
                return PLAYER_ERROR_OUT_OF_MEMORY;
@@ -613,7 +613,7 @@ int legacy_player_create(player_h *player)
 
        muse_player_event_e type = MUSE_PLAYER_EVENT_TYPE_PREPARE;
 
-       *player = (player_h)handle;
+       *player = (legacy_player_h)handle;
        __player_update_state(handle, PLAYER_INTERNAL_STATE_IDLE);
        handle->display_type = PLAYER_DISPLAY_TYPE_NONE;
        handle->is_display_visible = true;
@@ -638,9 +638,9 @@ int legacy_player_create(player_h *player)
        return PLAYER_ERROR_NONE;
 }
 
-int legacy_player_destroy(player_h player)
+int legacy_player_destroy(legacy_player_h player)
 {
-       player_s *handle = (player_s *)player;
+       legacy_player_t *handle = (legacy_player_t *)player;
        int ret = MM_ERROR_NONE;
 
        LOGI("<Enter: %p>", player);
@@ -701,7 +701,7 @@ int legacy_player_destroy(player_h player)
 
 static void *__prepare_async_thread_func(void *data)
 {
-       player_s *handle = data;
+       legacy_player_t *handle = data;
        int ret = MM_ERROR_NONE;
        LPLAYER_FENTER();
 
@@ -728,9 +728,9 @@ static void *__prepare_async_thread_func(void *data)
        return NULL;
 }
 
-int legacy_player_prepare_async(player_h player, player_prepared_cb callback, void *user_data)
+int legacy_player_prepare_async(legacy_player_h player, player_prepared_cb callback, void *user_data)
 {
-       player_s *handle = (player_s *)player;
+       legacy_player_t *handle = (legacy_player_t *)player;
        int ret = MM_ERROR_NONE;
        int visible = 0;
        int value = 0;
@@ -819,11 +819,11 @@ ERROR:
        return __player_convert_error_code(ret, (char *)__FUNCTION__);
 }
 
-int legacy_player_prepare(player_h player)
+int legacy_player_prepare(legacy_player_h player)
 {
        int ret = MM_ERROR_NONE;
        int visible = 0;
-       player_s *handle = (player_s *)player;
+       legacy_player_t *handle = (legacy_player_t *)player;
 
        LPLAYER_FENTER();
        PLAYER_TRACE_BEGIN("MM:PLAYER:PREPARE");
@@ -878,9 +878,9 @@ int legacy_player_prepare(player_h player)
        return PLAYER_ERROR_NONE;
 }
 
-int legacy_player_unprepare(player_h player)
+int legacy_player_unprepare(legacy_player_h player)
 {
-       player_s *handle = (player_s *)player;
+       legacy_player_t *handle = (legacy_player_t *)player;
        int ret = MM_ERROR_NONE;
 
        LPLAYER_FENTER();
@@ -927,9 +927,9 @@ int legacy_player_unprepare(player_h player)
        return PLAYER_ERROR_NONE;
 }
 
-int legacy_player_set_uri(player_h player, const char *uri)
+int legacy_player_set_uri(legacy_player_h player, const char *uri)
 {
-       player_s *handle = (player_s *)player;
+       legacy_player_t *handle = (legacy_player_t *)player;
        int ret = MM_ERROR_NONE;
        PLAYER_INSTANCE_CHECK(player);
        PLAYER_NULL_ARG_CHECK(uri);
@@ -943,9 +943,9 @@ int legacy_player_set_uri(player_h player, const char *uri)
        return PLAYER_ERROR_NONE;
 }
 
-int legacy_player_set_memory_buffer(player_h player, const void *data, int size)
+int legacy_player_set_memory_buffer(legacy_player_h player, const void *data, int size)
 {
-       player_s *handle = (player_s *)player;
+       legacy_player_t *handle = (legacy_player_t *)player;
        char uri[PATH_MAX];
        int ret = MM_ERROR_NONE;
        PLAYER_INSTANCE_CHECK(player);
@@ -963,19 +963,19 @@ int legacy_player_set_memory_buffer(player_h player, const void *data, int size)
        return PLAYER_ERROR_NONE;
 }
 
-int legacy_player_get_state(player_h player, player_state_e *state)
+int legacy_player_get_state(legacy_player_h player, player_state_e *state)
 {
-       player_s *handle = (player_s *)player;
+       legacy_player_t *handle = (legacy_player_t *)player;
        PLAYER_INSTANCE_CHECK(player);
        PLAYER_NULL_ARG_CHECK(state);
        *state = handle->state;
        return PLAYER_ERROR_NONE;
 }
 
-int legacy_player_set_volume(player_h player, float left, float right)
+int legacy_player_set_volume(legacy_player_h player, float left, float right)
 {
-       player_s *handle = (player_s *)player;
-       MMPlayerVolumeType vol;
+       legacy_player_t *handle = (legacy_player_t *)player;
+       mmplayer_volume_type_t vol;
        int ret = MM_ERROR_NONE;
        PLAYER_INSTANCE_CHECK(player);
        PLAYER_CHECK_CONDITION(left >= 0 && left <= 1.0, PLAYER_ERROR_INVALID_PARAMETER, "PLAYER_ERROR_INVALID_PARAMETER");
@@ -990,10 +990,10 @@ int legacy_player_set_volume(player_h player, float left, float right)
        return PLAYER_ERROR_NONE;
 }
 
-int legacy_player_get_volume(player_h player, float *left, float *right)
+int legacy_player_get_volume(legacy_player_h player, float *left, float *right)
 {
-       player_s *handle = (player_s *)player;
-       MMPlayerVolumeType vol;
+       legacy_player_t *handle = (legacy_player_t *)player;
+       mmplayer_volume_type_t vol;
        int ret = MM_ERROR_NONE;
        PLAYER_INSTANCE_CHECK(player);
        PLAYER_NULL_ARG_CHECK(left);
@@ -1009,9 +1009,9 @@ int legacy_player_get_volume(player_h player, float *left, float *right)
        return PLAYER_ERROR_NONE;
 }
 
-int legacy_player_set_sound_stream_info(player_h player, sound_stream_info_h stream_info)
+int legacy_player_set_sound_stream_info(legacy_player_h player, sound_stream_info_h stream_info)
 {
-       player_s *handle = (player_s *)player;
+       legacy_player_t *handle = (legacy_player_t *)player;
        int ret = MM_ERROR_NONE;
        bool is_available = false;
        PLAYER_INSTANCE_CHECK(player);
@@ -1041,9 +1041,9 @@ int legacy_player_set_sound_stream_info(player_h player, sound_stream_info_h str
        return PLAYER_ERROR_NONE;
 }
 
-int legacy_player_set_audio_latency_mode(player_h player, audio_latency_mode_e latency_mode)
+int legacy_player_set_audio_latency_mode(legacy_player_h player, audio_latency_mode_e latency_mode)
 {
-       player_s *handle = (player_s *)player;
+       legacy_player_t *handle = (legacy_player_t *)player;
        int ret = MM_ERROR_NONE;
        PLAYER_INSTANCE_CHECK(player);
 
@@ -1054,9 +1054,9 @@ int legacy_player_set_audio_latency_mode(player_h player, audio_latency_mode_e l
        return PLAYER_ERROR_NONE;
 }
 
-int legacy_player_get_audio_latency_mode(player_h player, audio_latency_mode_e *latency_mode)
+int legacy_player_get_audio_latency_mode(legacy_player_h player, audio_latency_mode_e *latency_mode)
 {
-       player_s *handle = (player_s *)player;
+       legacy_player_t *handle = (legacy_player_t *)player;
        int ret = MM_ERROR_NONE;
        PLAYER_INSTANCE_CHECK(player);
        PLAYER_NULL_ARG_CHECK(latency_mode);
@@ -1068,9 +1068,9 @@ int legacy_player_get_audio_latency_mode(player_h player, audio_latency_mode_e *
        return PLAYER_ERROR_NONE;
 }
 
-int legacy_player_start(player_h player)
+int legacy_player_start(legacy_player_h player)
 {
-       player_s *handle = (player_s *)player;
+       legacy_player_t *handle = (legacy_player_t *)player;
        int ret = MM_ERROR_NONE;
 
        LPLAYER_FENTER();
@@ -1105,9 +1105,9 @@ int legacy_player_start(player_h player)
        return PLAYER_ERROR_NONE;
 }
 
-int legacy_player_stop(player_h player)
+int legacy_player_stop(legacy_player_h player)
 {
-       player_s *handle = (player_s *)player;
+       legacy_player_t *handle = (legacy_player_t *)player;
        int ret = MM_ERROR_NONE;
 
        LPLAYER_FENTER();
@@ -1140,9 +1140,9 @@ int legacy_player_stop(player_h player)
        return PLAYER_ERROR_INVALID_STATE;
 }
 
-int legacy_player_pause(player_h player)
+int legacy_player_pause(legacy_player_h player)
 {
-       player_s *handle = (player_s *)player;
+       legacy_player_t *handle = (legacy_player_t *)player;
        int ret = MM_ERROR_NONE;
 
        LPLAYER_FENTER();
@@ -1159,9 +1159,9 @@ int legacy_player_pause(player_h player)
        return PLAYER_ERROR_NONE;
 }
 
-int legacy_player_set_play_position(player_h player, int64_t nanoseconds, bool accurate, player_seek_completed_cb callback, void *user_data)
+int legacy_player_set_play_position(legacy_player_h player, int64_t nanoseconds, bool accurate, player_seek_completed_cb callback, void *user_data)
 {
-       player_s *handle = (player_s *)player;
+       legacy_player_t *handle = (legacy_player_t *)player;
        int ret = MM_ERROR_NONE;
        int accurated = accurate ? 1 : 0;
 
@@ -1198,9 +1198,9 @@ int legacy_player_set_play_position(player_h player, int64_t nanoseconds, bool a
        return PLAYER_ERROR_NONE;
 }
 
-int legacy_player_get_play_position(player_h player, int64_t *nanoseconds)
+int legacy_player_get_play_position(legacy_player_h player, int64_t *nanoseconds)
 {
-       player_s *handle = (player_s *)player;
+       legacy_player_t *handle = (legacy_player_t *)player;
        int ret = MM_ERROR_NONE;
        int64_t pos = 0;
        PLAYER_INSTANCE_CHECK(player);
@@ -1232,9 +1232,9 @@ int legacy_player_get_play_position(player_h player, int64_t *nanoseconds)
        return PLAYER_ERROR_NONE;
 }
 
-int legacy_player_set_mute(player_h player, bool muted)
+int legacy_player_set_mute(legacy_player_h player, bool muted)
 {
-       player_s *handle = (player_s *)player;
+       legacy_player_t *handle = (legacy_player_t *)player;
        int ret = MM_ERROR_NONE;
        PLAYER_INSTANCE_CHECK(player);
 
@@ -1245,9 +1245,9 @@ int legacy_player_set_mute(player_h player, bool muted)
        return PLAYER_ERROR_NONE;
 }
 
-int legacy_player_is_muted(player_h player, bool *muted)
+int legacy_player_is_muted(legacy_player_h player, bool *muted)
 {
-       player_s *handle = (player_s *)player;
+       legacy_player_t *handle = (legacy_player_t *)player;
        int _mute;
        int ret = MM_ERROR_NONE;
        PLAYER_INSTANCE_CHECK(player);
@@ -1262,9 +1262,9 @@ int legacy_player_is_muted(player_h player, bool *muted)
        return PLAYER_ERROR_NONE;
 }
 
-int legacy_player_set_looping(player_h player, bool looping)
+int legacy_player_set_looping(legacy_player_h player, bool looping)
 {
-       player_s *handle = (player_s *)player;
+       legacy_player_t *handle = (legacy_player_t *)player;
        int ret = MM_ERROR_NONE;
        int value = 0;
        PLAYER_INSTANCE_CHECK(player);
@@ -1279,9 +1279,9 @@ int legacy_player_set_looping(player_h player, bool looping)
        return PLAYER_ERROR_NONE;
 }
 
-int legacy_player_is_looping(player_h player, bool *looping)
+int legacy_player_is_looping(legacy_player_h player, bool *looping)
 {
-       player_s *handle = (player_s *)player;
+       legacy_player_t *handle = (legacy_player_t *)player;
        int ret = MM_ERROR_NONE;
        int count;
        PLAYER_INSTANCE_CHECK(player);
@@ -1296,9 +1296,9 @@ int legacy_player_is_looping(player_h player, bool *looping)
        return PLAYER_ERROR_NONE;
 }
 
-int legacy_player_get_duration(player_h player, int64_t *duration)
+int legacy_player_get_duration(legacy_player_h player, int64_t *duration)
 {
-       player_s *handle = (player_s *)player;
+       legacy_player_t *handle = (legacy_player_t *)player;
        int ret = MM_ERROR_NONE;
        PLAYER_INSTANCE_CHECK(player);
        PLAYER_NULL_ARG_CHECK(duration);
@@ -1316,9 +1316,9 @@ int legacy_player_get_duration(player_h player, int64_t *duration)
        return PLAYER_ERROR_NONE;
 }
 
-int legacy_player_set_display_mode(player_h player, player_display_mode_e mode)
+int legacy_player_set_display_mode(legacy_player_h player, player_display_mode_e mode)
 {
-       player_s *handle = (player_s *)player;
+       legacy_player_t *handle = (legacy_player_t *)player;
        int ret = MM_ERROR_NONE;
 
        LOGI("<ENTER: mode:%d>", mode);
@@ -1331,9 +1331,9 @@ int legacy_player_set_display_mode(player_h player, player_display_mode_e mode)
        return PLAYER_ERROR_NONE;
 }
 
-int legacy_player_get_display_mode(player_h player, player_display_mode_e *mode)
+int legacy_player_get_display_mode(legacy_player_h player, player_display_mode_e *mode)
 {
-       player_s *handle = (player_s *)player;
+       legacy_player_t *handle = (legacy_player_t *)player;
        int ret = MM_ERROR_NONE;
        PLAYER_INSTANCE_CHECK(player);
        PLAYER_NULL_ARG_CHECK(mode);
@@ -1345,9 +1345,9 @@ int legacy_player_get_display_mode(player_h player, player_display_mode_e *mode)
        return PLAYER_ERROR_NONE;
 }
 
-int legacy_player_set_playback_rate(player_h player, float rate)
+int legacy_player_set_playback_rate(legacy_player_h player, float rate)
 {
-       player_s *handle = (player_s *)player;
+       legacy_player_t *handle = (legacy_player_t *)player;
        int ret = MM_ERROR_NONE;
        LOGI("<ENTER: rate %0.1f>", rate);
        PLAYER_INSTANCE_CHECK(player);
@@ -1376,9 +1376,9 @@ int legacy_player_set_playback_rate(player_h player, float rate)
        return ret;
 }
 
-int legacy_player_set_display_rotation(player_h player, player_display_rotation_e rotation)
+int legacy_player_set_display_rotation(legacy_player_h player, player_display_rotation_e rotation)
 {
-       player_s *handle = (player_s *)player;
+       legacy_player_t *handle = (legacy_player_t *)player;
        int ret = MM_ERROR_NONE;
        PLAYER_INSTANCE_CHECK(player);
 
@@ -1389,9 +1389,9 @@ int legacy_player_set_display_rotation(player_h player, player_display_rotation_
        return PLAYER_ERROR_NONE;
 }
 
-int legacy_player_get_display_rotation(player_h player, player_display_rotation_e *rotation)
+int legacy_player_get_display_rotation(legacy_player_h player, player_display_rotation_e *rotation)
 {
-       player_s *handle = (player_s *)player;
+       legacy_player_t *handle = (legacy_player_t *)player;
        int ret = MM_ERROR_NONE;
        PLAYER_INSTANCE_CHECK(player);
        PLAYER_NULL_ARG_CHECK(rotation);
@@ -1403,9 +1403,9 @@ int legacy_player_get_display_rotation(player_h player, player_display_rotation_
        return PLAYER_ERROR_NONE;
 }
 
-int legacy_player_set_display_visible(player_h player, bool visible)
+int legacy_player_set_display_visible(legacy_player_h player, bool visible)
 {
-       player_s *handle = (player_s *)player;
+       legacy_player_t *handle = (legacy_player_t *)player;
        int ret = MM_ERROR_NONE;
        int value = 0;
        PLAYER_INSTANCE_CHECK(player);
@@ -1421,9 +1421,9 @@ int legacy_player_set_display_visible(player_h player, bool visible)
        return PLAYER_ERROR_NONE;
 }
 
-int legacy_player_is_display_visible(player_h player, bool *visible)
+int legacy_player_is_display_visible(legacy_player_h player, bool *visible)
 {
-       player_s *handle = (player_s *)player;
+       legacy_player_t *handle = (legacy_player_t *)player;
        int ret = MM_ERROR_NONE;
        int value;
        PLAYER_INSTANCE_CHECK(player);
@@ -1438,9 +1438,9 @@ int legacy_player_is_display_visible(player_h player, bool *visible)
        return PLAYER_ERROR_NONE;
 }
 
-int legacy_player_get_content_info(player_h player, player_content_info_e key, char **value)
+int legacy_player_get_content_info(legacy_player_h player, player_content_info_e key, char **value)
 {
-       player_s *handle = (player_s *)player;
+       legacy_player_t *handle = (legacy_player_t *)player;
        int ret = MM_ERROR_NONE;
        char *attr = NULL;
        char *val = NULL;
@@ -1494,9 +1494,9 @@ int legacy_player_get_content_info(player_h player, player_content_info_e key, c
        return PLAYER_ERROR_NONE;
 }
 
-int legacy_player_get_codec_info(player_h player, char **audio_codec, char **video_codec)
+int legacy_player_get_codec_info(legacy_player_h player, char **audio_codec, char **video_codec)
 {
-       player_s *handle = (player_s *)player;
+       legacy_player_t *handle = (legacy_player_t *)player;
        int ret = MM_ERROR_NONE;
        char *audio = NULL;
        int audio_len = 0;
@@ -1531,9 +1531,9 @@ int legacy_player_get_codec_info(player_h player, char **audio_codec, char **vid
        return PLAYER_ERROR_NONE;
 }
 
-int legacy_player_get_audio_stream_info(player_h player, int *sample_rate, int *channel, int *bit_rate)
+int legacy_player_get_audio_stream_info(legacy_player_h player, int *sample_rate, int *channel, int *bit_rate)
 {
-       player_s *handle = (player_s *)player;
+       legacy_player_t *handle = (legacy_player_t *)player;
        int ret = MM_ERROR_NONE;
        PLAYER_INSTANCE_CHECK(player);
        PLAYER_NULL_ARG_CHECK(sample_rate);
@@ -1551,9 +1551,9 @@ int legacy_player_get_audio_stream_info(player_h player, int *sample_rate, int *
        return PLAYER_ERROR_NONE;
 }
 
-int legacy_player_get_video_stream_info(player_h player, int *fps, int *bit_rate)
+int legacy_player_get_video_stream_info(legacy_player_h player, int *fps, int *bit_rate)
 {
-       player_s *handle = (player_s *)player;
+       legacy_player_t *handle = (legacy_player_t *)player;
        int ret = MM_ERROR_NONE;
        PLAYER_INSTANCE_CHECK(player);
        PLAYER_NULL_ARG_CHECK(fps);
@@ -1570,9 +1570,9 @@ int legacy_player_get_video_stream_info(player_h player, int *fps, int *bit_rate
        return PLAYER_ERROR_NONE;
 }
 
-int legacy_player_get_video_size(player_h player, int *width, int *height)
+int legacy_player_get_video_size(legacy_player_h player, int *width, int *height)
 {
-       player_s *handle = (player_s *)player;
+       legacy_player_t *handle = (legacy_player_t *)player;
        int ret = MM_ERROR_NONE;
        int w;
        int h;
@@ -1593,9 +1593,9 @@ int legacy_player_get_video_size(player_h player, int *width, int *height)
        return PLAYER_ERROR_NONE;
 }
 
-int legacy_player_get_album_art(player_h player, void **album_art, int *size)
+int legacy_player_get_album_art(legacy_player_h player, void **album_art, int *size)
 {
-       player_s *handle = (player_s *)player;
+       legacy_player_t *handle = (legacy_player_t *)player;
        int ret = MM_ERROR_NONE;
        PLAYER_INSTANCE_CHECK(player);
        PLAYER_NULL_ARG_CHECK(size);
@@ -1611,9 +1611,9 @@ int legacy_player_get_album_art(player_h player, void **album_art, int *size)
        return PLAYER_ERROR_NONE;
 }
 
-int legacy_player_audio_effect_get_equalizer_bands_count(player_h player, int *count)
+int legacy_player_audio_effect_get_equalizer_bands_count(legacy_player_h player, int *count)
 {
-       player_s *handle = (player_s *)player;
+       legacy_player_t *handle = (legacy_player_t *)player;
        int ret = MM_ERROR_NONE;
        PLAYER_INSTANCE_CHECK(player);
        PLAYER_NULL_ARG_CHECK(count);
@@ -1625,9 +1625,9 @@ int legacy_player_audio_effect_get_equalizer_bands_count(player_h player, int *c
        return PLAYER_ERROR_NONE;
 }
 
-int legacy_player_audio_effect_set_equalizer_all_bands(player_h player, int *band_levels, int length)
+int legacy_player_audio_effect_set_equalizer_all_bands(legacy_player_h player, int *band_levels, int length)
 {
-       player_s *handle = (player_s *)player;
+       legacy_player_t *handle = (legacy_player_t *)player;
        int ret = MM_ERROR_NONE;
        PLAYER_INSTANCE_CHECK(player);
        PLAYER_NULL_ARG_CHECK(band_levels);
@@ -1640,9 +1640,9 @@ int legacy_player_audio_effect_set_equalizer_all_bands(player_h player, int *ban
        return (ret == MM_ERROR_NONE) ? PLAYER_ERROR_NONE : __player_convert_error_code(ret, (char *)__FUNCTION__);
 }
 
-int legacy_player_audio_effect_set_equalizer_band_level(player_h player, int index, int level)
+int legacy_player_audio_effect_set_equalizer_band_level(legacy_player_h player, int index, int level)
 {
-       player_s *handle = (player_s *)player;
+       legacy_player_t *handle = (legacy_player_t *)player;
        int ret = MM_ERROR_NONE;
        PLAYER_INSTANCE_CHECK(player);
 
@@ -1657,9 +1657,9 @@ int legacy_player_audio_effect_set_equalizer_band_level(player_h player, int ind
        return PLAYER_ERROR_NONE;
 }
 
-int legacy_player_audio_effect_get_equalizer_band_level(player_h player, int index, int *level)
+int legacy_player_audio_effect_get_equalizer_band_level(legacy_player_h player, int index, int *level)
 {
-       player_s *handle = (player_s *)player;
+       legacy_player_t *handle = (legacy_player_t *)player;
        int ret = MM_ERROR_NONE;
        PLAYER_INSTANCE_CHECK(player);
        PLAYER_NULL_ARG_CHECK(level);
@@ -1671,9 +1671,9 @@ int legacy_player_audio_effect_get_equalizer_band_level(player_h player, int ind
        return PLAYER_ERROR_NONE;
 }
 
-int legacy_player_audio_effect_get_equalizer_level_range(player_h player, int *min, int *max)
+int legacy_player_audio_effect_get_equalizer_level_range(legacy_player_h player, int *min, int *max)
 {
-       player_s *handle = (player_s *)player;
+       legacy_player_t *handle = (legacy_player_t *)player;
        int ret = MM_ERROR_NONE;
        PLAYER_INSTANCE_CHECK(player);
        PLAYER_NULL_ARG_CHECK(min);
@@ -1686,9 +1686,9 @@ int legacy_player_audio_effect_get_equalizer_level_range(player_h player, int *m
        return PLAYER_ERROR_NONE;
 }
 
-int legacy_player_audio_effect_get_equalizer_band_frequency(player_h player, int index, int *frequency)
+int legacy_player_audio_effect_get_equalizer_band_frequency(legacy_player_h player, int index, int *frequency)
 {
-       player_s *handle = (player_s *)player;
+       legacy_player_t *handle = (legacy_player_t *)player;
        int ret = MM_ERROR_NONE;
        PLAYER_INSTANCE_CHECK(player);
        PLAYER_NULL_ARG_CHECK(frequency);
@@ -1700,9 +1700,9 @@ int legacy_player_audio_effect_get_equalizer_band_frequency(player_h player, int
        return PLAYER_ERROR_NONE;
 }
 
-int legacy_player_audio_effect_get_equalizer_band_frequency_range(player_h player, int index, int *range)
+int legacy_player_audio_effect_get_equalizer_band_frequency_range(legacy_player_h player, int index, int *range)
 {
-       player_s *handle = (player_s *)player;
+       legacy_player_t *handle = (legacy_player_t *)player;
        int ret = MM_ERROR_NONE;
        PLAYER_INSTANCE_CHECK(player);
        PLAYER_NULL_ARG_CHECK(range);
@@ -1714,9 +1714,9 @@ int legacy_player_audio_effect_get_equalizer_band_frequency_range(player_h playe
        return PLAYER_ERROR_NONE;
 }
 
-int legacy_player_audio_effect_equalizer_clear(player_h player)
+int legacy_player_audio_effect_equalizer_clear(legacy_player_h player)
 {
-       player_s *handle = (player_s *)player;
+       legacy_player_t *handle = (legacy_player_t *)player;
        int ret = MM_ERROR_NONE;
        PLAYER_INSTANCE_CHECK(player);
 
@@ -1731,9 +1731,9 @@ int legacy_player_audio_effect_equalizer_clear(player_h player)
        return PLAYER_ERROR_NONE;
 }
 
-int legacy_player_audio_effect_equalizer_is_available(player_h player, bool *available)
+int legacy_player_audio_effect_equalizer_is_available(legacy_player_h player, bool *available)
 {
-       player_s *handle = (player_s *)player;
+       legacy_player_t *handle = (legacy_player_t *)player;
        int ret = MM_ERROR_NONE;
        PLAYER_INSTANCE_CHECK(player);
        PLAYER_NULL_ARG_CHECK(available);
@@ -1751,9 +1751,9 @@ int legacy_player_audio_effect_equalizer_is_available(player_h player, bool *ava
        return PLAYER_ERROR_NONE;
 }
 
-int legacy_player_set_subtitle_path(player_h player, const char *path)
+int legacy_player_set_subtitle_path(legacy_player_h player, const char *path)
 {
-       player_s *handle = (player_s *)player;
+       legacy_player_t *handle = (legacy_player_t *)player;
        int ret = MM_ERROR_NONE;
 
        LPLAYER_FENTER();
@@ -1770,10 +1770,10 @@ int legacy_player_set_subtitle_path(player_h player, const char *path)
        return PLAYER_ERROR_NONE;
 }
 
-int legacy_player_set_subtitle_position_offset(player_h player, int millisecond)
+int legacy_player_set_subtitle_position_offset(legacy_player_h player, int millisecond)
 {
        /* PLAYER_CHECK_CONDITION(millisecond>=0  ,PLAYER_ERROR_INVALID_PARAMETER ,"PLAYER_ERROR_INVALID_PARAMETER" ); */
-       player_s *handle = (player_s *)player;
+       legacy_player_t *handle = (legacy_player_t *)player;
        int ret = MM_ERROR_NONE;
        PLAYER_INSTANCE_CHECK(player);
        if (!__player_state_validate(handle, PLAYER_STATE_PLAYING)) {
@@ -1781,16 +1781,16 @@ int legacy_player_set_subtitle_position_offset(player_h player, int millisecond)
                return PLAYER_ERROR_INVALID_STATE;
        }
 
-       ret = mm_player_adjust_subtitle_position(handle->mm_handle, MM_PLAYER_POS_FORMAT_TIME, millisecond);
+       ret = mm_player_adjust_subtitle_position(handle->mm_handle, millisecond);
        if (ret != MM_ERROR_NONE)
                return __player_convert_error_code(ret, (char *)__FUNCTION__);
 
        return PLAYER_ERROR_NONE;
 }
 
-int legacy_player_capture_video(player_h player, player_video_captured_cb callback, void *user_data)
+int legacy_player_capture_video(legacy_player_h player, player_video_captured_cb callback, void *user_data)
 {
-       player_s *handle = (player_s *)player;
+       legacy_player_t *handle = (legacy_player_t *)player;
        int ret = MM_ERROR_NONE;
 
        LPLAYER_FENTER();
@@ -1829,9 +1829,9 @@ int legacy_player_capture_video(player_h player, player_video_captured_cb callba
        return PLAYER_ERROR_INVALID_STATE;
 }
 
-int legacy_player_set_streaming_cookie(player_h player, const char *cookie, int size)
+int legacy_player_set_streaming_cookie(legacy_player_h player, const char *cookie, int size)
 {
-       player_s *handle = (player_s *)player;
+       legacy_player_t *handle = (legacy_player_t *)player;
        int ret = MM_ERROR_NONE;
        PLAYER_INSTANCE_CHECK(player);
        PLAYER_NULL_ARG_CHECK(cookie);
@@ -1845,9 +1845,9 @@ int legacy_player_set_streaming_cookie(player_h player, const char *cookie, int
        return PLAYER_ERROR_NONE;
 }
 
-int legacy_player_set_streaming_user_agent(player_h player, const char *user_agent, int size)
+int legacy_player_set_streaming_user_agent(legacy_player_h player, const char *user_agent, int size)
 {
-       player_s *handle = (player_s *)player;
+       legacy_player_t *handle = (legacy_player_t *)player;
        int ret = MM_ERROR_NONE;
        PLAYER_INSTANCE_CHECK(player);
        PLAYER_NULL_ARG_CHECK(user_agent);
@@ -1861,9 +1861,9 @@ int legacy_player_set_streaming_user_agent(player_h player, const char *user_age
        return PLAYER_ERROR_NONE;
 }
 
-int legacy_player_get_streaming_download_progress(player_h player, int *start_pos, int *end_pos)
+int legacy_player_get_streaming_download_progress(legacy_player_h player, int *start_pos, int *end_pos)
 {
-       player_s *handle = (player_s *)player;
+       legacy_player_t *handle = (legacy_player_t *)player;
        int ret = MM_ERROR_NONE;
        PLAYER_INSTANCE_CHECK(player);
        PLAYER_NULL_ARG_CHECK(start_pos && end_pos);
@@ -1879,71 +1879,71 @@ int legacy_player_get_streaming_download_progress(player_h player, int *start_po
        return PLAYER_ERROR_NONE;
 }
 
-int legacy_player_set_completed_cb(player_h player, player_completed_cb callback, void *user_data)
+int legacy_player_set_completed_cb(legacy_player_h player, player_completed_cb callback, void *user_data)
 {
        return __set_callback(MUSE_PLAYER_EVENT_TYPE_COMPLETE, player, callback, user_data);
 }
 
-int legacy_player_unset_completed_cb(player_h player)
+int legacy_player_unset_completed_cb(legacy_player_h player)
 {
        return __unset_callback(MUSE_PLAYER_EVENT_TYPE_COMPLETE, player);
 }
 
 #ifdef TIZEN_FEATURE_EVAS_RENDERER
-int legacy_player_set_retrieve_buffer_cb(player_h player, player_retrieve_buffer_cb callback, void *user_data)
+int legacy_player_set_retrieve_buffer_cb(legacy_player_h player, player_retrieve_buffer_cb callback, void *user_data)
 {
        return __set_callback(MUSE_PLAYER_EVENT_TYPE_RETURN_BUFFER, player, callback, user_data);
 }
 
-int legacy_player_unset_retrieve_buffer_cb(player_h player)
+int legacy_player_unset_retrieve_buffer_cb(legacy_player_h player)
 {
        return __unset_callback(MUSE_PLAYER_EVENT_TYPE_RETURN_BUFFER, player);
 }
 #endif
 
-int legacy_player_set_interrupted_cb(player_h player, player_interrupted_cb callback, void *user_data)
+int legacy_player_set_interrupted_cb(legacy_player_h player, player_interrupted_cb callback, void *user_data)
 {
        return __set_callback(MUSE_PLAYER_EVENT_TYPE_INTERRUPT, player, callback, user_data);
 }
 
-int legacy_player_unset_interrupted_cb(player_h player)
+int legacy_player_unset_interrupted_cb(legacy_player_h player)
 {
        return __unset_callback(MUSE_PLAYER_EVENT_TYPE_INTERRUPT, player);
 }
 
-int legacy_player_set_error_cb(player_h player, player_error_cb callback, void *user_data)
+int legacy_player_set_error_cb(legacy_player_h player, player_error_cb callback, void *user_data)
 {
        return __set_callback(MUSE_PLAYER_EVENT_TYPE_ERROR, player, callback, user_data);
 }
 
-int legacy_player_unset_error_cb(player_h player)
+int legacy_player_unset_error_cb(legacy_player_h player)
 {
        return __unset_callback(MUSE_PLAYER_EVENT_TYPE_ERROR, player);
 }
 
-int legacy_player_set_buffering_cb(player_h player, player_buffering_cb callback, void *user_data)
+int legacy_player_set_buffering_cb(legacy_player_h player, player_buffering_cb callback, void *user_data)
 {
        return __set_callback(MUSE_PLAYER_EVENT_TYPE_BUFFERING, player, callback, user_data);
 }
 
-int legacy_player_unset_buffering_cb(player_h player)
+int legacy_player_unset_buffering_cb(legacy_player_h player)
 {
        return __unset_callback(MUSE_PLAYER_EVENT_TYPE_BUFFERING, player);
 }
 
-int legacy_player_set_subtitle_updated_cb(player_h player, player_subtitle_updated_cb callback, void *user_data)
+int legacy_player_set_subtitle_updated_cb(legacy_player_h player, player_subtitle_updated_cb callback, void *user_data)
 {
        return __set_callback(MUSE_PLAYER_EVENT_TYPE_SUBTITLE, player, callback, user_data);
 }
 
-int legacy_player_unset_subtitle_updated_cb(player_h player)
+int legacy_player_unset_subtitle_updated_cb(legacy_player_h player)
 {
        return __unset_callback(MUSE_PLAYER_EVENT_TYPE_SUBTITLE, player);
 }
 
-int legacy_player_release_video_stream_bo(player_h player, void *bo)
+int legacy_player_release_video_stream_bo(legacy_player_h player, void *bo)
 {
-       player_s *handle = (player_s *)player;
+       legacy_player_t *handle = (legacy_player_t *)player;
        PLAYER_INSTANCE_CHECK(player);
 
        LOGD("ENTER %p %p", player, bo);
@@ -1955,9 +1955,9 @@ int legacy_player_release_video_stream_bo(player_h player, void *bo)
        return PLAYER_ERROR_NONE;
 }
 
-int legacy_player_set_media_packet_video_frame_decoded_cb(player_h player, legacy_player_media_packet_video_decoded_cb callback, void *user_data)
+int legacy_player_set_media_packet_video_frame_decoded_cb(legacy_player_h player, legacy_player_media_packet_video_decoded_cb callback, void *user_data)
 {
-       player_s *handle = (player_s *)player;
+       legacy_player_t *handle = (legacy_player_t *)player;
        int ret = MM_ERROR_NONE;
        PLAYER_INSTANCE_CHECK(player);
        PLAYER_NULL_ARG_CHECK(callback);
@@ -1972,7 +1972,7 @@ int legacy_player_set_media_packet_video_frame_decoded_cb(player_h player, legac
 
 static bool __video_stream_changed_callback(void *user_data)
 {
-       player_s *handle = (player_s *)user_data;
+       legacy_player_t *handle = (legacy_player_t *)user_data;
        int ret = MM_ERROR_NONE;
        muse_player_event_e event_type = MUSE_PLAYER_EVENT_TYPE_VIDEO_STREAM_CHANGED;
 
@@ -1998,9 +1998,9 @@ static bool __video_stream_changed_callback(void *user_data)
        return false;
 }
 
-int legacy_player_set_video_stream_changed_cb(player_h player, player_video_stream_changed_cb callback, void *user_data)
+int legacy_player_set_video_stream_changed_cb(legacy_player_h player, player_video_stream_changed_cb callback, void *user_data)
 {
-       player_s *handle = (player_s *)player;
+       legacy_player_t *handle = (legacy_player_t *)player;
        int ret = MM_ERROR_NONE;
        PLAYER_INSTANCE_CHECK(player);
        PLAYER_NULL_ARG_CHECK(callback);
@@ -2013,7 +2013,7 @@ int legacy_player_set_video_stream_changed_cb(player_h player, player_video_stre
        return __set_callback(MUSE_PLAYER_EVENT_TYPE_VIDEO_STREAM_CHANGED, player, callback, user_data);
 }
 
-int legacy_player_unset_video_stream_changed_cb(player_h player)
+int legacy_player_unset_video_stream_changed_cb(legacy_player_h player)
 {
        PLAYER_INSTANCE_CHECK(player);
 
@@ -2024,7 +2024,7 @@ int legacy_player_unset_video_stream_changed_cb(player_h player)
 
 static bool __media_stream_buffer_status_callback(player_stream_type_e type, player_media_stream_buffer_status_e status, unsigned long long bytes, void *user_data)
 {
-       player_s *handle = (player_s *)user_data;
+       legacy_player_t *handle = (legacy_player_t *)user_data;
        muse_player_event_e event_type;
 
        if (type == PLAYER_STREAM_TYPE_AUDIO)
@@ -2048,7 +2048,7 @@ static bool __media_stream_buffer_status_callback(player_stream_type_e type, pla
 
 static bool __media_stream_seek_data_callback(player_stream_type_e type, unsigned long long offset, void *user_data)
 {
-       player_s *handle = (player_s *)user_data;
+       legacy_player_t *handle = (legacy_player_t *)user_data;
        muse_player_event_e event_type;
 
        if (type == PLAYER_STREAM_TYPE_AUDIO)
@@ -2070,9 +2070,9 @@ static bool __media_stream_seek_data_callback(player_stream_type_e type, unsigne
        return true;
 }
 
-int legacy_player_set_media_stream_buffer_status_cb(player_h player, player_stream_type_e type, player_media_stream_buffer_status_cb callback, void *user_data)
+int legacy_player_set_media_stream_buffer_status_cb(legacy_player_h player, player_stream_type_e type, player_media_stream_buffer_status_cb callback, void *user_data)
 {
-       player_s *handle = (player_s *)player;
+       legacy_player_t *handle = (legacy_player_t *)player;
        int ret = MM_ERROR_NONE;
        PLAYER_INSTANCE_CHECK(player);
        PLAYER_NULL_ARG_CHECK(callback);
@@ -2095,7 +2095,7 @@ int legacy_player_set_media_stream_buffer_status_cb(player_h player, player_stre
                return __set_callback(MUSE_PLAYER_EVENT_TYPE_MEDIA_STREAM_AUDIO_BUFFER_STATUS, player, callback, user_data);
 }
 
-int legacy_player_unset_media_stream_buffer_status_cb(player_h player, player_stream_type_e type)
+int legacy_player_unset_media_stream_buffer_status_cb(legacy_player_h player, player_stream_type_e type)
 {
        PLAYER_INSTANCE_CHECK(player);
 
@@ -2109,9 +2109,9 @@ int legacy_player_unset_media_stream_buffer_status_cb(player_h player, player_st
        return PLAYER_ERROR_NONE;
 }
 
-int legacy_player_set_media_stream_seek_cb(player_h player, player_stream_type_e type, player_media_stream_seek_cb callback, void *user_data)
+int legacy_player_set_media_stream_seek_cb(legacy_player_h player, player_stream_type_e type, player_media_stream_seek_cb callback, void *user_data)
 {
-       player_s *handle = (player_s *)player;
+       legacy_player_t *handle = (legacy_player_t *)player;
        int ret = MM_ERROR_NONE;
        PLAYER_INSTANCE_CHECK(player);
        PLAYER_NULL_ARG_CHECK(callback);
@@ -2133,7 +2133,7 @@ int legacy_player_set_media_stream_seek_cb(player_h player, player_stream_type_e
        return __set_callback(MUSE_PLAYER_EVENT_TYPE_MEDIA_STREAM_AUDIO_SEEK, player, callback, user_data);
 }
 
-int legacy_player_unset_media_stream_seek_cb(player_h player, player_stream_type_e type)
+int legacy_player_unset_media_stream_seek_cb(legacy_player_h player, player_stream_type_e type)
 {
        PLAYER_INSTANCE_CHECK(player);
 
@@ -2147,9 +2147,9 @@ int legacy_player_unset_media_stream_seek_cb(player_h player, player_stream_type
        return PLAYER_ERROR_NONE;
 }
 
-int legacy_player_push_media_stream(player_h player, media_packet_h packet)
+int legacy_player_push_media_stream(legacy_player_h player, media_packet_h packet)
 {
-       player_s *handle = (player_s *)player;
+       legacy_player_t *handle = (legacy_player_t *)player;
        int ret = MM_ERROR_NONE;
        PLAYER_INSTANCE_CHECK(player);
 
@@ -2162,9 +2162,9 @@ int legacy_player_push_media_stream(player_h player, media_packet_h packet)
        return PLAYER_ERROR_NONE;
 }
 
-int legacy_player_set_media_stream_info(player_h player, player_stream_type_e type, media_format_h format)
+int legacy_player_set_media_stream_info(legacy_player_h player, player_stream_type_e type, media_format_h format)
 {
-       player_s *handle = (player_s *)player;
+       legacy_player_t *handle = (legacy_player_t *)player;
        int ret = MM_ERROR_NONE;
        PLAYER_INSTANCE_CHECK(player);
        PLAYER_STATE_CHECK(handle, PLAYER_STATE_IDLE);
@@ -2184,9 +2184,9 @@ int legacy_player_set_media_stream_info(player_h player, player_stream_type_e ty
        return PLAYER_ERROR_NONE;
 }
 
-int legacy_player_set_media_stream_buffer_max_size(player_h player, player_stream_type_e type, unsigned long long max_size)
+int legacy_player_set_media_stream_buffer_max_size(legacy_player_h player, player_stream_type_e type, unsigned long long max_size)
 {
-       player_s *handle = (player_s *)player;
+       legacy_player_t *handle = (legacy_player_t *)player;
        int ret = MM_ERROR_NONE;
        PLAYER_INSTANCE_CHECK(player);
        if (!__player_state_validate(handle, PLAYER_STATE_IDLE)) {
@@ -2201,9 +2201,9 @@ int legacy_player_set_media_stream_buffer_max_size(player_h player, player_strea
        return PLAYER_ERROR_NONE;
 }
 
-int legacy_player_get_media_stream_buffer_max_size(player_h player, player_stream_type_e type, unsigned long long *max_size)
+int legacy_player_get_media_stream_buffer_max_size(legacy_player_h player, player_stream_type_e type, unsigned long long *max_size)
 {
-       player_s *handle = (player_s *)player;
+       legacy_player_t *handle = (legacy_player_t *)player;
        int ret = MM_ERROR_NONE;
        unsigned long long _max_size;
        PLAYER_INSTANCE_CHECK(player);
@@ -2217,9 +2217,9 @@ int legacy_player_get_media_stream_buffer_max_size(player_h player, player_strea
        return PLAYER_ERROR_NONE;
 }
 
-int legacy_player_set_media_stream_buffer_min_threshold(player_h player, player_stream_type_e type, unsigned int percent)
+int legacy_player_set_media_stream_buffer_min_threshold(legacy_player_h player, player_stream_type_e type, unsigned int percent)
 {
-       player_s *handle = (player_s *)player;
+       legacy_player_t *handle = (legacy_player_t *)player;
        int ret = MM_ERROR_NONE;
        PLAYER_INSTANCE_CHECK(player);
        if (!__player_state_validate(handle, PLAYER_STATE_IDLE)) {
@@ -2234,9 +2234,9 @@ int legacy_player_set_media_stream_buffer_min_threshold(player_h player, player_
        return PLAYER_ERROR_NONE;
 }
 
-int legacy_player_get_media_stream_buffer_min_threshold(player_h player, player_stream_type_e type, unsigned int *percent)
+int legacy_player_get_media_stream_buffer_min_threshold(legacy_player_h player, player_stream_type_e type, unsigned int *percent)
 {
-       player_s *handle = (player_s *)player;
+       legacy_player_t *handle = (legacy_player_t *)player;
        int ret = MM_ERROR_NONE;
        unsigned int _value;
        PLAYER_INSTANCE_CHECK(player);
@@ -2250,11 +2250,11 @@ int legacy_player_get_media_stream_buffer_min_threshold(player_h player, player_
        return PLAYER_ERROR_NONE;
 }
 
-int legacy_player_get_track_count(player_h player, player_stream_type_e type, int *count)
+int legacy_player_get_track_count(legacy_player_h player, player_stream_type_e type, int *count)
 {
-       player_s *handle = (player_s *)player;
+       legacy_player_t *handle = (legacy_player_t *)player;
        int ret = MM_ERROR_NONE;
-       MMPlayerTrackType track_type = 0;
+       mmplayer_track_type_e track_type = 0;
        PLAYER_INSTANCE_CHECK(player);
        PLAYER_NULL_ARG_CHECK(count);
 
@@ -2282,11 +2282,11 @@ int legacy_player_get_track_count(player_h player, player_stream_type_e type, in
        return PLAYER_ERROR_NONE;
 }
 
-int legacy_player_get_current_track(player_h player, player_stream_type_e type, int *index)
+int legacy_player_get_current_track(legacy_player_h player, player_stream_type_e type, int *index)
 {
-       player_s *handle = (player_s *)player;
+       legacy_player_t *handle = (legacy_player_t *)player;
        int ret = MM_ERROR_NONE;
-       MMPlayerTrackType track_type = 0;
+       mmplayer_track_type_e track_type = 0;
        PLAYER_INSTANCE_CHECK(player);
        PLAYER_NULL_ARG_CHECK(index);
        if (!__player_state_validate(handle, PLAYER_STATE_READY)) {
@@ -2313,11 +2313,11 @@ int legacy_player_get_current_track(player_h player, player_stream_type_e type,
        return PLAYER_ERROR_NONE;
 }
 
-int legacy_player_select_track(player_h player, player_stream_type_e type, int index)
+int legacy_player_select_track(legacy_player_h player, player_stream_type_e type, int index)
 {
-       player_s *handle = (player_s *)player;
+       legacy_player_t *handle = (legacy_player_t *)player;
        int ret = MM_ERROR_NONE;
-       MMPlayerTrackType track_type = 0;
+       mmplayer_track_type_e track_type = 0;
 
        LPLAYER_FENTER();
        PLAYER_INSTANCE_CHECK(player);
@@ -2347,11 +2347,11 @@ int legacy_player_select_track(player_h player, player_stream_type_e type, int i
        return PLAYER_ERROR_NONE;
 }
 
-int legacy_player_get_track_language_code(player_h player, player_stream_type_e type, int index, char **code, int *len)
+int legacy_player_get_track_language_code(legacy_player_h player, player_stream_type_e type, int index, char **code, int *len)
 {
-       player_s *handle = (player_s *)player;
+       legacy_player_t *handle = (legacy_player_t *)player;
        int ret = MM_ERROR_NONE;
-       MMPlayerTrackType track_type = 0;
+       mmplayer_track_type_e track_type = 0;
        PLAYER_INSTANCE_CHECK(player);
        PLAYER_NULL_ARG_CHECK(code);
        PLAYER_NULL_ARG_CHECK(len);
@@ -2385,10 +2385,10 @@ int legacy_player_get_track_language_code(player_h player, player_stream_type_e
        return PLAYER_ERROR_NONE;
 }
 
-int legacy_player_set_video_roi_area(player_h player, double scale_x,
+int legacy_player_set_video_roi_area(legacy_player_h player, double scale_x,
                double scale_y, double scale_width, double scale_heights)
 {
-       player_s *handle = (player_s *)player;
+       legacy_player_t *handle = (legacy_player_t *)player;
        int ret = MM_ERROR_NONE;
        PLAYER_INSTANCE_CHECK(player);
 
@@ -2406,10 +2406,10 @@ int legacy_player_set_video_roi_area(player_h player, double scale_x,
        return PLAYER_ERROR_NONE;
 }
 
-int legacy_player_get_video_roi_area(player_h player, double *scale_x,
+int legacy_player_get_video_roi_area(legacy_player_h player, double *scale_x,
                double *scale_y, double *scale_width, double *scale_height)
 {
-       player_s *handle = (player_s *)player;
+       legacy_player_t *handle = (legacy_player_t *)player;
        int ret = MM_ERROR_NONE;
        PLAYER_INSTANCE_CHECK(player);
        PLAYER_NULL_ARG_CHECK(scale_x);
@@ -2426,9 +2426,9 @@ int legacy_player_get_video_roi_area(player_h player, double *scale_x,
        return PLAYER_ERROR_NONE;
 }
 
-int legacy_player_set_roi_area(player_h player, int x, int y, int w, int h)
+int legacy_player_set_roi_area(legacy_player_h player, int x, int y, int w, int h)
 {
-       player_s *handle = (player_s *)player;
+       legacy_player_t *handle = (legacy_player_t *)player;
        int ret = MM_ERROR_NONE;
        PLAYER_INSTANCE_CHECK(player);
 
@@ -2442,9 +2442,9 @@ int legacy_player_set_roi_area(player_h player, int x, int y, int w, int h)
        return PLAYER_ERROR_NONE;
 }
 
-int legacy_player_set_display(player_h player, player_display_type_e type, unsigned int wl_surface_id)
+int legacy_player_set_display(legacy_player_h player, player_display_type_e type, unsigned int wl_surface_id)
 {
-       player_s *handle = (player_s *)player;
+       legacy_player_t *handle = (legacy_player_t *)player;
        int ret = MM_ERROR_NONE;
        void *set_handle = NULL;
        void *temp = NULL;
@@ -2521,9 +2521,9 @@ int legacy_player_set_display(player_h player, player_display_type_e type, unsig
        return PLAYER_ERROR_NONE;
 }
 
-int legacy_player_set_sound_stream_info_for_mused(player_h player, char *stream_type, int stream_index)
+int legacy_player_set_sound_stream_info_for_mused(legacy_player_h player, char *stream_type, int stream_index)
 {
-       player_s *handle = (player_s *)player;
+       legacy_player_t *handle = (legacy_player_t *)player;
        int ret = MM_ERROR_NONE;
        PLAYER_INSTANCE_CHECK(player);
        PLAYER_STATE_CHECK(handle, PLAYER_STATE_IDLE);
@@ -2540,9 +2540,9 @@ int legacy_player_set_sound_stream_info_for_mused(player_h player, char *stream_
        return PLAYER_ERROR_NONE;
 }
 
-int legacy_player_get_timeout_for_muse(player_h player, int *timeout)
+int legacy_player_get_timeout_for_muse(legacy_player_h player, int *timeout)
 {
-       player_s *handle = (player_s *)player;
+       legacy_player_t *handle = (legacy_player_t *)player;
        int ret = MM_ERROR_NONE;
        PLAYER_INSTANCE_CHECK(player);
 
@@ -2553,9 +2553,9 @@ int legacy_player_get_timeout_for_muse(player_h player, int *timeout)
        return PLAYER_ERROR_NONE;
 }
 
-int legacy_player_get_num_of_video_out_buffers(player_h player, int *num, int *extra_num)
+int legacy_player_get_num_of_video_out_buffers(legacy_player_h player, int *num, int *extra_num)
 {
-       player_s *handle = (player_s *)player;
+       legacy_player_t *handle = (legacy_player_t *)player;
        int ret = MM_ERROR_NONE;
        PLAYER_INSTANCE_CHECK(player);
        PLAYER_NULL_ARG_CHECK(num);
@@ -2568,9 +2568,9 @@ int legacy_player_get_num_of_video_out_buffers(player_h player, int *num, int *e
        return PLAYER_ERROR_NONE;
 }
 
-int legacy_player_manage_external_storage_state(player_h player, int id, int state)
+int legacy_player_manage_external_storage_state(legacy_player_h player, int id, int state)
 {
-       player_s *handle = (player_s *)player;
+       legacy_player_t *handle = (legacy_player_t *)player;
        int ret = MM_ERROR_NONE;
        PLAYER_INSTANCE_CHECK(player);
 
@@ -2581,10 +2581,10 @@ int legacy_player_manage_external_storage_state(player_h player, int id, int sta
        return PLAYER_ERROR_NONE;
 }
 
-int legacy_player_get_adaptive_variant_info(player_h player, int *num, char **var_info)
+int legacy_player_get_adaptive_variant_info(legacy_player_h player, int *num, char **var_info)
 {
        int ret = MM_ERROR_NONE;
-       player_s *handle = (player_s *)player;
+       legacy_player_t *handle = (legacy_player_t *)player;
        PLAYER_INSTANCE_CHECK(player);
        PLAYER_NULL_ARG_CHECK(num);
        PLAYER_NULL_ARG_CHECK(var_info);
@@ -2601,10 +2601,10 @@ int legacy_player_get_adaptive_variant_info(player_h player, int *num, char **va
        return PLAYER_ERROR_NONE;
 }
 
-int legacy_player_set_max_adaptive_variant_limit(player_h player, int bandwidth, int width, int height)
+int legacy_player_set_max_adaptive_variant_limit(legacy_player_h player, int bandwidth, int width, int height)
 {
        int ret = MM_ERROR_NONE;
-       player_s *handle = (player_s *)player;
+       legacy_player_t *handle = (legacy_player_t *)player;
        PLAYER_INSTANCE_CHECK(player);
 
        ret = mm_player_set_max_adaptive_variant_limit(handle->mm_handle, bandwidth, width, height);
@@ -2614,9 +2614,9 @@ int legacy_player_set_max_adaptive_variant_limit(player_h player, int bandwidth,
        return PLAYER_ERROR_NONE;
 }
 
-int legacy_player_get_max_adaptive_variant_limit(player_h player, int *bandwidth, int *width, int *height)
+int legacy_player_get_max_adaptive_variant_limit(legacy_player_h player, int *bandwidth, int *width, int *height)
 {
-       player_s *handle = (player_s *)player;
+       legacy_player_t *handle = (legacy_player_t *)player;
        int ret = MM_ERROR_NONE;
        PLAYER_INSTANCE_CHECK(player);
        PLAYER_NULL_ARG_CHECK(bandwidth);
@@ -2630,9 +2630,9 @@ int legacy_player_get_max_adaptive_variant_limit(player_h player, int *bandwidth
        return PLAYER_ERROR_NONE;
 }
 
-int legacy_player_set_audio_only(player_h player, bool audio_only)
+int legacy_player_set_audio_only(legacy_player_h player, bool audio_only)
 {
-       player_s *handle = (player_s *)player;
+       legacy_player_t *handle = (legacy_player_t *)player;
        int ret = MM_ERROR_NONE;
        PLAYER_INSTANCE_CHECK(player);
 
@@ -2648,9 +2648,9 @@ int legacy_player_set_audio_only(player_h player, bool audio_only)
        return PLAYER_ERROR_NONE;
 }
 
-int legacy_player_is_audio_only(player_h player, bool *paudio_only)
+int legacy_player_is_audio_only(legacy_player_h player, bool *paudio_only)
 {
-       player_s *handle = (player_s *)player;
+       legacy_player_t *handle = (legacy_player_t *)player;
        int ret = MM_ERROR_NONE;
        bool audio_only = false;
        PLAYER_INSTANCE_CHECK(player);
@@ -2664,9 +2664,9 @@ int legacy_player_is_audio_only(player_h player, bool *paudio_only)
        return PLAYER_ERROR_NONE;
 }
 
-int legacy_player_set_streaming_buffering_time(player_h player, int prebuffer_ms, int rebuffer_ms)
+int legacy_player_set_streaming_buffering_time(legacy_player_h player, int prebuffer_ms, int rebuffer_ms)
 {
-       player_s *handle = (player_s *)player;
+       legacy_player_t *handle = (legacy_player_t *)player;
        int ret = MM_ERROR_NONE;
        PLAYER_INSTANCE_CHECK(player);
        PLAYER_STATE_CHECK(handle, PLAYER_STATE_IDLE);
@@ -2686,9 +2686,9 @@ int legacy_player_set_streaming_buffering_time(player_h player, int prebuffer_ms
        return PLAYER_ERROR_NONE;
 }
 
-int legacy_player_get_streaming_buffering_time(player_h player, int *prebuffer_ms, int *rebuffer_ms)
+int legacy_player_get_streaming_buffering_time(legacy_player_h player, int *prebuffer_ms, int *rebuffer_ms)
 {
-       player_s *handle = (player_s *)player;
+       legacy_player_t *handle = (legacy_player_t *)player;
        int ret = MM_ERROR_NONE;
        PLAYER_INSTANCE_CHECK(player);
        PLAYER_NULL_ARG_CHECK(prebuffer_ms && rebuffer_ms);
@@ -2720,9 +2720,9 @@ int legacy_player_get_streaming_buffering_time(player_h player, int *prebuffer_m
        return PLAYER_ERROR_NONE;
 }
 
-int legacy_player_360_is_content_spherical(player_h player, bool *is_spherical)
+int legacy_player_360_is_content_spherical(legacy_player_h player, bool *is_spherical)
 {
-       player_s *handle = (player_s *)player;
+       legacy_player_t *handle = (legacy_player_t *)player;
        int ret = MM_ERROR_NONE;
        PLAYER_INSTANCE_CHECK(player);
        PLAYER_NULL_ARG_CHECK(is_spherical);
@@ -2739,9 +2739,9 @@ int legacy_player_360_is_content_spherical(player_h player, bool *is_spherical)
        return PLAYER_ERROR_NONE;
 }
 
-int legacy_player_360_set_enabled(player_h player, bool enabled)
+int legacy_player_360_set_enabled(legacy_player_h player, bool enabled)
 {
-       player_s *handle = (player_s *)player;
+       legacy_player_t *handle = (legacy_player_t *)player;
        int ret = MM_ERROR_NONE;
        PLAYER_INSTANCE_CHECK(player);
 
@@ -2757,9 +2757,9 @@ int legacy_player_360_set_enabled(player_h player, bool enabled)
        return PLAYER_ERROR_NONE;
 }
 
-int legacy_player_360_is_enabled(player_h player, bool *enabled)
+int legacy_player_360_is_enabled(legacy_player_h player, bool *enabled)
 {
-       player_s *handle = (player_s *)player;
+       legacy_player_t *handle = (legacy_player_t *)player;
        int ret = MM_ERROR_NONE;
        PLAYER_INSTANCE_CHECK(player);
        PLAYER_NULL_ARG_CHECK(enabled);
@@ -2775,9 +2775,9 @@ int legacy_player_360_is_enabled(player_h player, bool *enabled)
        return PLAYER_ERROR_NONE;
 }
 
-int legacy_player_360_set_direction_of_view(player_h player, float yaw, float pitch)
+int legacy_player_360_set_direction_of_view(legacy_player_h player, float yaw, float pitch)
 {
-       player_s *handle = (player_s *)player;
+       legacy_player_t *handle = (legacy_player_t *)player;
        int ret = MM_ERROR_NONE;
        PLAYER_INSTANCE_CHECK(player);
 
@@ -2793,9 +2793,9 @@ int legacy_player_360_set_direction_of_view(player_h player, float yaw, float pi
        return PLAYER_ERROR_NONE;
 }
 
-int legacy_player_360_get_direction_of_view(player_h player, float *yaw, float *pitch)
+int legacy_player_360_get_direction_of_view(legacy_player_h player, float *yaw, float *pitch)
 {
-       player_s *handle = (player_s *)player;
+       legacy_player_t *handle = (legacy_player_t *)player;
        int ret = MM_ERROR_NONE;
        PLAYER_INSTANCE_CHECK(player);
        PLAYER_NULL_ARG_CHECK(yaw);
@@ -2813,9 +2813,9 @@ int legacy_player_360_get_direction_of_view(player_h player, float *yaw, float *
        return PLAYER_ERROR_NONE;
 }
 
-int legacy_player_360_set_zoom(player_h player, float level)
+int legacy_player_360_set_zoom(legacy_player_h player, float level)
 {
-       player_s *handle = (player_s *)player;
+       legacy_player_t *handle = (legacy_player_t *)player;
        int ret = MM_ERROR_NONE;
        PLAYER_INSTANCE_CHECK(player);
 
@@ -2831,9 +2831,9 @@ int legacy_player_360_set_zoom(player_h player, float level)
        return PLAYER_ERROR_NONE;
 }
 
-int legacy_player_360_get_zoom(player_h player, float *level)
+int legacy_player_360_get_zoom(legacy_player_h player, float *level)
 {
-       player_s *handle = (player_s *)player;
+       legacy_player_t *handle = (legacy_player_t *)player;
        int ret = MM_ERROR_NONE;
        PLAYER_INSTANCE_CHECK(player);
 
@@ -2849,9 +2849,9 @@ int legacy_player_360_get_zoom(player_h player, float *level)
        return PLAYER_ERROR_NONE;
 }
 
-int legacy_player_360_set_field_of_view(player_h player, int horizontal_degrees, int vertical_degrees)
+int legacy_player_360_set_field_of_view(legacy_player_h player, int horizontal_degrees, int vertical_degrees)
 {
-       player_s *handle = (player_s *)player;
+       legacy_player_t *handle = (legacy_player_t *)player;
        int ret = MM_ERROR_NONE;
        PLAYER_INSTANCE_CHECK(player);
 
@@ -2867,9 +2867,9 @@ int legacy_player_360_set_field_of_view(player_h player, int horizontal_degrees,
        return PLAYER_ERROR_NONE;
 }
 
-int legacy_player_360_get_field_of_view(player_h player, int *horizontal_degrees, int *vertical_degrees)
+int legacy_player_360_get_field_of_view(legacy_player_h player, int *horizontal_degrees, int *vertical_degrees)
 {
-       player_s *handle = (player_s *)player;
+       legacy_player_t *handle = (legacy_player_t *)player;
        int ret = MM_ERROR_NONE;
        PLAYER_INSTANCE_CHECK(player);
        PLAYER_NULL_ARG_CHECK(horizontal_degrees);
@@ -2887,9 +2887,9 @@ int legacy_player_360_get_field_of_view(player_h player, int *horizontal_degrees
        return PLAYER_ERROR_NONE;
 }
 
-int legacy_player_set_replaygain_enabled(player_h player, bool enabled)
+int legacy_player_set_replaygain_enabled(legacy_player_h player, bool enabled)
 {
-       player_s *handle = (player_s *)player;
+       legacy_player_t *handle = (legacy_player_t *)player;
        int ret = MM_ERROR_NONE;
        PLAYER_INSTANCE_CHECK(player);
 
@@ -2905,9 +2905,9 @@ int legacy_player_set_replaygain_enabled(player_h player, bool enabled)
        return PLAYER_ERROR_NONE;
 }
 
-int legacy_player_is_replaygain_enabled(player_h player, bool *enabled)
+int legacy_player_is_replaygain_enabled(legacy_player_h player, bool *enabled)
 {
-       player_s *handle = (player_s *)player;
+       legacy_player_t *handle = (legacy_player_t *)player;
        int ret = MM_ERROR_NONE;
        bool _enable;
        PLAYER_INSTANCE_CHECK(player);
@@ -2926,9 +2926,9 @@ int legacy_player_is_replaygain_enabled(player_h player, bool *enabled)
        return PLAYER_ERROR_NONE;
 }
 
-int legacy_player_set_audio_offload_enabled(player_h player, bool enabled)
+int legacy_player_set_audio_offload_enabled(legacy_player_h player, bool enabled)
 {
-       player_s *handle = (player_s *)player;
+       legacy_player_t *handle = (legacy_player_t *)player;
        int ret = MM_ERROR_NONE;
        PLAYER_INSTANCE_CHECK(player);
        PLAYER_STATE_CHECK(handle, PLAYER_STATE_IDLE);
@@ -2942,9 +2942,9 @@ int legacy_player_set_audio_offload_enabled(player_h player, bool enabled)
        return PLAYER_ERROR_NONE;
 }
 
-int legacy_player_is_audio_offload_enabled(player_h player, bool *enabled)
+int legacy_player_is_audio_offload_enabled(legacy_player_h player, bool *enabled)
 {
-       player_s *handle = (player_s *)player;
+       legacy_player_t *handle = (legacy_player_t *)player;
        int ret = MM_ERROR_NONE;
        int val = 0;
        PLAYER_INSTANCE_CHECK(player);
@@ -2964,9 +2964,9 @@ int legacy_player_is_audio_offload_enabled(player_h player, bool *enabled)
        return PLAYER_ERROR_NONE;
 }
 
-int legacy_player_pitch_set_enabled(player_h player, bool enabled)
+int legacy_player_pitch_set_enabled(legacy_player_h player, bool enabled)
 {
-       player_s *handle = (player_s *)player;
+       legacy_player_t *handle = (legacy_player_t *)player;
        int ret = MM_ERROR_NONE;
        PLAYER_INSTANCE_CHECK(player);
        PLAYER_STATE_CHECK(handle, PLAYER_STATE_IDLE);
@@ -2980,9 +2980,9 @@ int legacy_player_pitch_set_enabled(player_h player, bool enabled)
        return PLAYER_ERROR_NONE;
 }
 
-int legacy_player_pitch_is_enabled(player_h player, bool *enabled)
+int legacy_player_pitch_is_enabled(legacy_player_h player, bool *enabled)
 {
-       player_s *handle = (player_s *)player;
+       legacy_player_t *handle = (legacy_player_t *)player;
        int ret = MM_ERROR_NONE;
        int val = 0;
        PLAYER_INSTANCE_CHECK(player);
@@ -3002,9 +3002,9 @@ int legacy_player_pitch_is_enabled(player_h player, bool *enabled)
        return PLAYER_ERROR_NONE;
 }
 
-int legacy_player_pitch_set_value(player_h player, float pitch)
+int legacy_player_pitch_set_value(legacy_player_h player, float pitch)
 {
-       player_s *handle = (player_s *)player;
+       legacy_player_t *handle = (legacy_player_t *)player;
        int ret = MM_ERROR_NONE;
        int is_enabled = 0;
 
@@ -3032,9 +3032,9 @@ int legacy_player_pitch_set_value(player_h player, float pitch)
        return PLAYER_ERROR_NONE;
 }
 
-int legacy_player_pitch_get_value(player_h player, float *pitch)
+int legacy_player_pitch_get_value(legacy_player_h player, float *pitch)
 {
-       player_s *handle = (player_s *)player;
+       legacy_player_t *handle = (legacy_player_t *)player;
        int ret = MM_ERROR_NONE;
        double value = 0.0;
        PLAYER_INSTANCE_CHECK(player);
index 5e9851a..0efe098 100644 (file)
@@ -40,9 +40,9 @@ do { \
        LOGI("Event type : %d ", event_type); \
 } while (0)
 
-bool __audio_stream_callback(MMPlayerAudioStreamDataType *stream, void *user_data)
+bool __audio_stream_callback(mmplayer_audio_decoded_data_info_t *stream, void *user_data)
 {
-       player_s *handle = (player_s *)user_data;
+       legacy_player_t *handle = (legacy_player_t *)user_data;
 
        if (!__player_state_validate(handle, PLAYER_STATE_READY)) {
                LOGE("PLAYER_ERROR_INVALID_STATE : current state - %d", handle->state);
@@ -55,9 +55,9 @@ bool __audio_stream_callback(MMPlayerAudioStreamDataType *stream, void *user_dat
        return true;
 }
 
-int legacy_player_set_pcm_extraction_mode(player_h player, bool sync, player_audio_pcm_extraction_cb callback, void *user_data)
+int legacy_player_set_pcm_extraction_mode(legacy_player_h player, bool sync, player_audio_pcm_extraction_cb callback, void *user_data)
 {
-       player_s *handle = (player_s *)player;
+       legacy_player_t *handle = (legacy_player_t *)player;
        int ret = MM_ERROR_NONE;
        PLAYER_INSTANCE_CHECK(player);
        PLAYER_NULL_ARG_CHECK(callback);
@@ -72,9 +72,9 @@ int legacy_player_set_pcm_extraction_mode(player_h player, bool sync, player_aud
        return PLAYER_ERROR_NONE;
 }
 
-int legacy_player_set_pcm_spec(player_h player, const char *format, int samplerate, int channel)
+int legacy_player_set_pcm_spec(legacy_player_h player, const char *format, int samplerate, int channel)
 {
-       player_s *handle = (player_s *)player;
+       legacy_player_t *handle = (legacy_player_t *)player;
        int ret = MM_ERROR_NONE;
        PLAYER_INSTANCE_CHECK(player);
 
@@ -101,9 +101,9 @@ int legacy_player_set_pcm_spec(player_h player, const char *format, int samplera
        return PLAYER_ERROR_NONE;
 }
 
-int legacy_player_set_streaming_playback_rate(player_h player, float rate)
+int legacy_player_set_streaming_playback_rate(legacy_player_h player, float rate)
 {
-       player_s *handle = (player_s *)player;
+       legacy_player_t *handle = (legacy_player_t *)player;
        int ret = MM_ERROR_NONE;
        LOGI("rate : %0.1f", rate);
        PLAYER_INSTANCE_CHECK(player);
@@ -132,7 +132,7 @@ int legacy_player_set_streaming_playback_rate(player_h player, float rate)
 
 static bool __media_stream_buffer_status_callback_ex(player_stream_type_e type, player_media_stream_buffer_status_e status, unsigned long long bytes, void *user_data)
 {
-       player_s *handle = (player_s *)user_data;
+       legacy_player_t *handle = (legacy_player_t *)user_data;
        muse_player_event_e event_type;
 
        if (!handle) {
@@ -165,9 +165,9 @@ static bool __media_stream_buffer_status_callback_ex(player_stream_type_e type,
 }
 
 
-int legacy_player_set_media_stream_buffer_status_cb_ex(player_h player, player_stream_type_e type, player_media_stream_buffer_status_cb_ex callback, void *user_data)
+int legacy_player_set_media_stream_buffer_status_cb_ex(legacy_player_h player, player_stream_type_e type, player_media_stream_buffer_status_cb_ex callback, void *user_data)
 {
-       player_s *handle = (player_s *)player;
+       legacy_player_t *handle = (legacy_player_t *)player;
        int ret = MM_ERROR_NONE;
        muse_player_event_e event_type;
        PLAYER_INSTANCE_CHECK(player);
@@ -206,9 +206,9 @@ int legacy_player_set_media_stream_buffer_status_cb_ex(player_h player, player_s
        return PLAYER_ERROR_NONE;
 }
 
-int legacy_player_unset_media_stream_buffer_status_cb_ex(player_h player, player_stream_type_e type)
+int legacy_player_unset_media_stream_buffer_status_cb_ex(legacy_player_h player, player_stream_type_e type)
 {
-       player_s *handle = (player_s *)player;
+       legacy_player_t *handle = (legacy_player_t *)player;
        muse_player_event_e event_type;
        PLAYER_INSTANCE_CHECK(player);
 
@@ -231,9 +231,9 @@ int legacy_player_unset_media_stream_buffer_status_cb_ex(player_h player, player
        return PLAYER_ERROR_NONE;
 }
 
-int legacy_player_set_media_stream_dynamic_resolution(player_h player, bool drc)
+int legacy_player_set_media_stream_dynamic_resolution(legacy_player_h player, bool drc)
 {
-       player_s *handle = (player_s *)player;
+       legacy_player_t *handle = (legacy_player_t *)player;
        int ret = MM_ERROR_NONE;
        PLAYER_INSTANCE_CHECK(player);
        PLAYER_STATE_CHECK(handle, PLAYER_STATE_IDLE);
@@ -245,9 +245,9 @@ int legacy_player_set_media_stream_dynamic_resolution(player_h player, bool drc)
        return PLAYER_ERROR_NONE;
 }
 
-int legacy_player_set_next_uri(player_h player, const char *uri)
+int legacy_player_set_next_uri(legacy_player_h player, const char *uri)
 {
-       player_s *handle = (player_s *)player;
+       legacy_player_t *handle = (legacy_player_t *)player;
        int ret = MM_ERROR_NONE;
        PLAYER_INSTANCE_CHECK(player);
        if (!__player_state_validate(handle, PLAYER_STATE_IDLE)) {
@@ -262,9 +262,9 @@ int legacy_player_set_next_uri(player_h player, const char *uri)
        return PLAYER_ERROR_NONE;
 }
 
-int legacy_player_get_next_uri(player_h player, char **uri)
+int legacy_player_get_next_uri(legacy_player_h player, char **uri)
 {
-       player_s *handle = (player_s *)player;
+       legacy_player_t *handle = (legacy_player_t *)player;
        int ret = MM_ERROR_NONE;
        PLAYER_INSTANCE_CHECK(player);
 
@@ -280,9 +280,9 @@ int legacy_player_get_next_uri(player_h player, char **uri)
        return PLAYER_ERROR_NONE;
 }
 
-int legacy_player_set_gapless(player_h player, bool gapless)
+int legacy_player_set_gapless(legacy_player_h player, bool gapless)
 {
-       player_s *handle = (player_s *)player;
+       legacy_player_t *handle = (legacy_player_t *)player;
        int ret = MM_ERROR_NONE;
        int value = 0;
        PLAYER_INSTANCE_CHECK(player);
@@ -297,9 +297,9 @@ int legacy_player_set_gapless(player_h player, bool gapless)
        return PLAYER_ERROR_NONE;
 }
 
-int legacy_player_is_gapless(player_h player, bool *gapless)
+int legacy_player_is_gapless(legacy_player_h player, bool *gapless)
 {
-       player_s *handle = (player_s *)player;
+       legacy_player_t *handle = (legacy_player_t *)player;
        int ret = MM_ERROR_NONE;
        int value;
        PLAYER_INSTANCE_CHECK(player);
@@ -318,9 +318,9 @@ int legacy_player_is_gapless(player_h player, bool *gapless)
 
 }
 
-int legacy_player_enable_media_packet_video_frame_decoded_cb(player_h player, bool enable)
+int legacy_player_enable_media_packet_video_frame_decoded_cb(legacy_player_h player, bool enable)
 {
-       player_s *handle = (player_s *)player;
+       legacy_player_t *handle = (legacy_player_t *)player;
        int ret = MM_ERROR_NONE;
        int value = 0;
        PLAYER_INSTANCE_CHECK(player);
@@ -336,9 +336,9 @@ int legacy_player_enable_media_packet_video_frame_decoded_cb(player_h player, bo
        return PLAYER_ERROR_NONE;
 }
 
-int legacy_player_set_codec_type(player_h player, player_stream_type_e stream_type, player_codec_type_e codec_type)
+int legacy_player_set_codec_type(legacy_player_h player, player_stream_type_e stream_type, player_codec_type_e codec_type)
 {
-       player_s *handle = (player_s *)player;
+       legacy_player_t *handle = (legacy_player_t *)player;
        int ret = MM_ERROR_NONE;
        PLAYER_INSTANCE_CHECK(player);
        PLAYER_CHECK_CONDITION(stream_type == PLAYER_STREAM_TYPE_AUDIO || stream_type == PLAYER_STREAM_TYPE_VIDEO, PLAYER_ERROR_INVALID_PARAMETER, "PLAYER_ERROR_INVALID_PARAMETER");
@@ -352,9 +352,9 @@ int legacy_player_set_codec_type(player_h player, player_stream_type_e stream_ty
        return PLAYER_ERROR_NONE;
 }
 
-int legacy_player_get_codec_type(player_h player, player_stream_type_e stream_type, player_codec_type_e *pcodec_type)
+int legacy_player_get_codec_type(legacy_player_h player, player_stream_type_e stream_type, player_codec_type_e *pcodec_type)
 {
-       player_s *handle = (player_s *)player;
+       legacy_player_t *handle = (legacy_player_t *)player;
        int ret = MM_ERROR_NONE;
        const char *attr_name;
        PLAYER_INSTANCE_CHECK(player);
index 9d2ba8e..d16c1f9 100644 (file)
@@ -39,7 +39,7 @@ typedef enum {
        PUSH_MEDIA_BUF_TYPE_RAW
 } push_media_buf_type_e;
 
-typedef struct _player_push_media_msg_type {
+typedef struct {
        push_media_buf_type_e buf_type;
        uint64_t size;
        uint64_t pts;
index c5f52d8..4826270 100644 (file)
@@ -26,7 +26,7 @@ extern "C" {
 #include "legacy_player.h"
 
 typedef struct {
-       player_h player_handle;
+       legacy_player_h player_handle;
        tbm_bufmgr bufmgr;
        media_format_h audio_format;
        media_format_h video_format;
@@ -36,19 +36,19 @@ typedef struct {
        GMutex list_lock;
        int total_size_of_buffers;
        int extra_size_of_buffers;
-} muse_player_handle_s;
+} muse_player_handle_t;
 
 typedef struct {
        tbm_bo bo;
        tbm_fd tfd;
        int key;
 //     void *internal_buffer;
-} muse_player_export_data_s;
+} muse_player_export_data_t;
 
 typedef struct {
-       player_h player;
+       legacy_player_h player;
        muse_module_h module;
-} prepare_data_s;
+} prepare_data_t;
 
 #ifdef __cplusplus
 }
index e5e4fc6..9c79aa1 100644 (file)
@@ -70,9 +70,9 @@ static const char *uri_prefix[NUM_OF_URI_PREFIX] = {
  * see ../api.list
  * see ../make_api.py
  */
-static bool _create_export_data(muse_player_handle_s *muse_player, void *data, int size, void *ext_data, int ext_size, tbm_fd *out_tfd, int *out_key)
+static bool _create_export_data(muse_player_handle_t *muse_player, void *data, int size, void *ext_data, int ext_size, tbm_fd *out_tfd, int *out_key)
 {
-       muse_player_export_data_s *export_data = NULL;
+       muse_player_export_data_t *export_data = NULL;
        tbm_bo bo = NULL;
        tbm_fd tfd = INVALID_DEFAULT_VALUE;
        tbm_bo_handle thandle;
@@ -92,7 +92,7 @@ static bool _create_export_data(muse_player_handle_s *muse_player, void *data, i
                return false;
        }
 
-       export_data = g_try_new0(muse_player_export_data_s, 1);
+       export_data = g_try_new0(muse_player_export_data_t, 1);
        if (export_data == NULL) {
                LOGE("failed to alloc export_data");
                return false;
@@ -156,7 +156,7 @@ ERROR:
 static bool _remove_export_data(muse_module_h module, int key, bool remove_all)
 {
        bool ret = true;
-       muse_player_handle_s *muse_player = NULL;
+       muse_player_handle_t *muse_player = NULL;
 
        /* LOGD("ENTER"); */
        if (module == NULL || (key < 0 && !remove_all)) {
@@ -164,19 +164,19 @@ static bool _remove_export_data(muse_module_h module, int key, bool remove_all)
                return false;
        }
 
-       muse_player = (muse_player_handle_s *)muse_server_ipc_get_handle(module);
+       muse_player = (muse_player_handle_t *)muse_server_ipc_get_handle(module);
 
        if (muse_player && muse_player->data_list) {
 
                GList *iter = NULL;
-               muse_player_export_data_s *export_data = NULL;
+               muse_player_export_data_t *export_data = NULL;
                g_mutex_lock(&muse_player->list_lock);
 
                /* LOGE("number of remained buffer %d", g_list_length(muse_player->data_list)); */
 
                iter = g_list_first(muse_player->data_list);
                while (iter) {
-                       export_data = (muse_player_export_data_s *)iter->data;
+                       export_data = (muse_player_export_data_t *)iter->data;
                        if ((export_data) &&
                                (export_data->key == key || remove_all)) {
                                LOGD("buffer key : %d matched, remove it (remove_all %d)", key, remove_all);
@@ -218,10 +218,10 @@ static bool _remove_export_data(muse_module_h module, int key, bool remove_all)
        return ret;
 }
 
-static void _remove_video_stream_data(muse_module_h module, MMPlayerVideoStreamDataType *video_data)
+static void _remove_video_stream_data(muse_module_h module, mmplayer_video_decoded_data_info_t *video_data)
 {
        int i = 0, bo_num = 0;
-       muse_player_handle_s *muse_player = NULL;
+       muse_player_handle_t *muse_player = NULL;
 
        if (video_data == NULL) {
                LOGE("video_data is null, module %p", module);
@@ -244,7 +244,7 @@ static void _remove_video_stream_data(muse_module_h module, MMPlayerVideoStreamD
                if (bo_num == NUM_OF_SW_CODEC_BO) {
                        bo = video_data->bo[0];
                        if (bo) { /* sw codec bo list */
-                               muse_player = (muse_player_handle_s *)muse_server_ipc_get_handle(module);
+                               muse_player = (muse_player_handle_t *)muse_server_ipc_get_handle(module);
                                if (muse_player == NULL) {
                                        LOGE("muse_player is NULL");
                                        goto EXIT;
@@ -278,7 +278,7 @@ EXIT:
 
 static void _remove_export_media_packet(muse_module_h module)
 {
-       muse_player_handle_s *muse_player = NULL;
+       muse_player_handle_t *muse_player = NULL;
 
        LOGD("ENTER");
        if (module == NULL) {
@@ -286,7 +286,7 @@ static void _remove_export_media_packet(muse_module_h module)
                return;
        }
 
-       muse_player = (muse_player_handle_s *)muse_server_ipc_get_handle(module);
+       muse_player = (muse_player_handle_t *)muse_server_ipc_get_handle(module);
        if (muse_player == NULL) {
                LOGE("invalid handle");
                return;
@@ -301,7 +301,7 @@ static void _remove_export_media_packet(muse_module_h module)
                LOGW("number of remained video_list %d", g_list_length(muse_player->video_data_list));
                for (video_list = g_list_first(muse_player->video_data_list); video_list; video_list = g_list_next(video_list)) {
                        LOGW("%p will be removed", video_list->data);
-                       _remove_video_stream_data(module, (MMPlayerVideoStreamDataType *)video_list->data);
+                       _remove_video_stream_data(module, (mmplayer_video_decoded_data_info_t *)video_list->data);
                }
                g_list_free(muse_player->video_data_list);
                muse_player->video_data_list = NULL;
@@ -475,9 +475,9 @@ static void _prepare_async_cb(void *user_data)
 {
        muse_player_event_e ev = MUSE_PLAYER_EVENT_TYPE_PREPARE;
        muse_player_cb_e api = MUSE_PLAYER_CB_EVENT;
-       prepare_data_s *prepare_data = (prepare_data_s *)user_data;
+       prepare_data_t *prepare_data = (prepare_data_t *)user_data;
        muse_module_h module;
-       muse_player_handle_s *muse_player = NULL;
+       muse_player_handle_t *muse_player = NULL;
        int ret = PLAYER_ERROR_NONE;
        int num = 0, extra_num = 0;
 
@@ -488,7 +488,7 @@ static void _prepare_async_cb(void *user_data)
        module = prepare_data->module;
        g_free(prepare_data);
 
-       muse_player = (muse_player_handle_s *)muse_server_ipc_get_handle(module);
+       muse_player = (muse_player_handle_t *)muse_server_ipc_get_handle(module);
        if (muse_player == NULL) {
                LOGE("muse handle is NULL");
                return;
@@ -533,7 +533,7 @@ static void _retrieve_buffer_cb(void *user_data)
 }
 #endif
 
-static void _set_completed_cb(player_h player, void *module, bool set)
+static void _set_completed_cb(legacy_player_h player, void *module, bool set)
 {
        if (set)
                legacy_player_set_completed_cb(player, _completed_cb, module);
@@ -542,7 +542,7 @@ static void _set_completed_cb(player_h player, void *module, bool set)
 }
 
 #ifdef TIZEN_FEATURE_EVAS_RENDERER
-static void _set_retrieve_buffer_cb(player_h player, void *module, bool set)
+static void _set_retrieve_buffer_cb(legacy_player_h player, void *module, bool set)
 {
        if (set)
                legacy_player_set_retrieve_buffer_cb(player, _retrieve_buffer_cb, module);
@@ -556,7 +556,7 @@ static void _capture_video_cb(unsigned char *data, int width, int height, unsign
        muse_player_cb_e api = MUSE_PLAYER_CB_EVENT;
        muse_player_event_e ev = MUSE_PLAYER_EVENT_TYPE_CAPTURE;
        muse_module_h module = (muse_module_h)user_data;
-       muse_player_handle_s *muse_player = NULL;
+       muse_player_handle_t *muse_player = NULL;
        bool ret = true;
        tbm_fd tfd = INVALID_DEFAULT_VALUE;
        int key = INVALID_DEFAULT_VALUE;
@@ -567,7 +567,7 @@ static void _capture_video_cb(unsigned char *data, int width, int height, unsign
                return;
        }
 
-       muse_player = (muse_player_handle_s *)muse_server_ipc_get_handle(module);
+       muse_player = (muse_player_handle_t *)muse_server_ipc_get_handle(module);
        if (muse_player == NULL) {
                LOGE("handle is NULL");
                return;
@@ -702,8 +702,8 @@ static bool __video_decoded_callback(void *video_data, void *user_data)
        muse_player_cb_e api = MUSE_PLAYER_CB_EVENT;
        muse_player_event_e ev = MUSE_PLAYER_EVENT_TYPE_MEDIA_PACKET_VIDEO_FRAME;
        muse_module_h module = (muse_module_h)user_data;
-       MMPlayerVideoStreamDataType *video_stream = (MMPlayerVideoStreamDataType *)video_data;
-       muse_player_handle_s *muse_player = NULL;
+       mmplayer_video_decoded_data_info_t *video_stream = (mmplayer_video_decoded_data_info_t *)video_data;
+       muse_player_handle_t *muse_player = NULL;
        uint32_t bo_format = 0;
        int bo_num = 0;
        tbm_fd tfd[4];
@@ -723,7 +723,7 @@ static bool __video_decoded_callback(void *video_data, void *user_data)
        memset(tfd, INVALID_DEFAULT_VALUE, sizeof(tfd));
        memset(key, INVALID_DEFAULT_VALUE, sizeof(key));
 
-       muse_player = (muse_player_handle_s *)muse_server_ipc_get_handle(module);
+       muse_player = (muse_player_handle_t *)muse_server_ipc_get_handle(module);
        if (muse_player == NULL) {
                LOGE("handle is NULL");
                /* resource will be released after return */
@@ -888,7 +888,7 @@ static void _interrupted_cb(void *user_data)
        __player_callback(ev, (muse_module_h)user_data);
 }
 
-static void _set_interrupted_cb(player_h player, void *module, bool set)
+static void _set_interrupted_cb(legacy_player_h player, void *module, bool set)
 {
        if (set)
                legacy_player_set_interrupted_cb(player, _interrupted_cb, module);
@@ -907,7 +907,7 @@ static void _error_cb(int code, void *user_data)
        PLAYER_SEND_EVENT_MSG(api, ev, module, MUSE_TYPE_INT, "code", code);
 }
 
-static void _set_error_cb(player_h player, void *module, bool set)
+static void _set_error_cb(legacy_player_h player, void *module, bool set)
 {
        if (set)
                legacy_player_set_error_cb(player, _error_cb, module);
@@ -927,7 +927,7 @@ static void _subtitle_updated_cb(unsigned long duration, char *text, void *user_
                        MUSE_TYPE_INT, "duration", (int)duration, MUSE_TYPE_STRING, "text", (const char *)text);
 }
 
-static void _set_subtitle_cb(player_h player, void *module, bool set)
+static void _set_subtitle_cb(legacy_player_h player, void *module, bool set)
 {
        if (set)
                legacy_player_set_subtitle_updated_cb(player, _subtitle_updated_cb, module);
@@ -947,7 +947,7 @@ static void _buffering_cb(int percent, void *user_data)
 
 }
 
-static void _set_buffering_cb(player_h player, void *module, bool set)
+static void _set_buffering_cb(legacy_player_h player, void *module, bool set)
 {
        if (set)
                legacy_player_set_buffering_cb(player, _buffering_cb, module);
@@ -955,13 +955,13 @@ static void _set_buffering_cb(player_h player, void *module, bool set)
                legacy_player_unset_buffering_cb(player);
 }
 
-static void _set_media_packet_video_frame_cb(player_h player, void *data, bool set)
+static void _set_media_packet_video_frame_cb(legacy_player_h player, void *data, bool set)
 {
        int ret = PLAYER_ERROR_NONE;
        muse_player_api_e api = MUSE_PLAYER_API_SET_CALLBACK;
        muse_module_h module = (muse_module_h)data;
-       muse_player_handle_s *muse_player = NULL;
-       muse_player = (muse_player_handle_s *)muse_server_ipc_get_handle(module);
+       muse_player_handle_t *muse_player = NULL;
+       muse_player = (muse_player_handle_t *)muse_server_ipc_get_handle(module);
 
        if (set) {
                muse_player->export_video_data = true;
@@ -974,7 +974,7 @@ static void _set_media_packet_video_frame_cb(player_h player, void *data, bool s
        PLAYER_RETURN_MSG(api, ret, module);
 }
 
-static void _set_video_stream_changed_cb(player_h player, void *data, bool set)
+static void _set_video_stream_changed_cb(legacy_player_h player, void *data, bool set)
 {
        int ret = PLAYER_ERROR_NONE;
        muse_player_api_e api = MUSE_PLAYER_API_SET_CALLBACK;
@@ -988,7 +988,7 @@ static void _set_video_stream_changed_cb(player_h player, void *data, bool set)
        PLAYER_RETURN_MSG(api, ret, module);
 }
 
-static void _set_media_stream_audio_seek_cb(player_h player, void *data, bool set)
+static void _set_media_stream_audio_seek_cb(legacy_player_h player, void *data, bool set)
 {
        int ret = PLAYER_ERROR_NONE;
        muse_player_api_e api = MUSE_PLAYER_API_SET_CALLBACK;
@@ -1002,7 +1002,7 @@ static void _set_media_stream_audio_seek_cb(player_h player, void *data, bool se
        PLAYER_RETURN_MSG(api, ret, module);
 }
 
-static void _set_media_stream_video_seek_cb(player_h player, void *data, bool set)
+static void _set_media_stream_video_seek_cb(legacy_player_h player, void *data, bool set)
 {
        int ret = PLAYER_ERROR_NONE;
        muse_player_api_e api = MUSE_PLAYER_API_SET_CALLBACK;
@@ -1016,7 +1016,7 @@ static void _set_media_stream_video_seek_cb(player_h player, void *data, bool se
        PLAYER_RETURN_MSG(api, ret, module);
 }
 
-static void _set_media_stream_audio_buffer_cb(player_h player, void *data, bool set)
+static void _set_media_stream_audio_buffer_cb(legacy_player_h player, void *data, bool set)
 {
        int ret = PLAYER_ERROR_NONE;
        muse_player_api_e api = MUSE_PLAYER_API_SET_CALLBACK;
@@ -1030,7 +1030,7 @@ static void _set_media_stream_audio_buffer_cb(player_h player, void *data, bool
        PLAYER_RETURN_MSG(api, ret, module);
 }
 
-static void _set_media_stream_video_buffer_cb(player_h player, void *data, bool set)
+static void _set_media_stream_video_buffer_cb(legacy_player_h player, void *data, bool set)
 {
        int ret = PLAYER_ERROR_NONE;
        muse_player_api_e api = MUSE_PLAYER_API_SET_CALLBACK;
@@ -1044,7 +1044,7 @@ static void _set_media_stream_video_buffer_cb(player_h player, void *data, bool
        PLAYER_RETURN_MSG(api, ret, module);
 }
 
-static void _set_media_stream_audio_buffer_cb_ex(player_h player, void *data, bool set)
+static void _set_media_stream_audio_buffer_cb_ex(legacy_player_h player, void *data, bool set)
 {
        int ret = PLAYER_ERROR_NONE;
        muse_player_api_e api = MUSE_PLAYER_API_SET_CALLBACK;
@@ -1058,7 +1058,7 @@ static void _set_media_stream_audio_buffer_cb_ex(player_h player, void *data, bo
        PLAYER_RETURN_MSG(api, ret, module);
 }
 
-static void _set_media_stream_video_buffer_cb_ex(player_h player, void *data, bool set)
+static void _set_media_stream_video_buffer_cb_ex(legacy_player_h player, void *data, bool set)
 {
        int ret = PLAYER_ERROR_NONE;
        muse_player_api_e api = MUSE_PLAYER_API_SET_CALLBACK;
@@ -1072,7 +1072,7 @@ static void _set_media_stream_video_buffer_cb_ex(player_h player, void *data, bo
        PLAYER_RETURN_MSG(api, ret, module);
 }
 
-static void (*set_callback_func[MUSE_PLAYER_EVENT_TYPE_NUM])(player_h player, void *user_data, bool set) = {
+static void (*set_callback_func[MUSE_PLAYER_EVENT_TYPE_NUM])(legacy_player_h player, void *user_data, bool set) = {
        NULL,                                   /* MUSE_PLAYER_EVENT_TYPE_PREPARE */
        _set_completed_cb,              /* MUSE_PLAYER_EVENT_TYPE_COMPLETE */
        _set_interrupted_cb,    /* MUSE_PLAYER_EVENT_TYPE_INTERRUPT */
@@ -1105,7 +1105,7 @@ static void (*set_callback_func[MUSE_PLAYER_EVENT_TYPE_NUM])(player_h player, vo
        NULL,                           /* MUSE_PLAYER_EVENT_TYPE_SERVICE_DISCONNECTED */
 };
 
-static int _push_media_stream(muse_player_handle_s *muse_player, player_push_media_msg_type *push_media, char *buf)
+static int _push_media_stream(muse_player_handle_t *muse_player, player_push_media_msg_type *push_media, char *buf)
 {
        int ret = MEDIA_FORMAT_ERROR_NONE;
        media_format_h format;
@@ -1193,7 +1193,7 @@ static void _audio_frame_decoded_cb(player_audio_raw_data_s *audio_frame, void *
        muse_player_cb_e api = MUSE_PLAYER_CB_EVENT;
        muse_player_event_e ev = MUSE_PLAYER_EVENT_TYPE_AUDIO_FRAME;
        muse_module_h module = (muse_module_h)user_data;
-       muse_player_handle_s *muse_player = NULL;
+       muse_player_handle_t *muse_player = NULL;
        void *data = NULL;
        int size = 0;
        bool ret = true;
@@ -1212,7 +1212,7 @@ static void _audio_frame_decoded_cb(player_audio_raw_data_s *audio_frame, void *
                return;
        }
 
-       muse_player = (muse_player_handle_s *)muse_server_ipc_get_handle(module);
+       muse_player = (muse_player_handle_t *)muse_server_ipc_get_handle(module);
        if (muse_player == NULL) {
                LOGE("handle is NULL");
                return;
@@ -1320,7 +1320,7 @@ int player_disp_create(muse_module_h module)
 {
        int ret = PLAYER_ERROR_NONE;
        muse_player_api_e api = MUSE_PLAYER_API_CREATE;
-       muse_player_handle_s *muse_player = NULL;
+       muse_player_handle_t *muse_player = NULL;
 
        int pid;
        intptr_t handle = 0;
@@ -1329,7 +1329,7 @@ int player_disp_create(muse_module_h module)
        player_msg_get(pid, muse_server_module_get_msg(module));
 
        /* init handle */
-       muse_player = g_try_new0(muse_player_handle_s, 1);
+       muse_player = g_try_new0(muse_player_handle_t, 1);
        if (!muse_player) {
                ret = PLAYER_ERROR_OUT_OF_MEMORY;
                LOGE("failed to alloc handle 0x%x", ret);
@@ -1377,9 +1377,9 @@ int player_disp_destroy(muse_module_h module)
 {
        int ret = PLAYER_ERROR_NONE;
        muse_player_api_e api = MUSE_PLAYER_API_DESTROY;
-       muse_player_handle_s *muse_player = NULL;
+       muse_player_handle_t *muse_player = NULL;
 
-       muse_player = (muse_player_handle_s *)muse_server_ipc_get_handle(module);
+       muse_player = (muse_player_handle_t *)muse_server_ipc_get_handle(module);
 
        /* decoder buffer need to be released first to destroy pipeline */
        _remove_export_media_packet(module);
@@ -1412,11 +1412,11 @@ int player_disp_prepare(muse_module_h module)
 {
        int ret = PLAYER_ERROR_NONE;
        muse_player_api_e api = MUSE_PLAYER_API_PREPARE;
-       muse_player_handle_s *muse_player = NULL;
+       muse_player_handle_t *muse_player = NULL;
        int timeout = 0;
        int num = 0, extra_num = 0;
 
-       muse_player = (muse_player_handle_s *)muse_server_ipc_get_handle(module);
+       muse_player = (muse_player_handle_t *)muse_server_ipc_get_handle(module);
        muse_player->export_video_data = true;
 
        ret = legacy_player_prepare(muse_player->player_handle);
@@ -1441,13 +1441,13 @@ int player_disp_prepare_async(muse_module_h module)
 {
        int ret = PLAYER_ERROR_NONE;
        muse_player_api_e api = MUSE_PLAYER_API_PREPARE_ASYNC;
-       muse_player_handle_s *muse_player = NULL;
-       prepare_data_s *prepare_data;
+       muse_player_handle_t *muse_player = NULL;
+       prepare_data_t *prepare_data;
        int timeout = 0;
 
-       muse_player = (muse_player_handle_s *)muse_server_ipc_get_handle(module);
+       muse_player = (muse_player_handle_t *)muse_server_ipc_get_handle(module);
 
-       prepare_data = g_try_new(prepare_data_s, 1);
+       prepare_data = g_try_new(prepare_data_t, 1);
        if (!prepare_data) {
                ret = PLAYER_ERROR_INVALID_OPERATION;
                goto ERROR;
@@ -1474,9 +1474,9 @@ int player_disp_unprepare(muse_module_h module)
 {
        int ret = PLAYER_ERROR_NONE;
        muse_player_api_e api = MUSE_PLAYER_API_UNPREPARE;
-       muse_player_handle_s *muse_player = NULL;
+       muse_player_handle_t *muse_player = NULL;
 
-       muse_player = (muse_player_handle_s *)muse_server_ipc_get_handle(module);
+       muse_player = (muse_player_handle_t *)muse_server_ipc_get_handle(module);
 
        /* decoder buffer need to be released first to destroy pipeline */
        _remove_export_media_packet(module);
@@ -1494,10 +1494,10 @@ int player_disp_set_uri(muse_module_h module)
 {
        int ret = PLAYER_ERROR_NONE;
        muse_player_api_e api = MUSE_PLAYER_API_SET_URI;
-       muse_player_handle_s *muse_player = NULL;
+       muse_player_handle_t *muse_player = NULL;
        char path[MUSE_URI_MAX_LENGTH] = { 0, };
 
-       muse_player = (muse_player_handle_s *)muse_server_ipc_get_handle(module);
+       muse_player = (muse_player_handle_t *)muse_server_ipc_get_handle(module);
        player_msg_get_string(path, muse_server_module_get_msg(module));
 
        if ((ret = _check_supportable(module, path)) == PLAYER_ERROR_NONE)
@@ -1511,9 +1511,9 @@ int player_disp_start(muse_module_h module)
 {
        int ret = PLAYER_ERROR_NONE;
        muse_player_api_e api = MUSE_PLAYER_API_START;
-       muse_player_handle_s *muse_player = NULL;
+       muse_player_handle_t *muse_player = NULL;
 
-       muse_player = (muse_player_handle_s *)muse_server_ipc_get_handle(module);
+       muse_player = (muse_player_handle_t *)muse_server_ipc_get_handle(module);
 
        ret = legacy_player_start(muse_player->player_handle);
 
@@ -1526,9 +1526,9 @@ int player_disp_stop(muse_module_h module)
 {
        int ret = PLAYER_ERROR_NONE;
        muse_player_api_e api = MUSE_PLAYER_API_STOP;
-       muse_player_handle_s *muse_player = NULL;
+       muse_player_handle_t *muse_player = NULL;
 
-       muse_player = (muse_player_handle_s *)muse_server_ipc_get_handle(module);
+       muse_player = (muse_player_handle_t *)muse_server_ipc_get_handle(module);
 
        ret = legacy_player_stop(muse_player->player_handle);
 
@@ -1541,9 +1541,9 @@ int player_disp_pause(muse_module_h module)
 {
        int ret = PLAYER_ERROR_NONE;
        muse_player_api_e api = MUSE_PLAYER_API_PAUSE;
-       muse_player_handle_s *muse_player = NULL;
+       muse_player_handle_t *muse_player = NULL;
 
-       muse_player = (muse_player_handle_s *)muse_server_ipc_get_handle(module);
+       muse_player = (muse_player_handle_t *)muse_server_ipc_get_handle(module);
 
        ret = legacy_player_pause(muse_player->player_handle);
 
@@ -1556,7 +1556,7 @@ int player_disp_set_memory_buffer(muse_module_h module)
 {
        int ret = PLAYER_ERROR_NONE;
        muse_player_api_e api = MUSE_PLAYER_API_SET_MEMORY_BUFFER;
-       muse_player_handle_s *muse_player = NULL;
+       muse_player_handle_t *muse_player = NULL;
 
        tbm_bo bo = NULL;
        tbm_bo_handle thandle = {NULL, };
@@ -1564,7 +1564,7 @@ int player_disp_set_memory_buffer(muse_module_h module)
        int size = 0;
        intptr_t bo_addr = 0;
 
-       muse_player = (muse_player_handle_s *)muse_server_ipc_get_handle(module);
+       muse_player = (muse_player_handle_t *)muse_server_ipc_get_handle(module);
        player_msg_get_type(size, muse_server_module_get_msg(module), INT);
 
        muse_server_ipc_get_fd(module, &tfd);
@@ -1629,10 +1629,10 @@ int player_disp_get_state(muse_module_h module)
 {
        int ret = PLAYER_ERROR_NONE;
        muse_player_api_e api = MUSE_PLAYER_API_GET_STATE;
-       muse_player_handle_s *muse_player = NULL;
+       muse_player_handle_t *muse_player = NULL;
        player_state_e state;
 
-       muse_player = (muse_player_handle_s *)muse_server_ipc_get_handle(module);
+       muse_player = (muse_player_handle_t *)muse_server_ipc_get_handle(module);
 
        ret = legacy_player_get_state(muse_player->player_handle, &state);
 
@@ -1645,7 +1645,7 @@ int player_disp_set_volume(muse_module_h module)
 {
        int ret = PLAYER_ERROR_NONE;
        muse_player_api_e api = MUSE_PLAYER_API_SET_VOLUME;
-       muse_player_handle_s *muse_player = NULL;
+       muse_player_handle_t *muse_player = NULL;
        double left, right;
        bool ret_val = true;
 
@@ -1654,7 +1654,7 @@ int player_disp_set_volume(muse_module_h module)
                                                                MUSE_TYPE_DOUBLE, "right", (void *)&right,
                                                                INVALID_MUSE_TYPE_VALUE);
        if (ret_val) {
-               muse_player = (muse_player_handle_s *)muse_server_ipc_get_handle(module);
+               muse_player = (muse_player_handle_t *)muse_server_ipc_get_handle(module);
                ret = legacy_player_set_volume(muse_player->player_handle, (float)left, (float)right);
        } else {
                ret = PLAYER_ERROR_INVALID_OPERATION;
@@ -1668,10 +1668,10 @@ int player_disp_get_volume(muse_module_h module)
 {
        int ret = PLAYER_ERROR_NONE;
        muse_player_api_e api = MUSE_PLAYER_API_GET_VOLUME;
-       muse_player_handle_s *muse_player = NULL;
+       muse_player_handle_t *muse_player = NULL;
        float left, right;
 
-       muse_player = (muse_player_handle_s *)muse_server_ipc_get_handle(module);
+       muse_player = (muse_player_handle_t *)muse_server_ipc_get_handle(module);
 
        ret = legacy_player_get_volume(muse_player->player_handle, &left, &right);
 
@@ -1684,7 +1684,7 @@ int player_disp_set_sound_stream_info(muse_module_h module)
 {
        int ret = PLAYER_ERROR_NONE;
        muse_player_api_e api = MUSE_PLAYER_API_SET_SOUND_STREAM_INFO;
-       muse_player_handle_s *muse_player = NULL;
+       muse_player_handle_t *muse_player = NULL;
        int stream_index = 0;
        char stream_type[MUSE_URI_MAX_LENGTH] = { 0, };
        bool ret_val = true;
@@ -1694,7 +1694,7 @@ int player_disp_set_sound_stream_info(muse_module_h module)
                                                                MUSE_TYPE_STRING, "stream_type", (void *)stream_type,
                                                                INVALID_MUSE_TYPE_VALUE);
        if (ret_val) {
-               muse_player = (muse_player_handle_s *)muse_server_ipc_get_handle(module);
+               muse_player = (muse_player_handle_t *)muse_server_ipc_get_handle(module);
                ret = legacy_player_set_sound_stream_info_for_mused(muse_player->player_handle, stream_type, stream_index);
        } else {
                ret = PLAYER_ERROR_INVALID_OPERATION;
@@ -1709,10 +1709,10 @@ int player_disp_set_audio_latency_mode(muse_module_h module)
 {
        int ret = PLAYER_ERROR_NONE;
        muse_player_api_e api = MUSE_PLAYER_API_SET_AUDIO_LATENCY_MODE;
-       muse_player_handle_s *muse_player = NULL;
+       muse_player_handle_t *muse_player = NULL;
        int latency_mode = 0;
 
-       muse_player = (muse_player_handle_s *)muse_server_ipc_get_handle(module);
+       muse_player = (muse_player_handle_t *)muse_server_ipc_get_handle(module);
        player_msg_get(latency_mode, muse_server_module_get_msg(module));
 
        ret = legacy_player_set_audio_latency_mode(muse_player->player_handle, (audio_latency_mode_e)latency_mode);
@@ -1726,10 +1726,10 @@ int player_disp_get_audio_latency_mode(muse_module_h module)
 {
        int ret = PLAYER_ERROR_NONE;
        muse_player_api_e api = MUSE_PLAYER_API_GET_AUDIO_LATENCY_MODE;
-       muse_player_handle_s *muse_player = NULL;
+       muse_player_handle_t *muse_player = NULL;
        audio_latency_mode_e latency_mode;
 
-       muse_player = (muse_player_handle_s *)muse_server_ipc_get_handle(module);
+       muse_player = (muse_player_handle_t *)muse_server_ipc_get_handle(module);
 
        ret = legacy_player_get_audio_latency_mode(muse_player->player_handle, &latency_mode);
 
@@ -1742,7 +1742,7 @@ int player_disp_set_play_position(muse_module_h module)
 {
        int ret = PLAYER_ERROR_NONE;
        muse_player_api_e api = MUSE_PLAYER_API_SET_PLAY_POSITION;
-       muse_player_handle_s *muse_player = NULL;
+       muse_player_handle_t *muse_player = NULL;
        int64_t pos = 0;
        int accurate = 0;
        bool ret_val = true;
@@ -1752,7 +1752,7 @@ int player_disp_set_play_position(muse_module_h module)
                                                                MUSE_TYPE_INT, "accurate", (void *)&accurate,
                                                                INVALID_MUSE_TYPE_VALUE);
        if (ret_val) {
-               muse_player = (muse_player_handle_s *)muse_server_ipc_get_handle(module);
+               muse_player = (muse_player_handle_t *)muse_server_ipc_get_handle(module);
                ret = legacy_player_set_play_position(muse_player->player_handle, pos, accurate, _seek_complate_cb, module);
        } else {
                ret = PLAYER_ERROR_INVALID_OPERATION;
@@ -1767,10 +1767,10 @@ int player_disp_get_play_position(muse_module_h module)
 {
        int ret = PLAYER_ERROR_NONE;
        muse_player_api_e api = MUSE_PLAYER_API_GET_PLAY_POSITION;
-       muse_player_handle_s *muse_player = NULL;
+       muse_player_handle_t *muse_player = NULL;
        int64_t pos = 0;
 
-       muse_player = (muse_player_handle_s *)muse_server_ipc_get_handle(module);
+       muse_player = (muse_player_handle_t *)muse_server_ipc_get_handle(module);
 
        ret = legacy_player_get_play_position(muse_player->player_handle, &pos);
 
@@ -1783,10 +1783,10 @@ int player_disp_set_mute(muse_module_h module)
 {
        int ret = PLAYER_ERROR_NONE;
        muse_player_api_e api = MUSE_PLAYER_API_SET_MUTE;
-       muse_player_handle_s *muse_player = NULL;
+       muse_player_handle_t *muse_player = NULL;
        int mute;
 
-       muse_player = (muse_player_handle_s *)muse_server_ipc_get_handle(module);
+       muse_player = (muse_player_handle_t *)muse_server_ipc_get_handle(module);
        player_msg_get(mute, muse_server_module_get_msg(module));
 
        ret = legacy_player_set_mute(muse_player->player_handle, (bool)mute);
@@ -1800,10 +1800,10 @@ int player_disp_is_muted(muse_module_h module)
 {
        int ret = PLAYER_ERROR_NONE;
        muse_player_api_e api = MUSE_PLAYER_API_IS_MUTED;
-       muse_player_handle_s *muse_player = NULL;
+       muse_player_handle_t *muse_player = NULL;
        bool mute;
 
-       muse_player = (muse_player_handle_s *)muse_server_ipc_get_handle(module);
+       muse_player = (muse_player_handle_t *)muse_server_ipc_get_handle(module);
 
        ret = legacy_player_is_muted(muse_player->player_handle, &mute);
 
@@ -1816,10 +1816,10 @@ int player_disp_set_looping(muse_module_h module)
 {
        int ret = PLAYER_ERROR_NONE;
        muse_player_api_e api = MUSE_PLAYER_API_SET_LOOPING;
-       muse_player_handle_s *muse_player = NULL;
+       muse_player_handle_t *muse_player = NULL;
        int looping;
 
-       muse_player = (muse_player_handle_s *)muse_server_ipc_get_handle(module);
+       muse_player = (muse_player_handle_t *)muse_server_ipc_get_handle(module);
        player_msg_get(looping, muse_server_module_get_msg(module));
 
        ret = legacy_player_set_looping(muse_player->player_handle, (bool)looping);
@@ -1833,10 +1833,10 @@ int player_disp_is_looping(muse_module_h module)
 {
        int ret = PLAYER_ERROR_NONE;
        muse_player_api_e api = MUSE_PLAYER_API_IS_LOOPING;
-       muse_player_handle_s *muse_player = NULL;
+       muse_player_handle_t *muse_player = NULL;
        bool looping;
 
-       muse_player = (muse_player_handle_s *)muse_server_ipc_get_handle(module);
+       muse_player = (muse_player_handle_t *)muse_server_ipc_get_handle(module);
 
        ret = legacy_player_is_looping(muse_player->player_handle, &looping);
 
@@ -1849,10 +1849,10 @@ int player_disp_get_duration(muse_module_h module)
 {
        int ret = PLAYER_ERROR_NONE;
        muse_player_api_e api = MUSE_PLAYER_API_GET_DURATION;
-       muse_player_handle_s *muse_player = NULL;
+       muse_player_handle_t *muse_player = NULL;
        int64_t duration = 0;
 
-       muse_player = (muse_player_handle_s *)muse_server_ipc_get_handle(module);
+       muse_player = (muse_player_handle_t *)muse_server_ipc_get_handle(module);
 
        ret = legacy_player_get_duration(muse_player->player_handle, &duration);
 
@@ -1865,11 +1865,11 @@ int player_disp_set_display(muse_module_h module)
 {
        int ret = PLAYER_ERROR_NONE;
        muse_player_api_e api = MUSE_PLAYER_API_SET_DISPLAY;
-       muse_player_handle_s *muse_player = NULL;
+       muse_player_handle_t *muse_player = NULL;
        wl_win_msg_type wl_win;
        char *wl_win_msg = (char *)&wl_win;
 
-       muse_player = (muse_player_handle_s *)muse_server_ipc_get_handle(module);
+       muse_player = (muse_player_handle_t *)muse_server_ipc_get_handle(module);
        player_msg_get_array(wl_win_msg, muse_server_module_get_msg(module));
        ret = legacy_player_set_display(muse_player->player_handle, wl_win.type, wl_win.surface_id);
        PLAYER_RETURN_MSG(api, ret, module);
@@ -1882,10 +1882,10 @@ int player_disp_set_display_mode(muse_module_h module)
 {
        int ret = PLAYER_ERROR_NONE;
        muse_player_api_e api = MUSE_PLAYER_API_SET_DISPLAY_MODE;
-       muse_player_handle_s *muse_player = NULL;
+       muse_player_handle_t *muse_player = NULL;
        int mode = 0;
 
-       muse_player = (muse_player_handle_s *)muse_server_ipc_get_handle(module);
+       muse_player = (muse_player_handle_t *)muse_server_ipc_get_handle(module);
        player_msg_get(mode, muse_server_module_get_msg(module));
 
        ret = legacy_player_set_display_mode(muse_player->player_handle, (player_display_mode_e)mode);
@@ -1900,10 +1900,10 @@ int player_disp_get_display_mode(muse_module_h module)
 {
        int ret = PLAYER_ERROR_NONE;
        muse_player_api_e api = MUSE_PLAYER_API_GET_DISPLAY_MODE;
-       muse_player_handle_s *muse_player = NULL;
+       muse_player_handle_t *muse_player = NULL;
        player_display_mode_e mode = 0;
 
-       muse_player = (muse_player_handle_s *)muse_server_ipc_get_handle(module);
+       muse_player = (muse_player_handle_t *)muse_server_ipc_get_handle(module);
 
        ret = legacy_player_get_display_mode(muse_player->player_handle, &mode);
 
@@ -1916,7 +1916,7 @@ int player_disp_set_video_roi_area(muse_module_h module)
 {
        int ret = PLAYER_ERROR_NONE;
        muse_player_api_e api = MUSE_PLAYER_API_SET_VIDEO_ROI_AREA;
-       muse_player_handle_s *muse_player = NULL;
+       muse_player_handle_t *muse_player = NULL;
        double x_scale = 0, y_scale = 0, w_scale = 0, h_scale = 0;
        bool ret_val = true;
 
@@ -1927,7 +1927,7 @@ int player_disp_set_video_roi_area(muse_module_h module)
                                        MUSE_TYPE_DOUBLE, "h_scale", (void *)&h_scale,
                                        INVALID_MUSE_TYPE_VALUE);
        if (ret_val) {
-               muse_player = (muse_player_handle_s *)muse_server_ipc_get_handle(module);
+               muse_player = (muse_player_handle_t *)muse_server_ipc_get_handle(module);
                ret = legacy_player_set_video_roi_area(muse_player->player_handle, x_scale,
                                y_scale, w_scale, h_scale);
        }
@@ -1941,10 +1941,10 @@ int player_disp_get_video_roi_area(muse_module_h module)
 {
        int ret = PLAYER_ERROR_NONE;
        muse_player_api_e api = MUSE_PLAYER_API_GET_VIDEO_ROI_AREA;
-       muse_player_handle_s *muse_player = NULL;
+       muse_player_handle_t *muse_player = NULL;
        double scale_x = 0, scale_y = 0, scale_w = 0, scale_h = 0;
 
-       muse_player = (muse_player_handle_s *)muse_server_ipc_get_handle(module);
+       muse_player = (muse_player_handle_t *)muse_server_ipc_get_handle(module);
 
        ret = legacy_player_get_video_roi_area(muse_player->player_handle, &scale_x,
                        &scale_y, &scale_w, &scale_h);
@@ -1961,11 +1961,11 @@ int player_disp_set_display_roi_area(muse_module_h module)
 {
        int ret = PLAYER_ERROR_NONE;
        muse_player_api_e api = MUSE_PLAYER_API_SET_DISPLAY_ROI_AREA;
-       muse_player_handle_s *muse_player = NULL;
+       muse_player_handle_t *muse_player = NULL;
        wl_win_msg_type wl_win;
        char *wl_win_msg = (char *)&wl_win;
 
-       muse_player = (muse_player_handle_s *)muse_server_ipc_get_handle(module);
+       muse_player = (muse_player_handle_t *)muse_server_ipc_get_handle(module);
 
        player_msg_get_array(wl_win_msg, muse_server_module_get_msg(module));
 
@@ -1981,10 +1981,10 @@ int player_disp_set_playback_rate(muse_module_h module)
 {
        int ret = PLAYER_ERROR_NONE;
        muse_player_api_e api = MUSE_PLAYER_API_SET_PLAYBACK_RATE;
-       muse_player_handle_s *muse_player = NULL;
+       muse_player_handle_t *muse_player = NULL;
        double rate = 0;
 
-       muse_player = (muse_player_handle_s *)muse_server_ipc_get_handle(module);
+       muse_player = (muse_player_handle_t *)muse_server_ipc_get_handle(module);
        player_msg_get_type(rate, muse_server_module_get_msg(module), DOUBLE);
 
        ret = legacy_player_set_playback_rate(muse_player->player_handle, (float)rate);
@@ -1998,10 +1998,10 @@ int player_disp_set_display_rotation(muse_module_h module)
 {
        int ret = PLAYER_ERROR_NONE;
        muse_player_api_e api = MUSE_PLAYER_API_SET_DISPLAY_ROTATION;
-       muse_player_handle_s *muse_player = NULL;
+       muse_player_handle_t *muse_player = NULL;
        int rotation = 0;
 
-       muse_player = (muse_player_handle_s *)muse_server_ipc_get_handle(module);
+       muse_player = (muse_player_handle_t *)muse_server_ipc_get_handle(module);
        player_msg_get(rotation, muse_server_module_get_msg(module));
 
        ret = legacy_player_set_display_rotation(muse_player->player_handle, (player_display_rotation_e)rotation);
@@ -2015,10 +2015,10 @@ int player_disp_get_display_rotation(muse_module_h module)
 {
        int ret = PLAYER_ERROR_NONE;
        muse_player_api_e api = MUSE_PLAYER_API_GET_DISPLAY_ROTATION;
-       muse_player_handle_s *muse_player = NULL;
+       muse_player_handle_t *muse_player = NULL;
        player_display_rotation_e rotation;
 
-       muse_player = (muse_player_handle_s *)muse_server_ipc_get_handle(module);
+       muse_player = (muse_player_handle_t *)muse_server_ipc_get_handle(module);
 
        ret = legacy_player_get_display_rotation(muse_player->player_handle, &rotation);
 
@@ -2031,10 +2031,10 @@ int player_disp_set_display_visible(muse_module_h module)
 {
        int ret = PLAYER_ERROR_NONE;
        muse_player_api_e api = MUSE_PLAYER_API_SET_DISPLAY_VISIBLE;
-       muse_player_handle_s *muse_player = NULL;
+       muse_player_handle_t *muse_player = NULL;
        int visible = 0;
 
-       muse_player = (muse_player_handle_s *)muse_server_ipc_get_handle(module);
+       muse_player = (muse_player_handle_t *)muse_server_ipc_get_handle(module);
        player_msg_get(visible, muse_server_module_get_msg(module));
 
        ret = legacy_player_set_display_visible(muse_player->player_handle, visible);
@@ -2048,10 +2048,10 @@ int player_disp_is_display_visible(muse_module_h module)
 {
        int ret = PLAYER_ERROR_NONE;
        muse_player_api_e api = MUSE_PLAYER_API_IS_DISPLAY_VISIBLE;
-       muse_player_handle_s *muse_player = NULL;
+       muse_player_handle_t *muse_player = NULL;
        bool value = 0;
 
-       muse_player = (muse_player_handle_s *)muse_server_ipc_get_handle(module);
+       muse_player = (muse_player_handle_t *)muse_server_ipc_get_handle(module);
 
        ret = legacy_player_is_display_visible(muse_player->player_handle, &value);
 
@@ -2063,12 +2063,12 @@ int player_disp_is_display_visible(muse_module_h module)
 int player_disp_get_content_info(muse_module_h module)
 {
        int ret = PLAYER_ERROR_NONE;
-       muse_player_handle_s *muse_player = NULL;
+       muse_player_handle_t *muse_player = NULL;
        muse_player_api_e api = MUSE_PLAYER_API_GET_CONTENT_INFO;
        char *value = NULL;
        player_content_info_e key;
 
-       muse_player = (muse_player_handle_s *)muse_server_ipc_get_handle(module);
+       muse_player = (muse_player_handle_t *)muse_server_ipc_get_handle(module);
        player_msg_get(key, muse_server_module_get_msg(module));
 
        ret = legacy_player_get_content_info(muse_player->player_handle, key, &value);
@@ -2087,12 +2087,12 @@ int player_disp_get_content_info(muse_module_h module)
 int player_disp_get_codec_info(muse_module_h module)
 {
        int ret = PLAYER_ERROR_NONE;
-       muse_player_handle_s *muse_player = NULL;
+       muse_player_handle_t *muse_player = NULL;
        muse_player_api_e api = MUSE_PLAYER_API_GET_CODEC_INFO;
        char *video_codec = NULL;
        char *audio_codec = NULL;
 
-       muse_player = (muse_player_handle_s *)muse_server_ipc_get_handle(module);
+       muse_player = (muse_player_handle_t *)muse_server_ipc_get_handle(module);
 
        ret = legacy_player_get_codec_info(muse_player->player_handle, &audio_codec, &video_codec);
 
@@ -2114,13 +2114,13 @@ int player_disp_get_codec_info(muse_module_h module)
 int player_disp_get_audio_stream_info(muse_module_h module)
 {
        int ret = PLAYER_ERROR_NONE;
-       muse_player_handle_s *muse_player = NULL;
+       muse_player_handle_t *muse_player = NULL;
        muse_player_api_e api = MUSE_PLAYER_API_GET_AUDIO_STREAM_INFO;
        int sample_rate = 0;
        int channel = 0;
        int bit_rate = 0;
 
-       muse_player = (muse_player_handle_s *)muse_server_ipc_get_handle(module);
+       muse_player = (muse_player_handle_t *)muse_server_ipc_get_handle(module);
 
        ret = legacy_player_get_audio_stream_info(muse_player->player_handle, &sample_rate, &channel, &bit_rate);
 
@@ -2135,12 +2135,12 @@ int player_disp_get_audio_stream_info(muse_module_h module)
 int player_disp_get_video_stream_info(muse_module_h module)
 {
        int ret = PLAYER_ERROR_NONE;
-       muse_player_handle_s *muse_player = NULL;
+       muse_player_handle_t *muse_player = NULL;
        muse_player_api_e api = MUSE_PLAYER_API_GET_VIDEO_STREAM_INFO;
        int fps = 0;
        int bit_rate = 0;
 
-       muse_player = (muse_player_handle_s *)muse_server_ipc_get_handle(module);
+       muse_player = (muse_player_handle_t *)muse_server_ipc_get_handle(module);
 
        ret = legacy_player_get_video_stream_info(muse_player->player_handle, &fps, &bit_rate);
 
@@ -2152,12 +2152,12 @@ int player_disp_get_video_stream_info(muse_module_h module)
 int player_disp_get_video_size(muse_module_h module)
 {
        int ret = PLAYER_ERROR_NONE;
-       muse_player_handle_s *muse_player = NULL;
+       muse_player_handle_t *muse_player = NULL;
        muse_player_api_e api = MUSE_PLAYER_API_GET_VIDEO_SIZE;
        int width = 0;
        int height = 0;
 
-       muse_player = (muse_player_handle_s *)muse_server_ipc_get_handle(module);
+       muse_player = (muse_player_handle_t *)muse_server_ipc_get_handle(module);
 
        ret = legacy_player_get_video_size(muse_player->player_handle, &width, &height);
 
@@ -2169,7 +2169,7 @@ int player_disp_get_video_size(muse_module_h module)
 int player_disp_get_album_art(muse_module_h module)
 {
        int ret = PLAYER_ERROR_NONE;
-       muse_player_handle_s *muse_player = NULL;
+       muse_player_handle_t *muse_player = NULL;
        muse_player_api_e api = MUSE_PLAYER_API_GET_ALBUM_ART;
        void *album_art = NULL;
        int size = 0;
@@ -2177,7 +2177,7 @@ int player_disp_get_album_art(muse_module_h module)
        tbm_fd tfd = INVALID_DEFAULT_VALUE;
        int key = INVALID_DEFAULT_VALUE;
 
-       muse_player = (muse_player_handle_s *)muse_server_ipc_get_handle(module);
+       muse_player = (muse_player_handle_t *)muse_server_ipc_get_handle(module);
        if (muse_player == NULL) {
                LOGE("handle is NULL");
                ret = PLAYER_ERROR_INVALID_OPERATION;
@@ -2213,11 +2213,11 @@ ERROR:
 int player_disp_audio_effect_get_equalizer_bands_count(muse_module_h module)
 {
        int ret = PLAYER_ERROR_NONE;
-       muse_player_handle_s *muse_player = NULL;
+       muse_player_handle_t *muse_player = NULL;
        muse_player_api_e api = MUSE_PLAYER_API_AUDIO_EFFECT_GET_EQUALIZER_BANDS_COUNT;
        int count;
 
-       muse_player = (muse_player_handle_s *)muse_server_ipc_get_handle(module);
+       muse_player = (muse_player_handle_t *)muse_server_ipc_get_handle(module);
 
        ret = legacy_player_audio_effect_get_equalizer_bands_count(muse_player->player_handle, &count);
 
@@ -2229,7 +2229,7 @@ int player_disp_audio_effect_get_equalizer_bands_count(muse_module_h module)
 int player_disp_audio_effect_set_equalizer_all_bands(muse_module_h module)
 {
        int ret = PLAYER_ERROR_NONE;
-       muse_player_handle_s *muse_player = NULL;
+       muse_player_handle_t *muse_player = NULL;
        muse_player_api_e api = MUSE_PLAYER_API_AUDIO_EFFECT_SET_EQUALIZER_ALL_BANDS;
        muse_core_msg_parse_err_e err = MUSE_MSG_PARSE_ERROR_NONE;
        int *band_levels = NULL;
@@ -2245,7 +2245,7 @@ int player_disp_audio_effect_set_equalizer_all_bands(muse_module_h module)
        band_levels = (int *)g_try_new0(int, length);
        if (band_levels) {
                if (muse_core_msg_object_get_value("band_levels", jobj, MUSE_TYPE_ARRAY, band_levels)) {
-                       muse_player = (muse_player_handle_s *)muse_server_ipc_get_handle(module);
+                       muse_player = (muse_player_handle_t *)muse_server_ipc_get_handle(module);
                        ret = legacy_player_audio_effect_set_equalizer_all_bands(muse_player->player_handle, band_levels, length);
                } else {
                        LOGE("failed to get cookie value from msg");
@@ -2268,7 +2268,7 @@ DONE:
 int player_disp_audio_effect_set_equalizer_band_level(muse_module_h module)
 {
        int ret = PLAYER_ERROR_NONE;
-       muse_player_handle_s *muse_player = NULL;
+       muse_player_handle_t *muse_player = NULL;
        muse_player_api_e api = MUSE_PLAYER_API_AUDIO_EFFECT_SET_EQUALIZER_BAND_LEVEL;
        int index = 0, level = 0;
        bool ret_val = true;
@@ -2278,7 +2278,7 @@ int player_disp_audio_effect_set_equalizer_band_level(muse_module_h module)
                                                                MUSE_TYPE_INT, "level", (void *)&level,
                                                                INVALID_MUSE_TYPE_VALUE);
        if (ret_val) {
-               muse_player = (muse_player_handle_s *)muse_server_ipc_get_handle(module);
+               muse_player = (muse_player_handle_t *)muse_server_ipc_get_handle(module);
                ret = legacy_player_audio_effect_set_equalizer_band_level(muse_player->player_handle, index, level);
        } else {
                ret = PLAYER_ERROR_INVALID_OPERATION;
@@ -2292,11 +2292,11 @@ int player_disp_audio_effect_set_equalizer_band_level(muse_module_h module)
 int player_disp_audio_effect_get_equalizer_band_level(muse_module_h module)
 {
        int ret = PLAYER_ERROR_NONE;
-       muse_player_handle_s *muse_player = NULL;
+       muse_player_handle_t *muse_player = NULL;
        muse_player_api_e api = MUSE_PLAYER_API_AUDIO_EFFECT_GET_EQUALIZER_BAND_LEVEL;
        int index, level;
 
-       muse_player = (muse_player_handle_s *)muse_server_ipc_get_handle(module);
+       muse_player = (muse_player_handle_t *)muse_server_ipc_get_handle(module);
        player_msg_get(index, muse_server_module_get_msg(module));
 
        ret = legacy_player_audio_effect_get_equalizer_band_level(muse_player->player_handle, index, &level);
@@ -2309,11 +2309,11 @@ int player_disp_audio_effect_get_equalizer_band_level(muse_module_h module)
 int player_disp_audio_effect_get_equalizer_level_range(muse_module_h module)
 {
        int ret = PLAYER_ERROR_NONE;
-       muse_player_handle_s *muse_player = NULL;
+       muse_player_handle_t *muse_player = NULL;
        muse_player_api_e api = MUSE_PLAYER_API_AUDIO_EFFECT_GET_EQUALIZER_LEVEL_RANGE;
        int min, max;
 
-       muse_player = (muse_player_handle_s *)muse_server_ipc_get_handle(module);
+       muse_player = (muse_player_handle_t *)muse_server_ipc_get_handle(module);
 
        ret = legacy_player_audio_effect_get_equalizer_level_range(muse_player->player_handle, &min, &max);
 
@@ -2325,11 +2325,11 @@ int player_disp_audio_effect_get_equalizer_level_range(muse_module_h module)
 int player_disp_audio_effect_get_equalizer_band_frequency(muse_module_h module)
 {
        int ret = PLAYER_ERROR_NONE;
-       muse_player_handle_s *muse_player = NULL;
+       muse_player_handle_t *muse_player = NULL;
        muse_player_api_e api = MUSE_PLAYER_API_AUDIO_EFFECT_GET_EQUALIZER_BAND_FREQUENCY;
        int index, frequency;
 
-       muse_player = (muse_player_handle_s *)muse_server_ipc_get_handle(module);
+       muse_player = (muse_player_handle_t *)muse_server_ipc_get_handle(module);
        player_msg_get(index, muse_server_module_get_msg(module));
 
        ret = legacy_player_audio_effect_get_equalizer_band_frequency(muse_player->player_handle, index, &frequency);
@@ -2342,11 +2342,11 @@ int player_disp_audio_effect_get_equalizer_band_frequency(muse_module_h module)
 int player_disp_audio_effect_get_equalizer_band_frequency_range(muse_module_h module)
 {
        int ret = PLAYER_ERROR_NONE;
-       muse_player_handle_s *muse_player = NULL;
+       muse_player_handle_t *muse_player = NULL;
        muse_player_api_e api = MUSE_PLAYER_API_AUDIO_EFFECT_GET_EQUALIZER_BAND_FREQUENCY_RANGE;
        int index, range;
 
-       muse_player = (muse_player_handle_s *)muse_server_ipc_get_handle(module);
+       muse_player = (muse_player_handle_t *)muse_server_ipc_get_handle(module);
        player_msg_get(index, muse_server_module_get_msg(module));
 
        ret = legacy_player_audio_effect_get_equalizer_band_frequency_range(muse_player->player_handle, index, &range);
@@ -2359,10 +2359,10 @@ int player_disp_audio_effect_get_equalizer_band_frequency_range(muse_module_h mo
 int player_disp_audio_effect_equalizer_clear(muse_module_h module)
 {
        int ret = PLAYER_ERROR_NONE;
-       muse_player_handle_s *muse_player = NULL;
+       muse_player_handle_t *muse_player = NULL;
        muse_player_api_e api = MUSE_PLAYER_API_AUDIO_EFFECT_EQUALIZER_CLEAR;
 
-       muse_player = (muse_player_handle_s *)muse_server_ipc_get_handle(module);
+       muse_player = (muse_player_handle_t *)muse_server_ipc_get_handle(module);
 
        ret = legacy_player_audio_effect_equalizer_clear(muse_player->player_handle);
 
@@ -2374,11 +2374,11 @@ int player_disp_audio_effect_equalizer_clear(muse_module_h module)
 int player_disp_audio_effect_equalizer_is_available(muse_module_h module)
 {
        int ret = PLAYER_ERROR_NONE;
-       muse_player_handle_s *muse_player = NULL;
+       muse_player_handle_t *muse_player = NULL;
        muse_player_api_e api = MUSE_PLAYER_API_AUDIO_EFFECT_EQUALIZER_IS_AVAILABLE;
        bool available;
 
-       muse_player = (muse_player_handle_s *)muse_server_ipc_get_handle(module);
+       muse_player = (muse_player_handle_t *)muse_server_ipc_get_handle(module);
 
        ret = legacy_player_audio_effect_equalizer_is_available(muse_player->player_handle, &available);
 
@@ -2390,10 +2390,10 @@ int player_disp_audio_effect_equalizer_is_available(muse_module_h module)
 int player_disp_capture_video(muse_module_h module)
 {
        int ret = PLAYER_ERROR_NONE;
-       muse_player_handle_s *muse_player = NULL;
+       muse_player_handle_t *muse_player = NULL;
        muse_player_api_e api = MUSE_PLAYER_API_CAPTURE_VIDEO;
 
-       muse_player = (muse_player_handle_s *)muse_server_ipc_get_handle(module);
+       muse_player = (muse_player_handle_t *)muse_server_ipc_get_handle(module);
 
        ret = legacy_player_capture_video(muse_player->player_handle, _capture_video_cb, module);
 
@@ -2405,7 +2405,7 @@ int player_disp_capture_video(muse_module_h module)
 int player_disp_set_streaming_cookie(muse_module_h module)
 {
        int ret = PLAYER_ERROR_NONE;
-       muse_player_handle_s *muse_player = NULL;
+       muse_player_handle_t *muse_player = NULL;
        muse_player_api_e api = MUSE_PLAYER_API_SET_STREAMING_COOKIE;
        muse_core_msg_parse_err_e err = MUSE_MSG_PARSE_ERROR_NONE;
        char *cookie = NULL;
@@ -2421,7 +2421,7 @@ int player_disp_set_streaming_cookie(muse_module_h module)
        cookie = (char *)g_try_new0(char, size + 1);
        if (cookie) {
                if (muse_core_msg_object_get_value("cookie", jobj, MUSE_TYPE_STRING, cookie)) {
-                       muse_player = (muse_player_handle_s *)muse_server_ipc_get_handle(module);
+                       muse_player = (muse_player_handle_t *)muse_server_ipc_get_handle(module);
                        ret = legacy_player_set_streaming_cookie(muse_player->player_handle, cookie, size);
                } else {
                        LOGE("failed to get cookie value from msg");
@@ -2444,7 +2444,7 @@ DONE:
 int player_disp_set_streaming_user_agent(muse_module_h module)
 {
        int ret = PLAYER_ERROR_NONE;
-       muse_player_handle_s *muse_player = NULL;
+       muse_player_handle_t *muse_player = NULL;
        muse_player_api_e api = MUSE_PLAYER_API_SET_STREAMING_USER_AGENT;
        muse_core_msg_parse_err_e err = MUSE_MSG_PARSE_ERROR_NONE;
        char *user_agent = NULL;
@@ -2460,7 +2460,7 @@ int player_disp_set_streaming_user_agent(muse_module_h module)
        user_agent = (char *)g_try_new0(char, size + 1);
        if (user_agent) {
                if (muse_core_msg_object_get_value("user_agent", jobj, MUSE_TYPE_STRING, user_agent)) {
-                       muse_player = (muse_player_handle_s *)muse_server_ipc_get_handle(module);
+                       muse_player = (muse_player_handle_t *)muse_server_ipc_get_handle(module);
                        ret = legacy_player_set_streaming_user_agent(muse_player->player_handle, user_agent, size);
                } else {
                        LOGE("failed to get user_agent value from msg");
@@ -2483,11 +2483,11 @@ DONE:
 int player_disp_get_streaming_download_progress(muse_module_h module)
 {
        int ret = PLAYER_ERROR_NONE;
-       muse_player_handle_s *muse_player = NULL;
+       muse_player_handle_t *muse_player = NULL;
        muse_player_api_e api = MUSE_PLAYER_API_GET_STREAMING_DOWNLOAD_PROGRESS;
        int start_pos = 0, end_pos = 0;
 
-       muse_player = (muse_player_handle_s *)muse_server_ipc_get_handle(module);
+       muse_player = (muse_player_handle_t *)muse_server_ipc_get_handle(module);
 
        ret = legacy_player_get_streaming_download_progress(muse_player->player_handle, &start_pos, &end_pos);
 
@@ -2499,11 +2499,11 @@ int player_disp_get_streaming_download_progress(muse_module_h module)
 int player_disp_set_subtitle_path(muse_module_h module)
 {
        int ret = PLAYER_ERROR_NONE;
-       muse_player_handle_s *muse_player = NULL;
+       muse_player_handle_t *muse_player = NULL;
        muse_player_api_e api = MUSE_PLAYER_API_SET_SUBTITLE_PATH;
        char subtitle_path[MUSE_URI_MAX_LENGTH] = { 0, };
 
-       muse_player = (muse_player_handle_s *)muse_server_ipc_get_handle(module);
+       muse_player = (muse_player_handle_t *)muse_server_ipc_get_handle(module);
        player_msg_get_string(subtitle_path, muse_server_module_get_msg(module));
 
        if (strncmp(subtitle_path, "", 1)) {
@@ -2521,11 +2521,11 @@ int player_disp_set_subtitle_path(muse_module_h module)
 int player_disp_set_subtitle_position_offset(muse_module_h module)
 {
        int ret = PLAYER_ERROR_NONE;
-       muse_player_handle_s *muse_player = NULL;
+       muse_player_handle_t *muse_player = NULL;
        muse_player_api_e api = MUSE_PLAYER_API_SET_SUBTITLE_POSITION_OFFSET;
        int milliseconds;
 
-       muse_player = (muse_player_handle_s *)muse_server_ipc_get_handle(module);
+       muse_player = (muse_player_handle_t *)muse_server_ipc_get_handle(module);
        player_msg_get(milliseconds, muse_server_module_get_msg(module));
 
        ret = legacy_player_set_subtitle_position_offset(muse_player->player_handle, milliseconds);
@@ -2538,7 +2538,7 @@ int player_disp_set_subtitle_position_offset(muse_module_h module)
 int player_disp_push_media_stream(muse_module_h module)
 {
        int ret = MEDIA_FORMAT_ERROR_NONE;
-       muse_player_handle_s *muse_player = NULL;
+       muse_player_handle_t *muse_player = NULL;
        muse_player_api_e api = MUSE_PLAYER_API_PUSH_MEDIA_STREAM;
        muse_core_msg_parse_err_e err = MUSE_MSG_PARSE_ERROR_NONE;
        player_push_media_msg_type push_media;
@@ -2548,7 +2548,7 @@ int player_disp_push_media_stream(muse_module_h module)
        tbm_fd tfd = INVALID_DEFAULT_VALUE;
        char *buf = NULL;
 
-       muse_player = (muse_player_handle_s *)muse_server_ipc_get_handle(module);
+       muse_player = (muse_player_handle_t *)muse_server_ipc_get_handle(module);
        void *jobj = muse_core_msg_object_new(muse_server_module_get_msg(module), NULL, &err);
        if (!jobj || !muse_core_msg_object_get_value("push_media_msg", jobj, MUSE_TYPE_ARRAY, push_media_msg)) {
                LOGE("failed to get msg object. jobj:%p, err:%d", jobj, err);
@@ -2612,7 +2612,7 @@ push_media_stream_exit1:
 int player_disp_set_media_stream_info(muse_module_h module)
 {
        int ret = PLAYER_ERROR_NONE;
-       muse_player_handle_s *muse_player = NULL;
+       muse_player_handle_t *muse_player = NULL;
        muse_player_api_e api = MUSE_PLAYER_API_SET_MEDIA_STREAM_INFO;
        media_format_mimetype_e mimetype;
        player_stream_type_e type;
@@ -2626,7 +2626,7 @@ int player_disp_set_media_stream_info(muse_module_h module)
        int bit = 0;
        int frame_rate = 0;
 
-       muse_player = (muse_player_handle_s *)muse_server_ipc_get_handle(module);
+       muse_player = (muse_player_handle_t *)muse_server_ipc_get_handle(module);
        player_msg_get(mimetype, muse_server_module_get_msg(module));
        player_msg_get(type, muse_server_module_get_msg(module));
        player_msg_get(avg_bps, muse_server_module_get_msg(module));
@@ -2680,7 +2680,7 @@ set_media_stream_info_exit:
 int player_disp_set_callback(muse_module_h module)
 {
        int ret = PLAYER_ERROR_NONE;
-       muse_player_handle_s *muse_player = NULL;
+       muse_player_handle_t *muse_player = NULL;
        muse_player_event_e type;
        int set = 0;
        bool ret_val = true;
@@ -2691,7 +2691,7 @@ int player_disp_set_callback(muse_module_h module)
                                                                INVALID_MUSE_TYPE_VALUE);
 
        if (ret_val) {
-               muse_player = (muse_player_handle_s *)muse_server_ipc_get_handle(module);
+               muse_player = (muse_player_handle_t *)muse_server_ipc_get_handle(module);
                if (type < MUSE_PLAYER_EVENT_TYPE_NUM && set_callback_func[type] != NULL)
                        set_callback_func[type] (muse_player->player_handle, module, set);
        } else {
@@ -2703,13 +2703,13 @@ int player_disp_set_callback(muse_module_h module)
 
 int player_disp_return_video_data(muse_module_h module) /* MUSE_PLAYER_API_RETURN_VIDEO_DATA */
 {
-       MMPlayerVideoStreamDataType *v_data = NULL;
-       muse_player_handle_s *muse_player = NULL;
+       mmplayer_video_decoded_data_info_t *v_data = NULL;
+       muse_player_handle_t *muse_player = NULL;
        bool find_data = false;
 
        player_msg_get_type(v_data, muse_server_module_get_msg(module), POINTER);
 
-       muse_player = (muse_player_handle_s *)muse_server_ipc_get_handle(module);
+       muse_player = (muse_player_handle_t *)muse_server_ipc_get_handle(module);
        if (muse_player && muse_player->video_data_list) {
                g_mutex_lock(&muse_player->list_lock);
                if (g_list_find(muse_player->video_data_list, v_data)) {
@@ -2730,7 +2730,7 @@ int player_disp_return_video_data(muse_module_h module) /* MUSE_PLAYER_API_RETUR
 int player_disp_set_media_stream_buffer_max_size(muse_module_h module)
 {
        int ret = PLAYER_ERROR_NONE;
-       muse_player_handle_s *muse_player = NULL;
+       muse_player_handle_t *muse_player = NULL;
        muse_player_api_e api = MUSE_PLAYER_API_SET_MEDIA_STREAM_BUFFER_MAX_SIZE;
        player_stream_type_e type;
        unsigned long long max_size;
@@ -2741,7 +2741,7 @@ int player_disp_set_media_stream_buffer_max_size(muse_module_h module)
                                                                MUSE_TYPE_INT64, "max_size", (void *)&max_size,
                                                                INVALID_MUSE_TYPE_VALUE);
        if (ret_val) {
-               muse_player = (muse_player_handle_s *)muse_server_ipc_get_handle(module);
+               muse_player = (muse_player_handle_t *)muse_server_ipc_get_handle(module);
                ret = legacy_player_set_media_stream_buffer_max_size(muse_player->player_handle, type, max_size);
        } else {
                ret = PLAYER_ERROR_INVALID_OPERATION;
@@ -2756,13 +2756,13 @@ int player_disp_set_media_stream_buffer_max_size(muse_module_h module)
 int player_disp_get_media_stream_buffer_max_size(muse_module_h module)
 {
        int ret = PLAYER_ERROR_NONE;
-       muse_player_handle_s *muse_player = NULL;
+       muse_player_handle_t *muse_player = NULL;
        muse_player_api_e api = MUSE_PLAYER_API_GET_MEDIA_STREAM_BUFFER_MAX_SIZE;
        player_stream_type_e type;
        unsigned long long max_size;
        /* unsigned upper_max_size, lower_max_size; */
 
-       muse_player = (muse_player_handle_s *)muse_server_ipc_get_handle(module);
+       muse_player = (muse_player_handle_t *)muse_server_ipc_get_handle(module);
        player_msg_get(type, muse_server_module_get_msg(module));
 
        ret = legacy_player_get_media_stream_buffer_max_size(muse_player->player_handle, type, &max_size);
@@ -2777,7 +2777,7 @@ int player_disp_get_media_stream_buffer_max_size(muse_module_h module)
 int player_disp_set_media_stream_buffer_min_threshold(muse_module_h module)
 {
        int ret = PLAYER_ERROR_NONE;
-       muse_player_handle_s *muse_player = NULL;
+       muse_player_handle_t *muse_player = NULL;
        muse_player_api_e api = MUSE_PLAYER_API_SET_MEDIA_STREAM_BUFFER_MIN_THRESHOLD;
        player_stream_type_e type;
        unsigned percent = 0;
@@ -2788,7 +2788,7 @@ int player_disp_set_media_stream_buffer_min_threshold(muse_module_h module)
                                                                MUSE_TYPE_INT, "percent", (void *)&percent,
                                                                INVALID_MUSE_TYPE_VALUE);
        if (ret_val) {
-               muse_player = (muse_player_handle_s *)muse_server_ipc_get_handle(module);
+               muse_player = (muse_player_handle_t *)muse_server_ipc_get_handle(module);
                ret = legacy_player_set_media_stream_buffer_min_threshold(muse_player->player_handle, type, percent);
        } else {
                ret = PLAYER_ERROR_INVALID_OPERATION;
@@ -2801,12 +2801,12 @@ int player_disp_set_media_stream_buffer_min_threshold(muse_module_h module)
 int player_disp_get_media_stream_buffer_min_threshold(muse_module_h module)
 {
        int ret = PLAYER_ERROR_NONE;
-       muse_player_handle_s *muse_player = NULL;
+       muse_player_handle_t *muse_player = NULL;
        muse_player_api_e api = MUSE_PLAYER_API_GET_MEDIA_STREAM_BUFFER_MIN_THRESHOLD;
        player_stream_type_e type;
        unsigned percent;
 
-       muse_player = (muse_player_handle_s *)muse_server_ipc_get_handle(module);
+       muse_player = (muse_player_handle_t *)muse_server_ipc_get_handle(module);
        player_msg_get(type, muse_server_module_get_msg(module));
 
        ret = legacy_player_get_media_stream_buffer_min_threshold(muse_player->player_handle, type, &percent);
@@ -2822,10 +2822,10 @@ int player_disp_set_media_stream_dynamic_resolution(muse_module_h module)
 {
        int ret = PLAYER_ERROR_NONE;
        muse_player_api_e api = MUSE_PLAYER_API_SET_MEDIA_STREAM_DYNAMIC_RESOLUTION;
-       muse_player_handle_s *muse_player = NULL;
+       muse_player_handle_t *muse_player = NULL;
        int drc = 0;
 
-       muse_player = (muse_player_handle_s *)muse_server_ipc_get_handle(module);
+       muse_player = (muse_player_handle_t *)muse_server_ipc_get_handle(module);
        player_msg_get(drc, muse_server_module_get_msg(module));
 
        ret = legacy_player_set_media_stream_dynamic_resolution(muse_player->player_handle, (bool)drc);
@@ -2839,12 +2839,12 @@ int player_disp_set_media_stream_dynamic_resolution(muse_module_h module)
 int player_disp_get_track_count(muse_module_h module)
 {
        int ret = PLAYER_ERROR_NONE;
-       muse_player_handle_s *muse_player = NULL;
+       muse_player_handle_t *muse_player = NULL;
        muse_player_api_e api = MUSE_PLAYER_API_GET_TRACK_COUNT;
        player_stream_type_e type;
        int count;
 
-       muse_player = (muse_player_handle_s *)muse_server_ipc_get_handle(module);
+       muse_player = (muse_player_handle_t *)muse_server_ipc_get_handle(module);
        player_msg_get(type, muse_server_module_get_msg(module));
 
        ret = legacy_player_get_track_count(muse_player->player_handle, type, &count);
@@ -2859,12 +2859,12 @@ int player_disp_get_track_count(muse_module_h module)
 int player_disp_get_current_track(muse_module_h module)
 {
        int ret = PLAYER_ERROR_NONE;
-       muse_player_handle_s *muse_player = NULL;
+       muse_player_handle_t *muse_player = NULL;
        muse_player_api_e api = MUSE_PLAYER_API_GET_CURRENT_TRACK;
        player_stream_type_e type;
        int index;
 
-       muse_player = (muse_player_handle_s *)muse_server_ipc_get_handle(module);
+       muse_player = (muse_player_handle_t *)muse_server_ipc_get_handle(module);
        player_msg_get(type, muse_server_module_get_msg(module));
 
        ret = legacy_player_get_current_track(muse_player->player_handle, type, &index);
@@ -2879,7 +2879,7 @@ int player_disp_get_current_track(muse_module_h module)
 int player_disp_select_track(muse_module_h module)
 {
        int ret = PLAYER_ERROR_NONE;
-       muse_player_handle_s *muse_player = NULL;
+       muse_player_handle_t *muse_player = NULL;
        muse_player_api_e api = MUSE_PLAYER_API_SELECT_TRACK;
        player_stream_type_e type;
        int index = 0;
@@ -2890,7 +2890,7 @@ int player_disp_select_track(muse_module_h module)
                                                                MUSE_TYPE_INT, "index", (void *)&index,
                                                                INVALID_MUSE_TYPE_VALUE);
        if (ret_val) {
-               muse_player = (muse_player_handle_s *)muse_server_ipc_get_handle(module);
+               muse_player = (muse_player_handle_t *)muse_server_ipc_get_handle(module);
                ret = legacy_player_select_track(muse_player->player_handle, type, index);
        } else {
                ret = PLAYER_ERROR_INVALID_OPERATION;
@@ -2903,7 +2903,7 @@ int player_disp_select_track(muse_module_h module)
 int player_disp_get_track_language_code(muse_module_h module)
 {
        int ret = PLAYER_ERROR_NONE;
-       muse_player_handle_s *muse_player = NULL;
+       muse_player_handle_t *muse_player = NULL;
        muse_player_api_e api = MUSE_PLAYER_API_GET_TRACK_LANGUAGE_CODE;
        player_stream_type_e type = PLAYER_STREAM_TYPE_DEFAULT;
        int index = 0;
@@ -2916,7 +2916,7 @@ int player_disp_get_track_language_code(muse_module_h module)
                                                                MUSE_TYPE_INT, "index", (void *)&index,
                                                                INVALID_MUSE_TYPE_VALUE);
        if (ret_val) {
-               muse_player = (muse_player_handle_s *)muse_server_ipc_get_handle(module);
+               muse_player = (muse_player_handle_t *)muse_server_ipc_get_handle(module);
                ret = legacy_player_get_track_language_code(muse_player->player_handle, type, index, &code, &code_len);
        } else {
                ret = PLAYER_ERROR_INVALID_OPERATION;
@@ -2938,11 +2938,11 @@ int player_disp_get_track_language_code(muse_module_h module)
 int player_disp_set_pcm_extraction_mode(muse_module_h module)
 {
        int ret = PLAYER_ERROR_NONE;
-       muse_player_handle_s *muse_player = NULL;
+       muse_player_handle_t *muse_player = NULL;
        muse_player_api_e api = MUSE_PLAYER_API_SET_PCM_EXTRACTION_MODE;
        int sync;
 
-       muse_player = (muse_player_handle_s *)muse_server_ipc_get_handle(module);
+       muse_player = (muse_player_handle_t *)muse_server_ipc_get_handle(module);
        player_msg_get(sync, muse_server_module_get_msg(module));
 
        ret = legacy_player_set_pcm_extraction_mode(muse_player->player_handle, sync, _audio_frame_decoded_cb, module);
@@ -2955,7 +2955,7 @@ int player_disp_set_pcm_extraction_mode(muse_module_h module)
 int player_disp_set_pcm_spec(muse_module_h module)
 {
        int ret = PLAYER_ERROR_NONE;
-       muse_player_handle_s *muse_player = NULL;
+       muse_player_handle_t *muse_player = NULL;
        muse_player_api_e api = MUSE_PLAYER_API_SET_PCM_SPEC;
        char format[MUSE_URI_MAX_LENGTH] = { 0, };
        int samplerate = 0;
@@ -2968,7 +2968,7 @@ int player_disp_set_pcm_spec(muse_module_h module)
                                                                MUSE_TYPE_STRING, "format", (void *)format,
                                                                INVALID_MUSE_TYPE_VALUE);
        if (ret_val) {
-               muse_player = (muse_player_handle_s *)muse_server_ipc_get_handle(module);
+               muse_player = (muse_player_handle_t *)muse_server_ipc_get_handle(module);
                ret = legacy_player_set_pcm_spec(muse_player->player_handle, format, samplerate, channel);
        } else {
                ret = PLAYER_ERROR_INVALID_OPERATION;
@@ -2982,11 +2982,11 @@ int player_disp_set_pcm_spec(muse_module_h module)
 int player_disp_set_streaming_playback_rate(muse_module_h module)
 {
        int ret = PLAYER_ERROR_NONE;
-       muse_player_handle_s *muse_player = NULL;
+       muse_player_handle_t *muse_player = NULL;
        muse_player_api_e api = MUSE_PLAYER_API_SET_STREAMING_PLAYBACK_RATE;
        double rate = 0;
 
-       muse_player = (muse_player_handle_s *)muse_server_ipc_get_handle(module);
+       muse_player = (muse_player_handle_t *)muse_server_ipc_get_handle(module);
        player_msg_get_type(rate, muse_server_module_get_msg(module), DOUBLE);
 
        ret = legacy_player_set_streaming_playback_rate(muse_player->player_handle, (float)rate);
@@ -2999,9 +2999,9 @@ int player_disp_set_streaming_playback_rate(muse_module_h module)
 int player_disp_return_buffer(muse_module_h module)    /* MUSE_PLAYER_API_RETURN_BUFFER */
 {
        int key = 0;
-       /* muse_player_handle_s *muse_player = NULL; */
+       /* muse_player_handle_t *muse_player = NULL; */
 
-       /* muse_player = (muse_player_handle_s *)muse_server_ipc_get_handle(module); */
+       /* muse_player = (muse_player_handle_t *)muse_server_ipc_get_handle(module); */
 
        player_msg_get(key, muse_server_module_get_msg(module));
 
@@ -3020,10 +3020,10 @@ int player_disp_set_next_uri(muse_module_h module)
 {
        int ret = PLAYER_ERROR_NONE;
        muse_player_api_e api = MUSE_PLAYER_API_SET_NEXT_URI;
-       muse_player_handle_s *muse_player = NULL;
+       muse_player_handle_t *muse_player = NULL;
        char path[MUSE_URI_MAX_LENGTH] = { 0, };
 
-       muse_player = (muse_player_handle_s *)muse_server_ipc_get_handle(module);
+       muse_player = (muse_player_handle_t *)muse_server_ipc_get_handle(module);
        player_msg_get_string(path, muse_server_module_get_msg(module));
 
        ret = legacy_player_set_next_uri(muse_player->player_handle, path);
@@ -3037,10 +3037,10 @@ int player_disp_get_next_uri(muse_module_h module)
 {
        int ret = PLAYER_ERROR_NONE;
        muse_player_api_e api = MUSE_PLAYER_API_GET_NEXT_URI;
-       muse_player_handle_s *muse_player = NULL;
+       muse_player_handle_t *muse_player = NULL;
        char *next_uri = NULL;
 
-       muse_player = (muse_player_handle_s *)muse_server_ipc_get_handle(module);
+       muse_player = (muse_player_handle_t *)muse_server_ipc_get_handle(module);
 
        ret = legacy_player_get_next_uri(muse_player->player_handle, &next_uri);
        if (ret == PLAYER_ERROR_NONE) {
@@ -3058,10 +3058,10 @@ int player_disp_set_gapless(muse_module_h module)
 {
        int ret = PLAYER_ERROR_NONE;
        muse_player_api_e api = MUSE_PLAYER_API_SET_GAPLESS;
-       muse_player_handle_s *muse_player = NULL;
+       muse_player_handle_t *muse_player = NULL;
        int gapless = 0;
 
-       muse_player = (muse_player_handle_s *)muse_server_ipc_get_handle(module);
+       muse_player = (muse_player_handle_t *)muse_server_ipc_get_handle(module);
        player_msg_get(gapless, muse_server_module_get_msg(module));
 
        ret = legacy_player_set_gapless(muse_player->player_handle, (bool)gapless);
@@ -3075,10 +3075,10 @@ int player_disp_is_gapless(muse_module_h module)
 {
        int ret = PLAYER_ERROR_NONE;
        muse_player_api_e api = MUSE_PLAYER_API_IS_GAPLESS;
-       muse_player_handle_s *muse_player = NULL;
+       muse_player_handle_t *muse_player = NULL;
        bool value = false;
 
-       muse_player = (muse_player_handle_s *)muse_server_ipc_get_handle(module);
+       muse_player = (muse_player_handle_t *)muse_server_ipc_get_handle(module);
 
        ret = legacy_player_is_gapless(muse_player->player_handle, &value);
 
@@ -3091,10 +3091,10 @@ int player_disp_get_media_packet_video_frame_pool_size(muse_module_h module)
 {
        int ret = PLAYER_ERROR_NONE;
        muse_player_api_e api = MUSE_PLAYER_API_GET_MEDIA_PACKET_VIDEO_FRAME_POOL_SIZE;
-       muse_player_handle_s *muse_player = NULL;
+       muse_player_handle_t *muse_player = NULL;
        int value = 0;
 
-       muse_player = (muse_player_handle_s *)muse_server_ipc_get_handle(module);
+       muse_player = (muse_player_handle_t *)muse_server_ipc_get_handle(module);
 
        LOGD("size of v buffer: %d", muse_player->total_size_of_buffers);
        if (muse_player->total_size_of_buffers > DEFAULT_VDEC_TOTAL_SIZE_OF_BUFFER) {
@@ -3112,10 +3112,10 @@ int player_disp_enable_media_packet_video_frame_decoded_cb(muse_module_h module)
 {
        int ret = PLAYER_ERROR_NONE;
        muse_player_api_e api = MUSE_PLAYER_API_ENABLE_MEDIA_PACKET_VIDEO_FRAME_DECODED_CB;
-       muse_player_handle_s *muse_player = NULL;
+       muse_player_handle_t *muse_player = NULL;
        int enable = 0;
 
-       muse_player = (muse_player_handle_s *)muse_server_ipc_get_handle(module);
+       muse_player = (muse_player_handle_t *)muse_server_ipc_get_handle(module);
        player_msg_get(enable, muse_server_module_get_msg(module));
 
        ret = legacy_player_enable_media_packet_video_frame_decoded_cb(muse_player->player_handle, (bool)enable);
@@ -3129,11 +3129,11 @@ int player_disp_get_adaptive_variant_info(muse_module_h module)
 {
        int ret = PLAYER_ERROR_NONE;
        muse_player_api_e api = MUSE_PLAYER_API_GET_ADAPTIVE_VARIANT_INFO;
-       muse_player_handle_s *muse_player = NULL;
+       muse_player_handle_t *muse_player = NULL;
        char *var_info = NULL;
        int num = 0;
 
-       muse_player = (muse_player_handle_s *)muse_server_ipc_get_handle(module);
+       muse_player = (muse_player_handle_t *)muse_server_ipc_get_handle(module);
 
        ret = legacy_player_get_adaptive_variant_info(muse_player->player_handle, &num, &var_info);
 
@@ -3153,7 +3153,7 @@ int player_disp_set_max_adaptive_variant_limit(muse_module_h module)
 {
        int ret = PLAYER_ERROR_NONE;
        muse_player_api_e api = MUSE_PLAYER_API_SET_MAX_ADAPTIVE_VARIANT_LIMIT;
-       muse_player_handle_s *muse_player = NULL;
+       muse_player_handle_t *muse_player = NULL;
        bool ret_val = true;
        int bandwidth = ADAPTIVE_VARIANT_DEFAULT_VALUE;
        int width = ADAPTIVE_VARIANT_DEFAULT_VALUE;
@@ -3165,7 +3165,7 @@ int player_disp_set_max_adaptive_variant_limit(muse_module_h module)
                                                                MUSE_TYPE_INT, "height", (void *)&height,
                                                                INVALID_MUSE_TYPE_VALUE);
        if (ret_val) {
-               muse_player = (muse_player_handle_s *)muse_server_ipc_get_handle(module);
+               muse_player = (muse_player_handle_t *)muse_server_ipc_get_handle(module);
                ret = legacy_player_set_max_adaptive_variant_limit(muse_player->player_handle, bandwidth, width, height);
        } else {
                ret = PLAYER_ERROR_INVALID_OPERATION;
@@ -3179,12 +3179,12 @@ int player_disp_get_max_adaptive_variant_limit(muse_module_h module)
 {
        int ret = PLAYER_ERROR_NONE;
        muse_player_api_e api = MUSE_PLAYER_API_GET_MAX_ADAPTIVE_VARIANT_LIMIT;
-       muse_player_handle_s *muse_player = NULL;
+       muse_player_handle_t *muse_player = NULL;
        int bandwidth = ADAPTIVE_VARIANT_DEFAULT_VALUE;
        int width = ADAPTIVE_VARIANT_DEFAULT_VALUE;
        int height = ADAPTIVE_VARIANT_DEFAULT_VALUE;
 
-       muse_player = (muse_player_handle_s *)muse_server_ipc_get_handle(module);
+       muse_player = (muse_player_handle_t *)muse_server_ipc_get_handle(module);
 
        ret = legacy_player_get_max_adaptive_variant_limit(muse_player->player_handle, &bandwidth, &width, &height);
        if (ret == PLAYER_ERROR_NONE)
@@ -3202,10 +3202,10 @@ int player_disp_set_audio_only(muse_module_h module)
 {
        int ret = PLAYER_ERROR_NONE;
        muse_player_api_e api = MUSE_PLAYER_API_SET_AUDIO_ONLY;
-       muse_player_handle_s *muse_player = NULL;
+       muse_player_handle_t *muse_player = NULL;
        int audio_only = 0;
 
-       muse_player = (muse_player_handle_s *)muse_server_ipc_get_handle(module);
+       muse_player = (muse_player_handle_t *)muse_server_ipc_get_handle(module);
        player_msg_get(audio_only, muse_server_module_get_msg(module));
 
        ret = legacy_player_set_audio_only(muse_player->player_handle, (bool)audio_only);
@@ -3219,10 +3219,10 @@ int player_disp_is_audio_only(muse_module_h module)
 {
        int ret = PLAYER_ERROR_NONE;
        muse_player_api_e api = MUSE_PLAYER_API_IS_AUDIO_ONLY;
-       muse_player_handle_s *muse_player = NULL;
+       muse_player_handle_t *muse_player = NULL;
        bool audio_only;
 
-       muse_player = (muse_player_handle_s *)muse_server_ipc_get_handle(module);
+       muse_player = (muse_player_handle_t *)muse_server_ipc_get_handle(module);
 
        ret = legacy_player_is_audio_only(muse_player->player_handle, &audio_only);
 
@@ -3235,7 +3235,7 @@ int player_disp_set_streaming_buffering_time(muse_module_h module)
 {
        int ret = PLAYER_ERROR_NONE;
        muse_player_api_e api = MUSE_PLAYER_API_SET_STREAMING_BUFFERING_TIME;
-       muse_player_handle_s *muse_player = NULL;
+       muse_player_handle_t *muse_player = NULL;
        int prebuffer_ms = -1, rebuffer_ms = -1;
        bool ret_val = true;
 
@@ -3244,7 +3244,7 @@ int player_disp_set_streaming_buffering_time(muse_module_h module)
                                                                MUSE_TYPE_INT, "rebuffer_ms", (void *)&rebuffer_ms,
                                                                INVALID_MUSE_TYPE_VALUE);
        if (ret_val) {
-               muse_player = (muse_player_handle_s *)muse_server_ipc_get_handle(module);
+               muse_player = (muse_player_handle_t *)muse_server_ipc_get_handle(module);
                ret = legacy_player_set_streaming_buffering_time(muse_player->player_handle, prebuffer_ms, rebuffer_ms);
        } else {
                ret = PLAYER_ERROR_INVALID_OPERATION; /* FIXME: mismatch with API return type */
@@ -3258,10 +3258,10 @@ int player_disp_get_streaming_buffering_time(muse_module_h module)
 {
        int ret = PLAYER_ERROR_NONE;
        muse_player_api_e api = MUSE_PLAYER_API_GET_STREAMING_BUFFERING_TIME;
-       muse_player_handle_s *muse_player = NULL;
+       muse_player_handle_t *muse_player = NULL;
        int prebuffer_ms = 0, rebuffer_ms = 0;
 
-       muse_player = (muse_player_handle_s *)muse_server_ipc_get_handle(module);
+       muse_player = (muse_player_handle_t *)muse_server_ipc_get_handle(module);
 
        ret = legacy_player_get_streaming_buffering_time(muse_player->player_handle, &prebuffer_ms, &rebuffer_ms);
        if (ret == PLAYER_ERROR_NONE)
@@ -3277,10 +3277,10 @@ int player_disp_360_is_content_spherical(muse_module_h module)
 {
        int ret = PLAYER_ERROR_NONE;
        muse_player_api_e api = MUSE_PLAYER_API_360_IS_CONTENT_SPHERICAL;
-       muse_player_handle_s *muse_player = NULL;
+       muse_player_handle_t *muse_player = NULL;
        bool val;
 
-       muse_player = (muse_player_handle_s *)muse_server_ipc_get_handle(module);
+       muse_player = (muse_player_handle_t *)muse_server_ipc_get_handle(module);
 
        ret = legacy_player_360_is_content_spherical(muse_player->player_handle, &val);
 
@@ -3292,10 +3292,10 @@ int player_disp_360_set_enabled(muse_module_h module)
 {
        int ret = PLAYER_ERROR_NONE;
        muse_player_api_e api = MUSE_PLAYER_API_360_SET_ENABLED;
-       muse_player_handle_s *muse_player = NULL;
+       muse_player_handle_t *muse_player = NULL;
        int val = 0;
 
-       muse_player = (muse_player_handle_s *)muse_server_ipc_get_handle(module);
+       muse_player = (muse_player_handle_t *)muse_server_ipc_get_handle(module);
        player_msg_get(val, muse_server_module_get_msg(module));
 
        ret = legacy_player_360_set_enabled(muse_player->player_handle, (bool)val);
@@ -3308,10 +3308,10 @@ int player_disp_360_is_enabled(muse_module_h module)
 {
        int ret = PLAYER_ERROR_NONE;
        muse_player_api_e api = MUSE_PLAYER_API_360_IS_ENABLED;
-       muse_player_handle_s *muse_player = NULL;
+       muse_player_handle_t *muse_player = NULL;
        bool val;
 
-       muse_player = (muse_player_handle_s *)muse_server_ipc_get_handle(module);
+       muse_player = (muse_player_handle_t *)muse_server_ipc_get_handle(module);
 
        ret = legacy_player_360_is_enabled(muse_player->player_handle, &val);
 
@@ -3323,7 +3323,7 @@ int player_disp_360_set_direction_of_view(muse_module_h module)
 {
        int ret = PLAYER_ERROR_NONE;
        muse_player_api_e api = MUSE_PLAYER_API_360_SET_DIRECTION_OF_VIEW;
-       muse_player_handle_s *muse_player = NULL;
+       muse_player_handle_t *muse_player = NULL;
        double yaw, pitch;
        bool ret_val = true;
 
@@ -3332,7 +3332,7 @@ int player_disp_360_set_direction_of_view(muse_module_h module)
                                                                MUSE_TYPE_DOUBLE, "pitch", (void *)&pitch,
                                                                INVALID_MUSE_TYPE_VALUE);
        if (ret_val) {
-               muse_player = (muse_player_handle_s *)muse_server_ipc_get_handle(module);
+               muse_player = (muse_player_handle_t *)muse_server_ipc_get_handle(module);
                ret = legacy_player_360_set_direction_of_view(muse_player->player_handle, (float)yaw, (float)pitch);
        } else {
                ret = PLAYER_ERROR_INVALID_OPERATION;
@@ -3345,10 +3345,10 @@ int player_disp_360_get_direction_of_view(muse_module_h module)
 {
        int ret = PLAYER_ERROR_NONE;
        muse_player_api_e api = MUSE_PLAYER_API_360_GET_DIRECTION_OF_VIEW;
-       muse_player_handle_s *muse_player = NULL;
+       muse_player_handle_t *muse_player = NULL;
        float yaw_val, pitch_val;
 
-       muse_player = (muse_player_handle_s *)muse_server_ipc_get_handle(module);
+       muse_player = (muse_player_handle_t *)muse_server_ipc_get_handle(module);
 
        ret = legacy_player_360_get_direction_of_view(muse_player->player_handle, &yaw_val, &pitch_val);
 
@@ -3363,10 +3363,10 @@ int player_disp_360_set_zoom(muse_module_h module)
 {
        int ret = PLAYER_ERROR_NONE;
        muse_player_api_e api = MUSE_PLAYER_API_360_SET_ZOOM;
-       muse_player_handle_s *muse_player = NULL;
+       muse_player_handle_t *muse_player = NULL;
        double level = 0;
 
-       muse_player = (muse_player_handle_s *)muse_server_ipc_get_handle(module);
+       muse_player = (muse_player_handle_t *)muse_server_ipc_get_handle(module);
        player_msg_get_type(level, muse_server_module_get_msg(module), DOUBLE);
 
        ret = legacy_player_360_set_zoom(muse_player->player_handle, (float)level);
@@ -3379,10 +3379,10 @@ int player_disp_360_get_zoom(muse_module_h module)
 {
        int ret = PLAYER_ERROR_NONE;
        muse_player_api_e api = MUSE_PLAYER_API_360_GET_ZOOM;
-       muse_player_handle_s *muse_player = NULL;
+       muse_player_handle_t *muse_player = NULL;
        float zoom;
 
-       muse_player = (muse_player_handle_s *)muse_server_ipc_get_handle(module);
+       muse_player = (muse_player_handle_t *)muse_server_ipc_get_handle(module);
 
        ret = legacy_player_360_get_zoom(muse_player->player_handle, &zoom);
 
@@ -3394,7 +3394,7 @@ int player_disp_360_set_field_of_view(muse_module_h module)
 {
        int ret = PLAYER_ERROR_NONE;
        muse_player_api_e api = MUSE_PLAYER_API_360_SET_FIELD_OF_VIEW;
-       muse_player_handle_s *muse_player = NULL;
+       muse_player_handle_t *muse_player = NULL;
        int horizontal_degrees = 0, vertical_degrees = 0;
        bool ret_val = true;
 
@@ -3403,7 +3403,7 @@ int player_disp_360_set_field_of_view(muse_module_h module)
                                                                MUSE_TYPE_INT, "vertical_degrees", (void *)&vertical_degrees,
                                                                INVALID_MUSE_TYPE_VALUE);
        if (ret_val) {
-               muse_player = (muse_player_handle_s *)muse_server_ipc_get_handle(module);
+               muse_player = (muse_player_handle_t *)muse_server_ipc_get_handle(module);
                ret = legacy_player_360_set_field_of_view(muse_player->player_handle, horizontal_degrees, vertical_degrees);
        } else {
                ret = PLAYER_ERROR_INVALID_OPERATION;
@@ -3417,10 +3417,10 @@ int player_disp_360_get_field_of_view(muse_module_h module)
 {
        int ret = PLAYER_ERROR_NONE;
        muse_player_api_e api = MUSE_PLAYER_API_360_GET_FIELD_OF_VIEW;
-       muse_player_handle_s *muse_player = NULL;
+       muse_player_handle_t *muse_player = NULL;
        int h_val = -1, v_val = -1;
 
-       muse_player = (muse_player_handle_s *)muse_server_ipc_get_handle(module);
+       muse_player = (muse_player_handle_t *)muse_server_ipc_get_handle(module);
 
        ret = legacy_player_360_get_field_of_view(muse_player->player_handle, &h_val, &v_val);
 
@@ -3432,7 +3432,7 @@ int player_disp_360_set_zoom_with_field_of_view(muse_module_h module)
 {
        int ret = PLAYER_ERROR_NONE;
        muse_player_api_e api = MUSE_PLAYER_API_360_SET_ZOOM_WITH_FIELD_OF_VIEW;
-       muse_player_handle_s *muse_player = NULL;
+       muse_player_handle_t *muse_player = NULL;
        int horizontal_degrees = 0, vertical_degrees = 0;
        double level = 0;
        bool ret_val = true;
@@ -3443,7 +3443,7 @@ int player_disp_360_set_zoom_with_field_of_view(muse_module_h module)
                                                                MUSE_TYPE_INT, "vertical_degrees", (void *)&vertical_degrees,
                                                                INVALID_MUSE_TYPE_VALUE);
        if (ret_val) {
-               muse_player = (muse_player_handle_s *)muse_server_ipc_get_handle(module);
+               muse_player = (muse_player_handle_t *)muse_server_ipc_get_handle(module);
 
                ret = legacy_player_360_set_zoom(muse_player->player_handle, (float)level);
                if (ret == MM_ERROR_NONE)
@@ -3459,11 +3459,11 @@ int player_disp_360_set_zoom_with_field_of_view(muse_module_h module)
 int player_disp_set_codec_type(muse_module_h module)
 {
        int ret = PLAYER_ERROR_NONE;
-       muse_player_handle_s *muse_player = NULL;
+       muse_player_handle_t *muse_player = NULL;
        muse_player_api_e api = MUSE_PLAYER_API_SET_CODEC_TYPE;
        int stream_type = 0, codec_type = 0;
 
-       muse_player = (muse_player_handle_s *)muse_server_ipc_get_handle(module);
+       muse_player = (muse_player_handle_t *)muse_server_ipc_get_handle(module);
        player_msg_get(stream_type, muse_server_module_get_msg(module));
        player_msg_get(codec_type, muse_server_module_get_msg(module));
 
@@ -3487,12 +3487,12 @@ EXIT:
 int player_disp_get_codec_type(muse_module_h module)
 {
        int ret = PLAYER_ERROR_NONE;
-       muse_player_handle_s *muse_player = NULL;
+       muse_player_handle_t *muse_player = NULL;
        muse_player_api_e api = MUSE_PLAYER_API_GET_CODEC_TYPE;
        int stream_type = 0;
        player_codec_type_e codec_type = 0;
 
-       muse_player = (muse_player_handle_s *)muse_server_ipc_get_handle(module);
+       muse_player = (muse_player_handle_t *)muse_server_ipc_get_handle(module);
        player_msg_get(stream_type, muse_server_module_get_msg(module));
 
        ret = legacy_player_get_codec_type(muse_player->player_handle, (player_stream_type_e)stream_type, &codec_type);
@@ -3506,9 +3506,9 @@ int player_disp_set_replaygain_enabled(muse_module_h module)
 {
        int ret = PLAYER_ERROR_NONE;
        muse_player_api_e api = MUSE_PLAYER_API_SET_REPLAYGAIN_ENABLED;
-       muse_player_handle_s *muse_player = NULL;
+       muse_player_handle_t *muse_player = NULL;
        int val;
-       muse_player = (muse_player_handle_s *)muse_server_ipc_get_handle(module);
+       muse_player = (muse_player_handle_t *)muse_server_ipc_get_handle(module);
        player_msg_get(val, muse_server_module_get_msg(module));
 
        ret = legacy_player_set_replaygain_enabled(muse_player->player_handle, (bool)val);
@@ -3522,10 +3522,10 @@ int player_disp_is_replaygain_enabled(muse_module_h module)
 {
        int ret = PLAYER_ERROR_NONE;
        muse_player_api_e api = MUSE_PLAYER_API_IS_REPLAYGAIN_ENABLED;
-       muse_player_handle_s *muse_player = NULL;
+       muse_player_handle_t *muse_player = NULL;
        bool val;
 
-       muse_player = (muse_player_handle_s *)muse_server_ipc_get_handle(module);
+       muse_player = (muse_player_handle_t *)muse_server_ipc_get_handle(module);
 
        ret = legacy_player_is_replaygain_enabled(muse_player->player_handle, &val);
 
@@ -3538,9 +3538,9 @@ int player_disp_set_audio_offload_enabled(muse_module_h module)
 {
        int ret = PLAYER_ERROR_NONE;
        muse_player_api_e api = MUSE_PLAYER_API_SET_AUDIO_OFFLOAD_ENABLED;
-       muse_player_handle_s *muse_player = NULL;
+       muse_player_handle_t *muse_player = NULL;
        int val = 0;
-       muse_player = (muse_player_handle_s *)muse_server_ipc_get_handle(module);
+       muse_player = (muse_player_handle_t *)muse_server_ipc_get_handle(module);
        player_msg_get(val, muse_server_module_get_msg(module));
 
        ret = legacy_player_set_audio_offload_enabled(muse_player->player_handle, (bool)val);
@@ -3554,10 +3554,10 @@ int player_disp_is_audio_offload_enabled(muse_module_h module)
 {
        int ret = PLAYER_ERROR_NONE;
        muse_player_api_e api = MUSE_PLAYER_API_IS_AUDIO_OFFLOAD_ENABLED;
-       muse_player_handle_s *muse_player = NULL;
+       muse_player_handle_t *muse_player = NULL;
        bool val = false;
 
-       muse_player = (muse_player_handle_s *)muse_server_ipc_get_handle(module);
+       muse_player = (muse_player_handle_t *)muse_server_ipc_get_handle(module);
 
        ret = legacy_player_is_audio_offload_enabled(muse_player->player_handle, &val);
 
@@ -3570,9 +3570,9 @@ int player_disp_pitch_set_enabled(muse_module_h module)
 {
        int ret = PLAYER_ERROR_NONE;
        muse_player_api_e api = MUSE_PLAYER_API_PITCH_SET_ENABLED;
-       muse_player_handle_s *muse_player = NULL;
+       muse_player_handle_t *muse_player = NULL;
        int val = 0;
-       muse_player = (muse_player_handle_s *)muse_server_ipc_get_handle(module);
+       muse_player = (muse_player_handle_t *)muse_server_ipc_get_handle(module);
        player_msg_get(val, muse_server_module_get_msg(module));
 
        ret = legacy_player_pitch_set_enabled(muse_player->player_handle, (bool)val);
@@ -3586,10 +3586,10 @@ int player_disp_pitch_is_enabled(muse_module_h module)
 {
        int ret = PLAYER_ERROR_NONE;
        muse_player_api_e api = MUSE_PLAYER_API_PITCH_IS_ENABLED;
-       muse_player_handle_s *muse_player = NULL;
+       muse_player_handle_t *muse_player = NULL;
        bool val = false;
 
-       muse_player = (muse_player_handle_s *)muse_server_ipc_get_handle(module);
+       muse_player = (muse_player_handle_t *)muse_server_ipc_get_handle(module);
 
        ret = legacy_player_pitch_is_enabled(muse_player->player_handle, &val);
 
@@ -3602,9 +3602,9 @@ int player_disp_pitch_set_value(muse_module_h module)
 {
        int ret = PLAYER_ERROR_NONE;
        muse_player_api_e api = MUSE_PLAYER_API_PITCH_SET_VALUE;
-       muse_player_handle_s *muse_player = NULL;
+       muse_player_handle_t *muse_player = NULL;
        double pitch = 0.0;
-       muse_player = (muse_player_handle_s *)muse_server_ipc_get_handle(module);
+       muse_player = (muse_player_handle_t *)muse_server_ipc_get_handle(module);
        player_msg_get_type(pitch, muse_server_module_get_msg(module), DOUBLE);
 
        ret = legacy_player_pitch_set_value(muse_player->player_handle, (float)pitch);
@@ -3618,10 +3618,10 @@ int player_disp_pitch_get_value(muse_module_h module)
 {
        int ret = PLAYER_ERROR_NONE;
        muse_player_api_e api = MUSE_PLAYER_API_PITCH_GET_VALUE;
-       muse_player_handle_s *muse_player = NULL;
+       muse_player_handle_t *muse_player = NULL;
        float pitch = 0.0;
 
-       muse_player = (muse_player_handle_s *)muse_server_ipc_get_handle(module);
+       muse_player = (muse_player_handle_t *)muse_server_ipc_get_handle(module);
 
        ret = legacy_player_pitch_get_value(muse_player->player_handle, &pitch);
 
index a8547a8..712fb59 100644 (file)
 
 static int player_cmd_shutdown(muse_module_h module)
 {
-       muse_player_handle_s *muse_player = NULL;
+       muse_player_handle_t *muse_player = NULL;
        player_state_e state;
        int ret;
 
-       muse_player = (muse_player_handle_s *)muse_server_ipc_get_handle(module);
+       muse_player = (muse_player_handle_t *)muse_server_ipc_get_handle(module);
        if (muse_player == NULL) {
                LOGE("handle is NULL.");
                return PLAYER_ERROR_NONE;
@@ -83,11 +83,11 @@ static int player_cmd_resouce_not_available(muse_module_h module)
 
 static int player_cmd_external_storage_state_changed(muse_module_h module)
 {
-       muse_player_handle_s *muse_player = NULL;
+       muse_player_handle_t *muse_player = NULL;
        muse_external_storage_info_t *storage_info = NULL;
        void *data = NULL;
 
-       muse_player = (muse_player_handle_s *)muse_server_ipc_get_handle(module);
+       muse_player = (muse_player_handle_t *)muse_server_ipc_get_handle(module);
        if (muse_player == NULL) {
                LOGE("handle is NULL.");
                return PLAYER_ERROR_NONE;
index 2749df2..4c979f1 100644 (file)
@@ -1,6 +1,6 @@
 Name:       mmsvc-player
 Summary:    A Media Player module for muse server
-Version:    0.2.106
+Version:    0.2.107
 Release:    0
 Group:      Multimedia/Libraries
 License:    Apache-2.0