Add new APIs to communicate with one another about the predefined sound behavior... 54/81854/17
authorSangchul Lee <sc11.lee@samsung.com>
Thu, 28 Jul 2016 23:10:21 +0000 (08:10 +0900)
committerSangchul Lee <sc11.lee@samsung.com>
Tue, 20 Sep 2016 00:01:13 +0000 (09:01 +0900)
commitd6d128401ed060d195bb6e4fe1fdec4afd1ebbb2
treef6fb5f02b364e12816f19f77fe6c8e9c246ceab2
parent330c8a0d2109176f5470fdcb29f1e1ef2b97b9d3
Add new APIs to communicate with one another about the predefined sound behavior and to get acquired focus in system

 - New enumeration for sound behavior (SOUND_BEHAVIOR_NONE, SOUND_BEHAVIOR_NO_RESUME, SOUND_BEHAVIOR_FADING)
 - sound_manager_focus_set[get]_requesting_behavior() which is to set/get the requesting sound behavior before calling acquiring/releasing stream focus.
 - sound_manager_focus_get_requested_behavior() which is to get the requested sound behavior within sound_stream_focus_state_changed_cb().
 - Move internal APIs for getting focus status in the system to public header.
   : sound_manager_get_current_playback_focus()
   : sound_manager_get_current_recording_focus()

[Version] Release 0.3.65
[Profile] Common
[Issue Type] Feature Enhancement

Change-Id: I90421f80325a8d79d14495ee981283693dba009a
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
include/sound_manager.h
include/sound_manager_internal.h
include/sound_manager_internal_tv.h
include/sound_manager_private.h
packaging/capi-media-sound-manager.spec
src/sound_manager.c
src/sound_manager_internal.c
src/sound_manager_private.c
test/sound_manager_test.c