From: Sangchul Lee Date: Tue, 17 Nov 2015 07:08:35 +0000 (+0900) Subject: Revise description - mention SOUND_STREAM_TYPE_MEDIA_EXTERNAL_ONLY to sound_manager_a... X-Git-Tag: submit/tizen/20151117.073902^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F06%2F51906%2F1;p=platform%2Fcore%2Fapi%2Fsound-manager.git Revise description - mention SOUND_STREAM_TYPE_MEDIA_EXTERNAL_ONLY to sound_manager_add_device_for_stream_routing() API [Version] Release 0.3.28 [profile] Common [Issue Type] Revise description Change-Id: Iec110a215d8a681c42cd05e3447e4baba297a243 Signed-off-by: Sangchul Lee --- diff --git a/include/sound_manager.h b/include/sound_manager.h index 2a52e2c..a398d5b 100644 --- a/include/sound_manager.h +++ b/include/sound_manager.h @@ -341,7 +341,7 @@ typedef void (*sound_manager_volume_changed_cb) (sound_type_e type, unsigned int * @param[in] user_data The user data passed from the callback registration function * * @remarks This function is issued in the internal thread of the sound manager.\n - * Therefore it is recommended not to call UI update function in this function.\n + * Therefore it is recommended not to call UI update function in this function. * * @pre You should register this callback using sound_manager_create_stream_information(). * @post Use sound_manager_get_focus_state() in this callback to figure out how the focus state of the stream_info has been changed. @@ -360,7 +360,7 @@ typedef void (*sound_stream_focus_state_changed_cb) (sound_stream_info_h stream_ * @param[in] user_data The user data passed from the callback registration function * * @remarks This function is issued in the internal thread of the sound manager.\n - * Therefore it is recommended not to call UI update function in this function.\n + * Therefore it is recommended not to call UI update function in this function. * * @pre You should register this callback using sound_manager_set_focus_state_watch_cb(). * @see sound_manager_set_focus_state_watch_cb() @@ -566,7 +566,7 @@ int sound_manager_unset_volume_changed_cb(void); * * @remarks The registered callback is issued in the internal thread of the sound manager.\n * Do not call this API within sound_stream_focus_state_changed_cb() and sound_stream_focus_state_watch_cb(),\n - * otherwise SOUND_MANAGER_ERROR_INVALID_OPERATION will be returned.\n + * otherwise SOUND_MANAGER_ERROR_INVALID_OPERATION will be returned. * * @return @c 0 on success, * otherwise a negative error value @@ -591,7 +591,7 @@ int sound_manager_create_stream_information(sound_stream_type_e stream_type, sou * @param[in] stream_info The handle of stream information * * @remarks Do not call this API within sound_stream_focus_state_changed_cb() and sound_stream_focus_state_watch_cb(),\n - * otherwise SOUND_MANAGER_ERROR_INVALID_OPERATION will be returned.\n + * otherwise SOUND_MANAGER_ERROR_INVALID_OPERATION will be returned. * * @return @c 0 on success, * otherwise a negative error value @@ -617,7 +617,7 @@ int sound_manager_destroy_stream_information(sound_stream_info_h stream_info); * * @remarks Use sound_manager_get_current_device_list() and sound_manager_get_next_device() to get the device.\n * SOUND_MANAGER_ERROR_POLICY could be returned according to the stream type of the stream_info.\n - * The available type of the stream_info for this API is SOUND_STREAM_TYPE_VOIP. + * The available types of the stream_info for this API are SOUND_STREAM_TYPE_VOIP and SOUND_STREAM_TYPE_MEDIA_EXTERNAL_ONLY. * * @return @c 0 on success, * otherwise a negative error value @@ -683,7 +683,7 @@ int sound_manager_apply_stream_routing(sound_stream_info_h stream_info); * @param[in] additional_info Additional information for this request (optional, this can be null) * * @remarks Do not call this API within sound_stream_focus_state_changed_cb() and sound_stream_focus_state_watch_cb(),\n - * otherwise SOUND_MANAGER_ERROR_INVALID_OPERATION will be returned.\n + * otherwise SOUND_MANAGER_ERROR_INVALID_OPERATION will be returned. * * @return @c 0 on success, * otherwise a negative error value @@ -709,7 +709,7 @@ int sound_manager_acquire_focus(sound_stream_info_h stream_info, sound_stream_fo * @param[in] additional_info Additional information for this request (optional, this can be null) * * @remarks Do not call this API within sound_stream_focus_state_changed_cb() and sound_stream_focus_state_watch_cb(),\n - * otherwise SOUND_MANAGER_ERROR_INVALID_OPERATION will be returned.\n + * otherwise SOUND_MANAGER_ERROR_INVALID_OPERATION will be returned. * * @return @c 0 on success, * otherwise a negative error value @@ -771,10 +771,10 @@ int sound_manager_get_sound_type(sound_stream_info_h stream_info, sound_type_e * * @param[in] callback The focus state change watch callback function * @param[in] user_data The user data to be passed to the callback function * - * @remarks You can set this callback only once per process. + * @remarks You can set this callback only once per process.\n * The registered callback is issued in the internal thread of the sound manager.\n * Do not call this API within sound_stream_focus_state_changed_cb() and sound_stream_focus_state_watch_cb(),\n - * otherwise SOUND_MANAGER_ERROR_INVALID_OPERATION will be returned.\n + * otherwise SOUND_MANAGER_ERROR_INVALID_OPERATION will be returned. * * @return @c 0 on success, * otherwise a negative error value @@ -791,7 +791,7 @@ int sound_manager_set_focus_state_watch_cb(sound_stream_focus_mask_e focus_mask, * @since_tizen 3.0 * * @remarks Do not call this API within sound_stream_focus_state_changed_cb() and sound_stream_focus_state_watch_cb(),\n - * otherwise SOUND_MANAGER_ERROR_INVALID_OPERATION will be returned.\n + * otherwise SOUND_MANAGER_ERROR_INVALID_OPERATION will be returned. * * @return @c 0 on success, * otherwise a negative error value diff --git a/include/sound_manager_internal.h b/include/sound_manager_internal.h index 3d581e6..dc3e4e1 100644 --- a/include/sound_manager_internal.h +++ b/include/sound_manager_internal.h @@ -124,7 +124,7 @@ int sound_manager_get_master_volume(int *level); * @param[out] stream_info The handle of stream information * * @remarks Do not call this API within sound_stream_focus_state_changed_cb() and sound_stream_focus_state_watch_cb(),\n - * otherwise SOUND_MANAGER_ERROR_INVALID_OPERATION will be returned.\n + * otherwise SOUND_MANAGER_ERROR_INVALID_OPERATION will be returned. * * @return @c 0 on success, * otherwise a negative error value @@ -150,7 +150,7 @@ int sound_manager_create_stream_information_internal(sound_stream_type_internal_ * @param[in] name The name of option * @param[in] value The value of option * - * @remarks @a If the stream has not been made yet, this setting will be applied when the stream starts to play.\n + * @remarks If the stream has not been made yet, this setting will be applied when the stream starts to play. * * @return @c 0 on success, * otherwise a negative error value diff --git a/packaging/capi-media-sound-manager.spec b/packaging/capi-media-sound-manager.spec index 817ef11..394fb6c 100755 --- 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.3.27 +Version: 0.3.28 Release: 0 Group: Multimedia/API License: Apache-2.0