Fix session interrupted callback in case of SOUND_SESSION_INTERRUPTED_BY_EARJACK_UNPLUG 21/127121/1 accepted/tizen_3.0_common accepted/tizen_3.0_ivi accepted/tizen_3.0_mobile accepted/tizen_3.0_tv accepted/tizen_3.0_wearable accepted/tizen/3.0/common/20170519.185839 accepted/tizen/3.0/ivi/20170519.065923 accepted/tizen/3.0/mobile/20170519.065902 accepted/tizen/3.0/tv/20170519.065910 accepted/tizen/3.0/wearable/20170519.065916 submit/tizen_3.0/20170517.035640
authorSangchul Lee <sc11.lee@samsung.com>
Wed, 26 Apr 2017 07:58:28 +0000 (16:58 +0900)
committerSangchul Lee <sc11.lee@samsung.com>
Wed, 26 Apr 2017 07:58:28 +0000 (16:58 +0900)
commitf68cab94c46919323ba5aeaf0dd935aba1895f56
tree0e662b5e5caf1974b7e1be0cc5ab20d9fb480908
parent8d59f058c3870a4be371df3e6a8c9e63fce64429
Fix session interrupted callback in case of SOUND_SESSION_INTERRUPTED_BY_EARJACK_UNPLUG

Added to check pulseaudio stream information whether it invokes user callback or not.
The invoking condition complies with legacy session policy.

[Version] 0.3.113
[Profile] Common
[Issue Type] Backward compatibility

Change-Id: I10bd367ecbc6670a0b9b1dd220ba556d6cb2d846
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
packaging/capi-media-sound-manager.spec
src/sound_manager_private.c