Convert bt-a2dp type correctly 62/116362/1
authorJeongho Mok <jho.mok@samsung.com>
Fri, 24 Feb 2017 03:47:23 +0000 (12:47 +0900)
committerJeongho Mok <jho.mok@samsung.com>
Fri, 24 Feb 2017 03:48:11 +0000 (12:48 +0900)
[Version] 0.3.102
[Profile] Common
[Issue Type] Bug

Change-Id: I25e90a32b65dba2a41575e71a67f2a5324847d05

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

index a67187e1616d17f981cb4074a158934bb0a945dc..2aea72ed67f46124adb8685177bcab7413646409 100755 (executable)
@@ -1,6 +1,6 @@
 Name:       capi-media-sound-manager
 Summary:    Sound Manager library
-Version:    0.3.101
+Version:    0.3.102
 Release:    0
 Group:      Multimedia/API
 License:    Apache-2.0
index f3f4b50413ff8719eba93100a6c202122a63f335..ca324e8f9afb16c188ae86f3f3597f1674398e98 100644 (file)
@@ -450,7 +450,7 @@ int _convert_device_type_str_to_enum(const char *device_type_str, sound_device_t
                *device_type = SOUND_DEVICE_USB_AUDIO;
 
        } else if (!strncmp(device_type_str, "bt-a2dp", SOUND_DEVICE_TYPE_LEN)) {
-               *device_type = SOUND_STREAM_FOCUS_CHANGED_BY_VOICE_INFORMATION;
+               *device_type = SOUND_DEVICE_BLUETOOTH_MEDIA;
 
        } else if (!strncmp(device_type_str, "bt-sco", SOUND_DEVICE_TYPE_LEN)) {
                *device_type = SOUND_DEVICE_BLUETOOTH_VOICE;