Fix abort case in CAudioSessionHandler::unregisterSound() and revise error. 01/90801/1 accepted/tizen/3.0/common/20161114.105149 accepted/tizen/3.0/ivi/20161028.123026 accepted/tizen/3.0/mobile/20161015.032301 accepted/tizen/3.0/mobile/20161028.122310 accepted/tizen/3.0/tv/20161016.003428 accepted/tizen/3.0/tv/20161028.122616 accepted/tizen/3.0/wearable/20161015.080335 accepted/tizen/3.0/wearable/20161028.122822 accepted/tizen/common/20161005.165516 accepted/tizen/ivi/20161007.003937 accepted/tizen/mobile/20161007.003732 accepted/tizen/tv/20161007.003827 accepted/tizen/wearable/20161007.003904 submit/tizen/20161005.055916 submit/tizen_3.0/20161028.062323 submit/tizen_3.0/20161028.082323 submit/tizen_3.0_common/20161104.104000 submit/tizen_3.0_mobile/20161015.000000 submit/tizen_3.0_tv/20161015.000000 submit/tizen_3.0_wearable/20161015.000000
authorSangchul Lee <sc11.lee@samsung.com>
Tue, 4 Oct 2016 08:49:04 +0000 (17:49 +0900)
committerSangchul Lee <sc11.lee@samsung.com>
Tue, 4 Oct 2016 09:06:44 +0000 (18:06 +0900)
commit222c4fa8e8cbfdab38c0eb5f7d9b23eaee6b1f50
treee251fdaccb1d5c5ff68d169b821c977800b19c9a
parent5bf0f00b9b242cf5f1f516d1a3e3d94f7e99eb91
Fix abort case in CAudioSessionHandler::unregisterSound() and revise error.

Since the __mId member can be initial value(-1) when this function is called from onSignal() in
CAudioIO.cpp, it should not throw an error even if the value is under 0.

[Version] 0.3.44
[Profile] Common
[Issue Type] Bug Fix

Change-Id: I02548ee2df164bd253bb9744537b1c490ff5b244
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
packaging/capi-media-audio-io.spec
src/cpp/CAudioSessionHandler.cpp