Add internal APIs for querying the reason for the current acquired focus(playback... 68/54168/5 accepted/tizen/mobile/20151221.100748 accepted/tizen/tv/20151221.100758 accepted/tizen/wearable/20151221.100840 submit/tizen/20151221.042414 submit/tizen_common/20151229.142028 submit/tizen_common/20151229.144031 submit/tizen_common/20151229.154718
authorSangchul Lee <sc11.lee@samsung.com>
Mon, 14 Dec 2015 01:53:42 +0000 (10:53 +0900)
committerSangchul Lee <sc11.lee@samsung.com>
Mon, 21 Dec 2015 02:53:25 +0000 (11:53 +0900)
commit6e96b6d065b088a11b0aadaddeb8bdc3e4d20dd9
tree8f375bff8c1bc7f85606cc4925a6607a42b6fe82
parent1311f33441fd341bb8506fe9b94a95515fae66e3
Add internal APIs for querying the reason for the current acquired focus(playback/recording) in the system

int sound_manager_get_reason_for_current_playback_focus(sound_stream_focus_change_reason_e *acquired_by, char **additional_info)
int sound_manager_get_reason_for_current_recording_focus(sound_stream_focus_change_reason_e *acquired_by, char **additional_info)
User can get the reason for the current acquired focus via the new APIs globally.
Modify debug logs.

[Version] Release 0.3.37
[profile] Common
[Issue Type] Feature enhancement

Change-Id: If635cfe476376f6a69d88ffec9d46fb0616c6490
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
include/sound_manager_internal.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