From: Sangchul Lee Date: Tue, 16 May 2017 04:52:52 +0000 (+0900) Subject: Revise error description X-Git-Tag: submit/tizen/20170602.051157~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F09%2F129309%2F1;p=platform%2Fcore%2Fapi%2Fsound-manager.git Revise error description Remove SOUND_MANAGER_ERROR_INVALID_OPERATION error type of sound_manager_acquire_focus() and sound_manager_release_focus(). [Version] 0.4.2 [Issue Type] Enhancement Change-Id: I969ae48294598ce61ba09aed9293a8d12a386eec Signed-off-by: Sangchul Lee --- diff --git a/include/sound_manager.h b/include/sound_manager.h index 184d89d..470cfec 100644 --- a/include/sound_manager.h +++ b/include/sound_manager.h @@ -785,9 +785,6 @@ int sound_manager_apply_stream_routing(sound_stream_info_h stream_info); * @brief Acquires the stream focus. * @since_tizen 3.0 * - * @remarks Do not call this function within sound_stream_focus_state_changed_cb() or sound_stream_focus_state_watch_cb(),\n - * otherwise #SOUND_MANAGER_ERROR_INVALID_OPERATION will be returned. - * * @param[in] stream_info The handle of stream information * @param[in] focus_mask The focus mask that user wants to acquire * @param[in] sound_behavior The requesting sound behavior, values of #sound_behavior_e combined with bitwise 'or' @@ -796,7 +793,6 @@ int sound_manager_apply_stream_routing(sound_stream_info_h stream_info); * otherwise a negative error value * @retval #SOUND_MANAGER_ERROR_NONE Success * @retval #SOUND_MANAGER_ERROR_INVALID_PARAMETER Invalid parameter - * @retval #SOUND_MANAGER_ERROR_INVALID_OPERATION Invalid operation * @retval #SOUND_MANAGER_ERROR_INVALID_STATE Invalid state * @retval #SOUND_MANAGER_ERROR_POLICY Noncompliance with the sound system policy * @retval #SOUND_MANAGER_ERROR_INTERNAL Internal error inside the sound system @@ -812,9 +808,6 @@ int sound_manager_acquire_focus(sound_stream_info_h stream_info, sound_stream_fo * @brief Releases the acquired focus. * @since_tizen 3.0 * - * @remarks Do not call this function within sound_stream_focus_state_changed_cb() or sound_stream_focus_state_watch_cb(),\n - * otherwise #SOUND_MANAGER_ERROR_INVALID_OPERATION will be returned. - * * @param[in] stream_info The handle of stream information * @param[in] focus_mask The focus mask that user wants to release * @param[in] sound_behavior The requesting sound behavior, values of #sound_behavior_e combined with bitwise 'or' @@ -823,7 +816,6 @@ int sound_manager_acquire_focus(sound_stream_info_h stream_info, sound_stream_fo * otherwise a negative error value * @retval #SOUND_MANAGER_ERROR_NONE Success * @retval #SOUND_MANAGER_ERROR_INVALID_PARAMETER Invalid parameter - * @retval #SOUND_MANAGER_ERROR_INVALID_OPERATION Invalid operation * @retval #SOUND_MANAGER_ERROR_INVALID_STATE Invalid state * @retval #SOUND_MANAGER_ERROR_INTERNAL Internal error inside the sound system * @pre Call sound_manager_create_stream_information() and sound_manager_acquire_focus() before calling this function. diff --git a/packaging/capi-media-sound-manager.spec b/packaging/capi-media-sound-manager.spec index 6ab8763..4f9d678 100644 --- a/packaging/capi-media-sound-manager.spec +++ b/packaging/capi-media-sound-manager.spec @@ -1,6 +1,6 @@ Name: capi-media-sound-manager Summary: Sound Manager library -Version: 0.4.1 +Version: 0.4.2 Release: 0 Group: Multimedia/API License: Apache-2.0