From: Sangchul Lee Date: Fri, 7 Oct 2016 02:42:36 +0000 (+0900) Subject: Disable focus feature of the radio stream X-Git-Tag: submit/tizen/20161012.010406^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=774dc88f49dfbf0b4286c242fbf43030e60a5dd5;p=platform%2Fcore%2Fapi%2Fsound-manager.git Disable focus feature of the radio stream Since radio stream type is used in radio framework and they make a focus handle for ASM backward compatibility by using mm-sound API directly, it is not needed anymore. [Version] 0.3.72 [Profile] Common [Issue Type] Feature enhancement Change-Id: I657ebbcffa104d29daa8271f120dfb8ae672382f --- diff --git a/packaging/capi-media-sound-manager.spec b/packaging/capi-media-sound-manager.spec index 7cd6d99..1635ec0 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.71 +Version: 0.3.72 Release: 0 Group: Multimedia/API License: Apache-2.0 diff --git a/src/sound_manager_private.c b/src/sound_manager_private.c index ac259d9..71579c5 100644 --- a/src/sound_manager_private.c +++ b/src/sound_manager_private.c @@ -207,6 +207,7 @@ void _set_focus_availability(sound_stream_info_s *stream_info) return; } if (!strncmp(stream_info->stream_type, "solo", SOUND_STREAM_TYPE_LEN) || + !strncmp(stream_info->stream_type, "radio", SOUND_STREAM_TYPE_LEN) || !strncmp(stream_info->stream_type, "loopback-mirroring", SOUND_STREAM_TYPE_LEN)) { stream_info->is_focus_unavailable = true; LOGI("this stream_type[%s] does not support focus", stream_info->stream_type);