From: Gilbok Lee Date: Tue, 12 Jun 2018 04:56:28 +0000 (+0900) Subject: [ACR-1245] Remove the API description where PLAYER_ERROR_INVALID_STATE X-Git-Tag: submit/tizen/20180620.045526^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c69a306d49f8d3ade22ed89aa96c237789c38f17;p=platform%2Fcore%2Fapi%2Fplayer.git [ACR-1245] Remove the API description where PLAYER_ERROR_INVALID_STATE is not returned. Change-Id: Ib9f5852c95b516b6dc9d5e7e8e6583f9487f88a0 --- diff --git a/include/player.h b/include/player.h index 65f0a17..775fd0b 100644 --- a/include/player.h +++ b/include/player.h @@ -860,11 +860,9 @@ int player_set_play_position(player_h player, int millisecond, bool accurate, pl * @return @c 0 on success, * otherwise a negative error value * @retval #PLAYER_ERROR_NONE Successful - * @retval #PLAYER_ERROR_INVALID_STATE Invalid player state * @retval #PLAYER_ERROR_INVALID_PARAMETER Invalid parameter * @retval #PLAYER_ERROR_INVALID_OPERATION Invalid operation * @retval #PLAYER_ERROR_SEEK_FAILED Seek operation failure - * @pre The player state must be one of #PLAYER_STATE_IDLE, #PLAYER_STATE_READY, #PLAYER_STATE_PLAYING, or #PLAYER_STATE_PAUSED. * @see player_set_play_position() */ int player_get_play_position(player_h player, int *millisecond); @@ -882,7 +880,6 @@ int player_get_play_position(player_h player, int *millisecond); * @retval #PLAYER_ERROR_NONE Successful * @retval #PLAYER_ERROR_INVALID_PARAMETER Invalid parameter * @retval #PLAYER_ERROR_INVALID_OPERATION Invalid operation - * @pre The player state must be one of #PLAYER_STATE_IDLE, #PLAYER_STATE_READY, #PLAYER_STATE_PLAYING, or #PLAYER_STATE_PAUSED. * @see player_is_muted() */ int player_set_mute(player_h player, bool muted); @@ -899,7 +896,6 @@ int player_set_mute(player_h player, bool muted); * @retval #PLAYER_ERROR_NONE Successful * @retval #PLAYER_ERROR_INVALID_PARAMETER Invalid parameter * @retval #PLAYER_ERROR_INVALID_OPERATION Invalid operation - * @pre The player state must be one of #PLAYER_STATE_IDLE, #PLAYER_STATE_READY, #PLAYER_STATE_PLAYING, or #PLAYER_STATE_PAUSED. * @see player_set_mute() */ int player_is_muted(player_h player, bool *muted); @@ -916,8 +912,6 @@ int player_is_muted(player_h player, bool *muted); * @retval #PLAYER_ERROR_NONE Successful * @retval #PLAYER_ERROR_INVALID_PARAMETER Invalid parameter * @retval #PLAYER_ERROR_INVALID_OPERATION Invalid operation - * @retval #PLAYER_ERROR_INVALID_STATE Invalid player state - * @pre The player state must be one of #PLAYER_STATE_IDLE, #PLAYER_STATE_READY, #PLAYER_STATE_PLAYING, or #PLAYER_STATE_PAUSED. * @see player_is_looping() */ int player_set_looping(player_h player, bool looping); @@ -934,8 +928,6 @@ int player_set_looping(player_h player, bool looping); * @retval #PLAYER_ERROR_NONE Successful * @retval #PLAYER_ERROR_INVALID_PARAMETER Invalid parameter * @retval #PLAYER_ERROR_INVALID_OPERATION Invalid operation - * @retval #PLAYER_ERROR_INVALID_STATE Invalid player state - * @pre The player state must be one of #PLAYER_STATE_IDLE, #PLAYER_STATE_READY, #PLAYER_STATE_PLAYING, or #PLAYER_STATE_PAUSED. * @see player_set_looping() */ int player_is_looping(player_h player, bool *looping); @@ -1082,7 +1074,6 @@ int player_set_media_stream_buffer_status_cb(player_h player, player_stream_type * @return @c 0 on success, * otherwise a negative error value * @retval #PLAYER_ERROR_NONE Successful - * @retval #PLAYER_ERROR_INVALID_STATE Invalid player state * @retval #PLAYER_ERROR_INVALID_PARAMETER Invalid parameter * @see player_set_media_stream_buffer_status_cb() */ @@ -1117,7 +1108,6 @@ int player_set_media_stream_seek_cb(player_h player, player_stream_type_e type, * @return @c 0 on success, * otherwise a negative error value * @retval #PLAYER_ERROR_NONE Successful - * @retval #PLAYER_ERROR_INVALID_STATE Invalid player state * @retval #PLAYER_ERROR_INVALID_PARAMETER Invalid parameter * @see player_set_media_stream_seek_cb() */ @@ -1135,8 +1125,6 @@ int player_unset_media_stream_seek_cb(player_h player, player_stream_type_e type * otherwise a negative error value * @retval #PLAYER_ERROR_NONE Successful * @retval #PLAYER_ERROR_INVALID_PARAMETER Invalid parameter - * @retval #PLAYER_ERROR_INVALID_STATE Invalid player state - * @pre The player state must be one of #PLAYER_STATE_IDLE, #PLAYER_STATE_READY, #PLAYER_STATE_PLAYING, or #PLAYER_STATE_PAUSED. (since 3.0) * @see player_get_media_stream_buffer_max_size() * @see player_media_stream_buffer_status_cb() */ @@ -1154,8 +1142,6 @@ int player_set_media_stream_buffer_max_size(player_h player, player_stream_type_ * otherwise a negative error value * @retval #PLAYER_ERROR_NONE Successful * @retval #PLAYER_ERROR_INVALID_PARAMETER Invalid parameter - * @retval #PLAYER_ERROR_INVALID_STATE Invalid player state - * @pre The player state must be one of #PLAYER_STATE_IDLE, #PLAYER_STATE_READY, #PLAYER_STATE_PLAYING, or #PLAYER_STATE_PAUSED. * @see player_set_media_stream_buffer_max_size() * @see player_media_stream_buffer_status_cb() */ @@ -1173,8 +1159,6 @@ int player_get_media_stream_buffer_max_size(player_h player, player_stream_type_ * otherwise a negative error value * @retval #PLAYER_ERROR_NONE Successful * @retval #PLAYER_ERROR_INVALID_PARAMETER Invalid parameter - * @retval #PLAYER_ERROR_INVALID_STATE Invalid player state - * @pre The player state must be one of #PLAYER_STATE_IDLE, #PLAYER_STATE_READY, #PLAYER_STATE_PLAYING, or #PLAYER_STATE_PAUSED. (since 3.0) * @see player_get_media_stream_buffer_min_threshold() * @see player_media_stream_buffer_status_cb() */ @@ -1192,8 +1176,6 @@ int player_set_media_stream_buffer_min_threshold(player_h player, player_stream_ * otherwise a negative error value * @retval #PLAYER_ERROR_NONE Successful * @retval #PLAYER_ERROR_INVALID_PARAMETER Invalid parameter - * @retval #PLAYER_ERROR_INVALID_STATE Invalid player state - * @pre The player state must be one of #PLAYER_STATE_IDLE, #PLAYER_STATE_READY, #PLAYER_STATE_PLAYING, or #PLAYER_STATE_PAUSED. * @see player_set_media_stream_buffer_min_threshold() * @see player_media_stream_buffer_status_cb() */ @@ -1219,8 +1201,6 @@ int player_get_media_stream_buffer_min_threshold(player_h player, player_stream_ * @retval #PLAYER_ERROR_NONE Successful * @retval #PLAYER_ERROR_INVALID_PARAMETER Invalid parameter * @retval #PLAYER_ERROR_INVALID_OPERATION Invalid operation - * @retval #PLAYER_ERROR_INVALID_STATE Invalid state - * @pre The player state must be one of #PLAYER_STATE_IDLE, #PLAYER_STATE_READY, #PLAYER_STATE_PLAYING, or #PLAYER_STATE_PAUSED. * @see #player_display_mode_e * @see player_set_display() * @see player_get_display_mode() @@ -1238,7 +1218,6 @@ int player_set_display_mode(player_h player, player_display_mode_e mode); * @retval #PLAYER_ERROR_NONE Successful * @retval #PLAYER_ERROR_INVALID_PARAMETER Invalid parameter * @retval #PLAYER_ERROR_INVALID_OPERATION Invalid operation - * @pre The player state must be one of #PLAYER_STATE_IDLE, #PLAYER_STATE_READY, #PLAYER_STATE_PLAYING, or #PLAYER_STATE_PAUSED. * @see #player_display_mode_e * @see player_set_display_mode() */ @@ -1261,7 +1240,6 @@ int player_get_display_mode(player_h player, player_display_mode_e *mode); * @retval #PLAYER_ERROR_NONE Successful * @retval #PLAYER_ERROR_INVALID_PARAMETER Invalid parameter * @retval #PLAYER_ERROR_INVALID_OPERATION Invalid operation - * @pre The player state must be one of #PLAYER_STATE_IDLE, #PLAYER_STATE_READY, #PLAYER_STATE_PLAYING, or #PLAYER_STATE_PAUSED. * @see player_set_display() * @see player_set_display_mode() */ @@ -1279,8 +1257,6 @@ int player_set_display_roi_area(player_h player, int x, int y, int width, int he * @retval #PLAYER_ERROR_NONE Successful * @retval #PLAYER_ERROR_INVALID_PARAMETER Invalid parameter * @retval #PLAYER_ERROR_INVALID_OPERATION Invalid operation - * @retval #PLAYER_ERROR_INVALID_STATE Invalid state - * @pre The player state must be one of #PLAYER_STATE_IDLE, #PLAYER_STATE_READY, #PLAYER_STATE_PLAYING, or #PLAYER_STATE_PAUSED. * @see player_set_display() * @see player_is_display_visible() */ @@ -1296,7 +1272,6 @@ int player_set_display_visible(player_h player, bool visible); * @retval #PLAYER_ERROR_NONE Successful * @retval #PLAYER_ERROR_INVALID_PARAMETER Invalid parameter * @retval #PLAYER_ERROR_INVALID_OPERATION Invalid operation - * @pre The player state must be one of #PLAYER_STATE_IDLE, #PLAYER_STATE_READY, #PLAYER_STATE_PLAYING, or #PLAYER_STATE_PAUSED. * @see player_set_display_visible() */ int player_is_display_visible(player_h player, bool* visible); @@ -1314,8 +1289,6 @@ int player_is_display_visible(player_h player, bool* visible); * @retval #PLAYER_ERROR_NONE Successful * @retval #PLAYER_ERROR_INVALID_PARAMETER Invalid parameter * @retval #PLAYER_ERROR_INVALID_OPERATION Invalid operation - * @retval #PLAYER_ERROR_INVALID_STATE Invalid state - * @pre The player state must be one of #PLAYER_STATE_IDLE, #PLAYER_STATE_READY, #PLAYER_STATE_PLAYING, or #PLAYER_STATE_PAUSED. * @see #player_display_rotation_e * @see player_set_display * @see player_get_display_rotation() @@ -1332,7 +1305,6 @@ int player_set_display_rotation(player_h player, player_display_rotation_e rotat * @retval #PLAYER_ERROR_NONE Successful * @retval #PLAYER_ERROR_INVALID_PARAMETER Invalid parameter * @retval #PLAYER_ERROR_INVALID_OPERATION Invalid operation - * @pre The player state must be one of #PLAYER_STATE_IDLE, #PLAYER_STATE_READY, #PLAYER_STATE_PLAYING, or #PLAYER_STATE_PAUSED. * @see #player_display_rotation_e * @see player_set_display_rotation() */ @@ -1504,8 +1476,6 @@ int player_get_duration(player_h player, int *duration); * otherwise a negative error value * @retval #PLAYER_ERROR_NONE Successful * @retval #PLAYER_ERROR_INVALID_PARAMETER Invalid parameter - * @retval #PLAYER_ERROR_INVALID_STATE Invalid player state - * @pre The player state must be one of #PLAYER_STATE_IDLE, #PLAYER_STATE_READY, #PLAYER_STATE_PLAYING, or #PLAYER_STATE_PAUSED. * @see player_audio_effect_equalizer_is_available() * @see player_audio_effect_set_equalizer_band_level() * @see player_audio_effect_set_equalizer_all_bands() @@ -1523,8 +1493,6 @@ int player_audio_effect_get_equalizer_bands_count(player_h player, int *count); * @retval #PLAYER_ERROR_NONE Successful * @retval #PLAYER_ERROR_INVALID_PARAMETER Invalid parameter * @retval #PLAYER_ERROR_INVALID_OPERATION Invalid operation - * @retval #PLAYER_ERROR_INVALID_STATE Invalid player state - * @pre The player state must be one of #PLAYER_STATE_IDLE, #PLAYER_STATE_READY, #PLAYER_STATE_PLAYING, or #PLAYER_STATE_PAUSED. * @see player_audio_effect_equalizer_is_available() * @see player_audio_effect_get_equalizer_bands_count() * @see player_audio_effect_get_equalizer_level_range() @@ -1543,8 +1511,6 @@ int player_audio_effect_set_equalizer_band_level(player_h player, int index, int * otherwise a negative error value * @retval #PLAYER_ERROR_NONE Successful * @retval #PLAYER_ERROR_INVALID_PARAMETER Invalid parameter - * @retval #PLAYER_ERROR_INVALID_STATE Invalid player state - * @pre The player state must be one of #PLAYER_STATE_IDLE, #PLAYER_STATE_READY, #PLAYER_STATE_PLAYING, or #PLAYER_STATE_PAUSED. * @see player_audio_effect_equalizer_is_available() * @see player_audio_effect_set_equalizer_band_level() */ @@ -1561,8 +1527,6 @@ int player_audio_effect_get_equalizer_band_level(player_h player, int index, int * @retval #PLAYER_ERROR_NONE Successful * @retval #PLAYER_ERROR_INVALID_PARAMETER Invalid parameter * @retval #PLAYER_ERROR_INVALID_OPERATION Invalid operation - * @retval #PLAYER_ERROR_INVALID_STATE Invalid player state - * @pre The player state must be one of #PLAYER_STATE_IDLE, #PLAYER_STATE_READY, #PLAYER_STATE_PLAYING, or #PLAYER_STATE_PAUSED. * @see player_audio_effect_equalizer_is_available() * @see player_audio_effect_get_equalizer_bands_count() * @see player_audio_effect_get_equalizer_level_range() @@ -1580,9 +1544,7 @@ int player_audio_effect_set_equalizer_all_bands(player_h player, int *band_level * otherwise a negative error value * @retval #PLAYER_ERROR_NONE Successful * @retval #PLAYER_ERROR_INVALID_PARAMETER Invalid parameter - * @retval #PLAYER_ERROR_INVALID_STATE Invalid player state * @retval #PLAYER_ERROR_INVALID_OPERATION Invalid operation - * @pre The player state must be one of #PLAYER_STATE_IDLE, #PLAYER_STATE_READY, #PLAYER_STATE_PLAYING, or #PLAYER_STATE_PAUSED. * @see player_audio_effect_equalizer_is_available() * @see player_audio_effect_set_equalizer_band_level() * @see player_audio_effect_set_equalizer_all_bands() @@ -1599,8 +1561,6 @@ int player_audio_effect_get_equalizer_level_range(player_h player, int* min, int * otherwise a negative error value * @retval #PLAYER_ERROR_NONE Successful * @retval #PLAYER_ERROR_INVALID_PARAMETER Invalid parameter - * @retval #PLAYER_ERROR_INVALID_STATE Invalid player state - * @pre The player state must be one of #PLAYER_STATE_IDLE, #PLAYER_STATE_READY, #PLAYER_STATE_PLAYING, or #PLAYER_STATE_PAUSED. * @see player_audio_effect_equalizer_is_available() */ int player_audio_effect_get_equalizer_band_frequency(player_h player, int index, int *frequency); @@ -1615,8 +1575,6 @@ int player_audio_effect_get_equalizer_band_frequency(player_h player, int index, * otherwise a negative error value * @retval #PLAYER_ERROR_NONE Successful * @retval #PLAYER_ERROR_INVALID_PARAMETER Invalid parameter - * @retval #PLAYER_ERROR_INVALID_STATE Invalid player state - * @pre The player state must be one of #PLAYER_STATE_IDLE, #PLAYER_STATE_READY, #PLAYER_STATE_PLAYING, or #PLAYER_STATE_PAUSED. * @see player_audio_effect_equalizer_is_available() */ int player_audio_effect_get_equalizer_band_frequency_range(player_h player, int index, int *range); @@ -1630,8 +1588,6 @@ int player_audio_effect_get_equalizer_band_frequency_range(player_h player, int * @retval #PLAYER_ERROR_NONE Successful * @retval #PLAYER_ERROR_INVALID_PARAMETER Invalid parameter * @retval #PLAYER_ERROR_INVALID_OPERATION Invalid operation - * @retval #PLAYER_ERROR_INVALID_STATE Invalid player state - * @pre The player state must be one of #PLAYER_STATE_IDLE, #PLAYER_STATE_READY, #PLAYER_STATE_PLAYING, or #PLAYER_STATE_PAUSED. * @see player_audio_effect_equalizer_is_available() * @see player_audio_effect_set_equalizer_band_level() * @see player_audio_effect_set_equalizer_all_bands() @@ -1648,8 +1604,6 @@ int player_audio_effect_equalizer_clear(player_h player); * otherwise a negative error value * @retval #PLAYER_ERROR_NONE Successful * @retval #PLAYER_ERROR_INVALID_PARAMETER Invalid parameter - * @retval #PLAYER_ERROR_INVALID_STATE Invalid player state - * @pre The player state must be one of #PLAYER_STATE_IDLE, #PLAYER_STATE_READY, #PLAYER_STATE_PLAYING, or #PLAYER_STATE_PAUSED. * @see player_audio_effect_set_equalizer_band_level() * @see player_audio_effect_set_equalizer_all_bands() */ @@ -2016,10 +1970,8 @@ int player_set_playback_rate(player_h player, float rate); * @retval #PLAYER_ERROR_NONE Successful * @retval #PLAYER_ERROR_INVALID_PARAMETER Invalid parameter * @retval #PLAYER_ERROR_INVALID_OPERATION Invalid operation - * @retval #PLAYER_ERROR_INVALID_STATE Invalid player state * @retval #PLAYER_ERROR_PERMISSION_DENIED Permission denied * @retval #PLAYER_ERROR_NO_SUCH_FILE File not found (Since 4.0) - * @pre The player state must be one of #PLAYER_STATE_IDLE, #PLAYER_STATE_READY, #PLAYER_STATE_PLAYING, or #PLAYER_STATE_PAUSED. */ int player_set_subtitle_path(player_h player, const char *path); @@ -2112,7 +2064,6 @@ int player_set_video_stream_changed_cb(player_h player, player_video_stream_chan * @return @c 0 on success, * otherwise a negative error value * @retval #PLAYER_ERROR_NONE Successful - * @retval #PLAYER_ERROR_INVALID_STATE Invalid player state * @retval #PLAYER_ERROR_INVALID_PARAMETER Invalid parameter * @see player_set_video_stream_changed_cb() */ @@ -2239,7 +2190,6 @@ int player_foreach_adaptive_variant(player_h player, player_adaptive_variant_cb * @retval #PLAYER_ERROR_NONE Successful * @retval #PLAYER_ERROR_INVALID_PARAMETER Invalid parameter * @retval #PLAYER_ERROR_INVALID_OPERATION Invalid operation - * @pre The player state must be one of #PLAYER_STATE_IDLE, #PLAYER_STATE_READY, #PLAYER_STATE_PLAYING, or #PLAYER_STATE_PAUSED. * @see player_foreach_adaptive_variant() * @see player_get_max_adaptive_variant_limit() */ @@ -2258,7 +2208,6 @@ int player_set_max_adaptive_variant_limit(player_h player, int bandwidth, int wi * @retval #PLAYER_ERROR_NONE Successful * @retval #PLAYER_ERROR_INVALID_PARAMETER Invalid parameter * @retval #PLAYER_ERROR_INVALID_OPERATION Invalid operation - * @pre The player state must be one of #PLAYER_STATE_IDLE, #PLAYER_STATE_READY, #PLAYER_STATE_PLAYING, or #PLAYER_STATE_PAUSED. * @see player_foreach_adaptive_variant() * @see player_set_max_adaptive_variant_limit() */ @@ -2300,7 +2249,6 @@ int player_set_audio_only(player_h player, bool audio_only); * @retval #PLAYER_ERROR_NONE Successful * @retval #PLAYER_ERROR_INVALID_PARAMETER Invalid parameter * @retval #PLAYER_ERROR_INVALID_OPERATION Invalid operation - * @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 player_is_audio_only(player_h player, bool *audio_only); @@ -2316,9 +2264,7 @@ int player_is_audio_only(player_h player, bool *audio_only); * otherwise a negative error value * @retval #PLAYER_ERROR_NONE Successful * @retval #PLAYER_ERROR_INVALID_PARAMETER Invalid parameter - * @retval #PLAYER_ERROR_INVALID_STATE Invalid player state * @retval #PLAYER_ERROR_INVALID_OPERATION Invalid operation - * @pre The player state must be one of #PLAYER_STATE_IDLE, #PLAYER_STATE_READY, #PLAYER_STATE_PLAYING, or #PLAYER_STATE_PAUSED. * @see player_is_replaygain_enabled() */ int player_set_replaygain_enabled(player_h player, bool enabled); @@ -2334,9 +2280,7 @@ int player_set_replaygain_enabled(player_h player, bool enabled); * otherwise a negative error value * @retval #PLAYER_ERROR_NONE Successful * @retval #PLAYER_ERROR_INVALID_PARAMETER Invalid parameter - * @retval #PLAYER_ERROR_INVALID_STATE Invalid player state * @retval #PLAYER_ERROR_INVALID_OPERATION Invalid operation - * @pre The player state must be one of #PLAYER_STATE_IDLE, #PLAYER_STATE_READY, #PLAYER_STATE_PLAYING, or #PLAYER_STATE_PAUSED. * @see player_set_replaygain_enable() */ int player_is_replaygain_enabled(player_h player, bool *enabled); @@ -2377,9 +2321,7 @@ int player_set_streaming_buffering_time(player_h player, int prebuffer_ms, int r * otherwise a negative error value * @retval #PLAYER_ERROR_NONE Successful * @retval #PLAYER_ERROR_INVALID_PARAMETER Invalid parameter - * @retval #PLAYER_ERROR_INVALID_STATE Invalid state * @if WEARABLE @retval #PLAYER_ERROR_FEATURE_NOT_SUPPORTED_ON_DEVICE Unsupported feature @endif - * @pre The player state must be one of #PLAYER_STATE_IDLE, #PLAYER_STATE_READY, #PLAYER_STATE_PLAYING, or #PLAYER_STATE_PAUSED. * @see player_get_streaming_buffering_time() */ int player_get_streaming_buffering_time(player_h player, int *prebuffer_ms, int *rebuffer_ms); @@ -2426,10 +2368,8 @@ int player_360_is_content_spherical(player_h player, bool *is_spherical); * otherwise a negative error value * @retval #PLAYER_ERROR_NONE Successful * @retval #PLAYER_ERROR_INVALID_PARAMETER Invalid parameter - * @retval #PLAYER_ERROR_INVALID_STATE Invalid player state * @retval #PLAYER_ERROR_INVALID_OPERATION Invalid operation * @retval #PLAYER_ERROR_FEATURE_NOT_SUPPORTED_ON_DEVICE Unsupported feature - * @pre The player state must be one of #PLAYER_STATE_IDLE, #PLAYER_STATE_READY, #PLAYER_STATE_PLAYING or #PLAYER_STATE_PAUSED. * @see player_360_is_enabled() */ int player_360_set_enabled(player_h player, bool enabled); @@ -2448,10 +2388,8 @@ int player_360_set_enabled(player_h player, bool enabled); * otherwise a negative error value * @retval #PLAYER_ERROR_NONE Successful * @retval #PLAYER_ERROR_INVALID_PARAMETER Invalid parameter - * @retval #PLAYER_ERROR_INVALID_STATE Invalid player state * @retval #PLAYER_ERROR_INVALID_OPERATION Invalid operation * @retval #PLAYER_ERROR_FEATURE_NOT_SUPPORTED_ON_DEVICE Unsupported feature - * @pre The player state must be one of #PLAYER_STATE_IDLE, #PLAYER_STATE_READY, #PLAYER_STATE_PLAYING or #PLAYER_STATE_PAUSED. * @see player_360_set_enabled() */ int player_360_is_enabled(player_h player, bool *enabled); @@ -2476,10 +2414,8 @@ int player_360_is_enabled(player_h player, bool *enabled); * otherwise a negative error value * @retval #PLAYER_ERROR_NONE Successful * @retval #PLAYER_ERROR_INVALID_PARAMETER Invalid parameter - * @retval #PLAYER_ERROR_INVALID_STATE Invalid player state * @retval #PLAYER_ERROR_INVALID_OPERATION Invalid operation * @retval #PLAYER_ERROR_FEATURE_NOT_SUPPORTED_ON_DEVICE Unsupported feature - * @pre The player state must be one of #PLAYER_STATE_IDLE, #PLAYER_STATE_READY, #PLAYER_STATE_PLAYING or #PLAYER_STATE_PAUSED. * @see player_360_get_direction_of_view() */ int player_360_set_direction_of_view(player_h player, float yaw, float pitch); @@ -2501,10 +2437,8 @@ int player_360_set_direction_of_view(player_h player, float yaw, float pitch); * otherwise a negative error value * @retval #PLAYER_ERROR_NONE Successful * @retval #PLAYER_ERROR_INVALID_PARAMETER Invalid parameter - * @retval #PLAYER_ERROR_INVALID_STATE Invalid player state * @retval #PLAYER_ERROR_INVALID_OPERATION Invalid operation * @retval #PLAYER_ERROR_FEATURE_NOT_SUPPORTED_ON_DEVICE Unsupported feature - * @pre The player state must be one of #PLAYER_STATE_IDLE, #PLAYER_STATE_READY, #PLAYER_STATE_PLAYING or #PLAYER_STATE_PAUSED. * @see player_360_set_direction_of_view() */ int player_360_get_direction_of_view(player_h player, float *yaw, float *pitch); @@ -2524,10 +2458,8 @@ int player_360_get_direction_of_view(player_h player, float *yaw, float *pitch); * otherwise a negative error value * @retval #PLAYER_ERROR_NONE Successful * @retval #PLAYER_ERROR_INVALID_PARAMETER Invalid parameter - * @retval #PLAYER_ERROR_INVALID_STATE Invalid player state * @retval #PLAYER_ERROR_INVALID_OPERATION Invalid operation * @retval #PLAYER_ERROR_FEATURE_NOT_SUPPORTED_ON_DEVICE Unsupported feature - * @pre The player state must be one of #PLAYER_STATE_IDLE, #PLAYER_STATE_READY, #PLAYER_STATE_PLAYING or #PLAYER_STATE_PAUSED. * @see player_360_get_zoom() */ int player_360_set_zoom(player_h player, float level); @@ -2547,10 +2479,8 @@ int player_360_set_zoom(player_h player, float level); * otherwise a negative error value * @retval #PLAYER_ERROR_NONE Successful * @retval #PLAYER_ERROR_INVALID_PARAMETER Invalid parameter - * @retval #PLAYER_ERROR_INVALID_STATE Invalid player state * @retval #PLAYER_ERROR_INVALID_OPERATION Invalid operation * @retval #PLAYER_ERROR_FEATURE_NOT_SUPPORTED_ON_DEVICE Unsupported feature - * @pre The player state must be one of #PLAYER_STATE_IDLE, #PLAYER_STATE_READY, #PLAYER_STATE_PLAYING or #PLAYER_STATE_PAUSED. * @see player_360_set_zoom() */ int player_360_get_zoom(player_h player, float *level); @@ -2573,10 +2503,8 @@ int player_360_get_zoom(player_h player, float *level); * otherwise a negative error value * @retval #PLAYER_ERROR_NONE Successful * @retval #PLAYER_ERROR_INVALID_PARAMETER Invalid parameter - * @retval #PLAYER_ERROR_INVALID_STATE Invalid player state * @retval #PLAYER_ERROR_INVALID_OPERATION Invalid operation * @retval #PLAYER_ERROR_FEATURE_NOT_SUPPORTED_ON_DEVICE Unsupported feature - * @pre The player state must be one of #PLAYER_STATE_IDLE, #PLAYER_STATE_READY, #PLAYER_STATE_PLAYING or #PLAYER_STATE_PAUSED. * @see player_360_get_field_of_view() */ int player_360_set_field_of_view(player_h player, int horizontal_degrees, int vertical_degrees); @@ -2597,10 +2525,8 @@ int player_360_set_field_of_view(player_h player, int horizontal_degrees, int ve * otherwise a negative error value * @retval #PLAYER_ERROR_NONE Successful * @retval #PLAYER_ERROR_INVALID_PARAMETER Invalid parameter - * @retval #PLAYER_ERROR_INVALID_STATE Invalid player state * @retval #PLAYER_ERROR_INVALID_OPERATION Invalid operation * @retval #PLAYER_ERROR_FEATURE_NOT_SUPPORTED_ON_DEVICE Unsupported feature - * @pre The player state must be one of #PLAYER_STATE_IDLE, #PLAYER_STATE_READY, #PLAYER_STATE_PLAYING or #PLAYER_STATE_PAUSED. * @see player_360_set_field_of_view() */ int player_360_get_field_of_view(player_h player, int *horizontal_degrees, int *vertical_degrees);