Disable focus feature of the radio stream 17/91317/1 accepted/tizen/3.0/ivi/20161028.122949 accepted/tizen/3.0/mobile/20161028.122229 accepted/tizen/3.0/tv/20161028.122525 accepted/tizen/3.0/wearable/20161028.122744 accepted/tizen/common/20161012.154145 accepted/tizen/ivi/20161012.065358 accepted/tizen/mobile/20161012.065239 accepted/tizen/tv/20161012.065309 accepted/tizen/wearable/20161012.065332 submit/tizen/20161012.010406 submit/tizen_3.0/20161028.062323 submit/tizen_3.0/20161028.082323 submit/tizen_3.0_common/20161104.104000
authorSangchul Lee <sc11.lee@samsung.com>
Fri, 7 Oct 2016 02:42:36 +0000 (11:42 +0900)
committerSangchul Lee <sc11.lee@samsung.com>
Fri, 7 Oct 2016 02:42:36 +0000 (11:42 +0900)
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

packaging/capi-media-sound-manager.spec
src/sound_manager_private.c

index 7cd6d99..1635ec0 100755 (executable)
@@ -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
index ac259d9..71579c5 100644 (file)
@@ -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);