* @brief Called when the buffer level drops below the threshold of max size or no free space in buffer.
* @since_tizen @if WEARABLE 3.0 @else 2.4 @endif
* @remarks This function is used for media stream playback only.
- * @param[in] status The buffer status
+ * @param[in] status The buffer status
* @param[in] user_data The user data passed from the callback registration function
* @see player_set_media_stream_buffer_status_cb()
* @see player_set_media_stream_buffer_max_size()
* @details The next push-buffer should produce buffers from the new offset.
* @since_tizen @if WEARABLE 3.0 @else 2.4 @endif
* @remarks This function is used for media stream playback only.
- * @param[in] offset The new byte position to seek
+ * @param[in] offset The new byte position to seek
* @param[in] user_data The user data passed from the callback registration function
*/
typedef void (*player_media_stream_seek_cb)(unsigned long long offset, void *user_data);
* @remarks This function is related to the following feature:\n
* %http://tizen.org/feature/multimedia.player.stream_info\n
* If this feature is not supported, the stream_type of the player is fixed to the #SOUND_STREAM_TYPE_MEDIA.
- * @param[in] player The handle to the media player
+ * @param[in] player The handle to the media player
* @param[in] stream_info The sound manager info type
* @return @c 0 on success,
* otherwise a negative error value
* @remarks If audio offload is enabled by calling player_audio_offload_set_enabled(),
* this function will return #PLAYER_ERROR_NOT_AVAILABLE and
* this will not work at all even if it was called before enabling offload. (Since 5.5)
- * @param[in] player The handle to the media player
+ * @param[in] player The handle to the media player
* @param[in] latency_mode The latency mode to be applied to the audio
* @return @c 0 on success,
* otherwise a negative error value
* @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif
* @remarks If audio offload is enabled by calling player_audio_offload_set_enabled(),
* this function will return #PLAYER_ERROR_NOT_AVAILABLE. (Since 5.5)
- * @param[in] player The handle to the media player
+ * @param[in] player The handle to the media player
* @param[out] latency_mode The latency mode to get from the audio
* @return @c 0 on success,
* otherwise a negative error value
* Until this function is called, by default the player is not muted.
* @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif
* @param[in] player The handle to the media player
- * @param[in] muted The new mute status: (@c true = mute, @c false = not muted)
+ * @param[in] muted The new mute status: (@c true = mute, @c false = not muted)
* @return @c 0 on success,
* otherwise a negative error value
* @retval #PLAYER_ERROR_NONE Successful
* @details If the looping status is @c true, playback automatically restarts upon finishing.
* If it is @c false, it won't. The default value is @c false.
* @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif
- * @param[in] player The handle to the media player
+ * @param[in] player The handle to the media player
* @param[in] looping The new looping status: (@c true = looping, @c false = non-looping )
* @return @c 0 on success,
* otherwise a negative error value
* @details If the looping status is @c true, playback automatically restarts upon finishing.
* If it is @c false, it won't.
* @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif
- * @param[in] player The handle to the media player
+ * @param[in] player The handle to the media player
* @param[out] looping The looping status: (@c true = looping, @c false = non-looping )
* @return @c 0 on success,
* otherwise a negative error value
* To avoid #PLAYER_ERROR_INVALID_OPERATION in sub thread, ecore_thread_main_loop_begin() and
* ecore_thread_main_loop_end() can be used, but deadlock can be also occurred if main thread is busy.
* So, it's not recommended to use them. (since 5.0)
- * @param[in] player The handle to the media player
- * @param[in] type The display type
+ * @param[in] player The handle to the media player
+ * @param[in] type The display type
* @param[in] display The handle to display
* @return @c 0 on success,
* otherwise a negative error value
* and all the packets have to be destroyed before player_unprepare() is called.\n
* @remarks If the content is encrypted or there are copyright issues with it,
* this function could be unsupported depending on the DRM policy.
- * @param[in] player The handle to the media player
- * @param[in] callback The callback function to be registered
+ * @param[in] player The handle to the media player
+ * @param[in] callback The callback function to be registered
* @param[in] user_data The user data to be passed to the callback function
* @return @c 0 on success,
* otherwise a negative error value
* @since_tizen @if WEARABLE 3.0 @else 2.4 @endif
* @remarks This function is used for media stream playback only.
* @remarks The callback is called in a separate thread (not in the main loop).
- * @param[in] player The handle to the media player
- * @param[in] type The type of target stream
- * @param[in] callback The buffer status callback function to register
+ * @param[in] player The handle to the media player
+ * @param[in] type The type of target stream
+ * @param[in] callback The buffer status callback function to register
* @param[in] user_data The user data to be passed to the callback function
* @return @c 0 on success,
* otherwise a negative error value
* @since_tizen @if WEARABLE 3.0 @else 2.4 @endif
* @remarks This function is used for media stream playback only.
* @remarks If the buffer level over the max size, player_media_stream_buffer_status_cb() will be invoked with overflow status.
- * @param[in] player The handle to the media player
- * @param[in] type The type of target stream
+ * @param[in] player The handle to the media player
+ * @param[in] type The type of target stream
* @param[in] max_size The max bytes of buffer, it has to be bigger than zero. (default: 200000)
* @return @c 0 on success,
* otherwise a negative error value
* @since_tizen @if WEARABLE 3.0 @else 2.4 @endif
* @remarks This function is used for media stream playback only.
* @remarks If the buffer level over the max size, player_media_stream_buffer_status_cb() will be invoked with overflow status.
- * @param[in] player The handle to the media player
- * @param[in] type The type of target stream
+ * @param[in] player The handle to the media player
+ * @param[in] type The type of target stream
* @param[out] max_size The max bytes of buffer
* @return @c 0 on success,
* otherwise a negative error value
* @since_tizen @if WEARABLE 3.0 @else 2.4 @endif
* @remarks This function is used for media stream playback only.
* @remarks If the buffer level drops below the percent value, player_media_stream_buffer_status_cb() will be invoked with underrun status.
- * @param[in] player The handle to the media player
- * @param[in] type The type of target stream
+ * @param[in] player The handle to the media player
+ * @param[in] type The type of target stream
* @param[in] percent The minimum threshold(0~100) of buffer (default: 0)
* @return @c 0 on success,
* otherwise a negative error value
* @since_tizen @if WEARABLE 3.0 @else 2.4 @endif
* @remarks This function is used for media stream playback only.
* @remarks If the buffer level drops below the percent value, player_media_stream_buffer_status_cb() will be invoked with underrun status.
- * @param[in] player The handle to the media player
- * @param[in] type The type of target stream
+ * @param[in] player The handle to the media player
+ * @param[in] type The type of target stream
* @param[out] percent The minimum threshold(0~100) of buffer
* @return @c 0 on success,
* otherwise a negative error value
* @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif
* @remarks If no display is set, no operation is performed.
* @param[in] player The handle to the media player
- * @param[out] mode The current display mode
+ * @param[out] mode The current display mode
* @return @c 0 on success,
* otherwise a negative error value
* @retval #PLAYER_ERROR_NONE Successful
* @remarks The minimum value of width and height are 1.
* @remarks ROI area can be set before setting ROI display mode. (since 4.0)
* @param[in] player The handle to the media player
- * @param[in] x X coordinate of area
- * @param[in] y Y coordinate of area
- * @param[in] width Width of area
+ * @param[in] x X coordinate of area
+ * @param[in] y Y coordinate of area
+ * @param[in] width Width of area
* @param[in] height Height of area
* @return @c 0 on success,
* otherwise a negative error value
* @remarks If no display is set, no operation is performed.
* @remarks If you set visible before calling player_set_display(), it will be applied on #PLAYER_STATE_READY state.
* @param[in] player The handle to the media player
- * @param[in] visible The visibility of the display (@c true = visible, @c false = non-visible )
+ * @param[in] visible The visibility of the display (@c true = visible, @c false = non-visible )
* @return @c 0 on success,
* otherwise a negative error value
* @retval #PLAYER_ERROR_NONE Successful
/**
* @brief Gets the visibility of the video display.
* @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif
- * @param[in] player The handle to the media player
+ * @param[in] player The handle to the media player
* @param[out] visible The current visibility of the display (@c true = visible, @c false = non-visible )
* @return @c 0 on success,
* otherwise a negative error value
/**
* @brief Gets the rotation of the video surface display.
* @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif
- * @param[in] player The handle to the media player
+ * @param[in] player The handle to the media player
* @param[out] rotation The current rotation of the display
* @return @c 0 on success,
* otherwise a negative error value
* @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif
* @remarks You must release @a value using @c free().
* @remarks The playback type should be local playback or HTTP streaming playback.
- * @param[in] player The handle to the media player
- * @param[in] key The key attribute name to get
- * @param[out] value The value of the key attribute \n
+ * @param[in] player The handle to the media player
+ * @param[in] key The key attribute name to get
+ * @param[out] value The value of the key attribute \n
* It can be an empty string if there is no content information.
* @return @c 0 on success,
* otherwise a negative error value
* @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif
* @remarks You must release @a audio_codec and @a video_codec using free().
* @remarks The playback type should be local playback or HTTP streaming playback.
- * @param[in] player The handle to the media player
+ * @param[in] player The handle to the media player
* @param[out] audio_codec The name of the audio codec \n
* It can be @c NULL if there is no audio codec.
* @param[out] video_codec The name of the video codec \n
* @brief Gets the audio stream information.
* @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif
* @remarks The playback type should be local playback or HTTP streaming playback.
- * @param[in] player The handle to the media player
- * @param[out] sample_rate The audio sample rate [Hz] \n
- * Value can be invalid if there is no audio stream information.
- * @param[out] channel The audio channel (1: mono, 2: stereo) \n
- * Value can be invalid if there is no audio stream information.
- * @param[out] bit_rate The audio bit rate [Hz] \n
- * Value can be invalid if there is no audio stream information.
+ * @param[in] player The handle to the media player
+ * @param[out] sample_rate The audio sample rate [Hz] \n
+ * Value can be invalid if there is no audio stream information.
+ * @param[out] channel The audio channel (1: mono, 2: stereo) \n
+ * Value can be invalid if there is no audio stream information.
+ * @param[out] bit_rate The audio bit rate [Hz] \n
+ * Value can be invalid if there is no audio stream information.
* @return @c 0 on success,
* otherwise a negative error value
* @retval #PLAYER_ERROR_NONE Successful
* @brief Gets the video stream information.
* @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif
* @remarks The playback type should be local playback or HTTP streaming playback.
- * @param[in] player The handle to the media player
- * @param[out] fps The frame per second of the video \n
- * It can be @c 0 if there is no video stream information.
+ * @param[in] player The handle to the media player
+ * @param[out] fps The frame per second of the video \n
+ * It can be @c 0 if there is no video stream information.
* @param[out] bit_rate The video bit rate [Hz] \n
* It can be an invalid value if there is no video stream information.
* @return @c 0 on success,
* @brief Gets the video display's height and width.
* @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif
* @remarks The playback type should be local playback or HTTP streaming playback.
- * @param[in] player The handle to the media player
- * @param[out] width The width of the video \n
- * Value can be invalid if there is no video or no display is set.
+ * @param[in] player The handle to the media player
+ * @param[out] width The width of the video \n
+ * Value can be invalid if there is no video or no display is set.
* @param[out] height The height of the video \n
* Value can be invalid value if there is no video or no display is set.
* @return @c 0 on success,
* @remarks You must not release @a album_art.
* The @a album_art is managed by the platform and will be released
* when the player is unprepared or destroyed by calling player_unprepare() or player_destroy().
- * @param[in] player The handle to the media player
+ * @param[in] player The handle to the media player
* @param[out] album_art The encoded artwork image
- * @param[out] size The encoded artwork size
+ * @param[out] size The encoded artwork size
* @return @c 0 on success,
* otherwise a negative error value
* @retval #PLAYER_ERROR_NONE Successful
* this will not work at all even if it was called before enabling audio offload
* which makes audio effect function group unavailable. (Since 5.5)
* @param[in] player The handle to the media player
- * @param[in] index The index of the equalizer band to be set
- * @param[in] level The new gain in decibel that is set to the given band [dB]
+ * @param[in] index The index of the equalizer band to be set
+ * @param[in] level The new gain in decibel that is set to the given band [dB]
* @return @c 0 on success,
* otherwise a negative error value
* @retval #PLAYER_ERROR_NONE Successful
* @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif
* @remarks If player_audio_effect_equalizer_is_available() returns @a available parameter as @c false,
* this function will return #PLAYER_ERROR_NOT_AVAILABLE. (Since 5.5)
- * @param[in] player The handle to the media player
- * @param[in] index The index of the requested equalizer band
- * @param[out] level The gain in decibel of the given band [dB]
+ * @param[in] player The handle to the media player
+ * @param[in] index The index of the requested equalizer band
+ * @param[out] level The gain in decibel of the given band [dB]
* @return @c 0 on success,
* otherwise a negative error value
* @retval #PLAYER_ERROR_NONE Successful
* this function will return #PLAYER_ERROR_NOT_AVAILABLE and
* this will not work at all even if it was called before enabling audio offload
* which makes audio effect function group unavailable. (Since 5.5)
- * @param[in] player The handle to the media player
+ * @param[in] player The handle to the media player
* @param[in] band_levels The list of band levels to be set
- * @param[in] length The length of the band level
+ * @param[in] length The length of the band level
* @return @c 0 on success,
* otherwise a negative error value
* @retval #PLAYER_ERROR_NONE Successful
* @remarks If player_audio_effect_equalizer_is_available() returns @a available parameter as @c false,
* this function will return #PLAYER_ERROR_NOT_AVAILABLE. (Since 5.5)
* @param[in] player The handle to the media player
- * @param[out] min The minimum value to be set [dB]
- * @param[out] max The maximum value to be set [dB]
+ * @param[out] min The minimum value to be set [dB]
+ * @param[out] max The maximum value to be set [dB]
* @return @c 0 on success,
* otherwise a negative error value
* @retval #PLAYER_ERROR_NONE Successful
* @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif
* @remarks If player_audio_effect_equalizer_is_available() returns @a available parameter as @c false,
* this function will return #PLAYER_ERROR_NOT_AVAILABLE. (Since 5.5)
- * @param[in] player The handle to the media player
- * @param[in] index The index of the requested equalizer band
+ * @param[in] player The handle to the media player
+ * @param[in] index The index of the requested equalizer band
* @param[out] frequency The frequency of the given band [dB]
* @return @c 0 on success,
* otherwise a negative error value
* to reflect the cookie information when the streaming connection is set up.
* @param[in] player The handle to the media player
* @param[in] cookie The cookie to set
- * @param[in] size The size of the cookie
+ * @param[in] size The size of the cookie
* @return @c 0 on success,
* otherwise a negative error value
* @retval #PLAYER_ERROR_NONE Successful
* @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif
* @remarks This function must be called before calling the player_prepare() or player_prepare_async()
* to reflect the user agent information when the streaming connection is set up.
- * @param[in] player The handle to the media player
+ * @param[in] player The handle to the media player
* @param[in] user_agent The user agent to set
- * @param[in] size The size of the user agent
+ * @param[in] size The size of the user agent
* @return @c 0 on success,
* otherwise a negative error value
* @retval #PLAYER_ERROR_NONE Successful
* @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif
* @param[in] player The handle to the media player
* @param[out] start The starting position of received data in percentage [0, 100]
- * @param[out] end The end position of received data in percentage [0, 100]
+ * @param[out] end The end position of received data in percentage [0, 100]
* @return @c 0 on success,
* otherwise a negative error value
* @retval #PLAYER_ERROR_NONE Successful
* this function will return #PLAYER_ERROR_NOT_AVAILABLE. (Since 5.5)
* @param[in] player The handle to the media player
* @param[in] type The type of target stream which is #PLAYER_STREAM_TYPE_AUDIO or #PLAYER_STREAM_TYPE_TEXT
- * @param[out] count The number of track
+ * @param[out] count The number of track
* @return @c 0 on success,
* otherwise a negative error value
* @retval #PLAYER_ERROR_NONE Successful
* this will not work at all even if this was called before enabling offload. (Since 5.5)
* @remarks This function could be unavailable depending on the audio codec type and
* this will return #PLAYER_ERROR_NOT_AVAILABLE. (Since 5.5)
- * @param[in] player The handle to the media player
+ * @param[in] player The handle to the media player
* @param[in] enabled The new replaygain status: (@c true = enable, @c false = disable)
* @return @c 0 on success,
* otherwise a negative error value
* @since_tizen 5.5
* @remarks This function is related to the following feature:\n
* %http://tizen.org/feature/multimedia.player.audio_offload\n
- * @param[in] player The handle to the media player
- * @param[out] enabled The enabling status (default: false)
+ * @param[in] player The handle to the media player
+ * @param[out] enabled The enabling status (default: false)
* @return @c 0 on success,
* otherwise a negative error value
* @retval #PLAYER_ERROR_NONE Successful