Revise error description 09/129309/1
authorSangchul Lee <sc11.lee@samsung.com>
Tue, 16 May 2017 04:52:52 +0000 (13:52 +0900)
committerSangchul Lee <sc11.lee@samsung.com>
Tue, 16 May 2017 04:58:37 +0000 (13:58 +0900)
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 <sc11.lee@samsung.com>
include/sound_manager.h
packaging/capi-media-sound-manager.spec

index 184d89df2287a0f17f11252e8e8bbcad1da57134..470cfec8f4b9fdc4f219d7ae157d1fa456fa81a4 100644 (file)
@@ -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.
index 6ab876378cc958020199012c470ffc165bfda9b2..4f9d678190f0720d82596c6584a45341019448ba 100644 (file)
@@ -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