Change bt to bt-sco 19/102519/1 accepted/tizen_common accepted/tizen_ivi accepted/tizen_mobile accepted/tizen/4.0/unified/20170816.011145 accepted/tizen/4.0/unified/20170828.224315 accepted/tizen/common/20161207.184550 accepted/tizen/ivi/20161208.012241 accepted/tizen/mobile/20161208.011908 accepted/tizen/unified/20170309.031140 submit/tizen/20161207.075356 submit/tizen_4.0/20170811.094300 submit/tizen_4.0/20170828.110001 submit/tizen_unified/20170308.100403 tizen_4.0.IoT.p1_release tizen_4.0.m1_release
authorJeongho Mok <jho.mok@samsung.com>
Mon, 5 Dec 2016 04:35:03 +0000 (13:35 +0900)
committerJeongho Mok <jho.mok@samsung.com>
Tue, 6 Dec 2016 05:03:03 +0000 (21:03 -0800)
[Version] 0.2.22
[Profile] Common
[Issue Type] Code Enhancement

Change-Id: Id571edf45c2c8cb2394e15a6836db7313c3a529f
(cherry picked from commit 7ce29af3df0ba18068316ede8dc42bd7cfedbb1a)

packaging/audio-hal-wm5110.spec
tizen-audio-routing.c

index 465d9c83f66afe388953d90ab159f7ee117c7121..48ae6cc0f883578de3bf5f2a9d572943fdb9c260 100644 (file)
@@ -1,6 +1,6 @@
 Name:       audio-hal-wm5110
 Summary:    TIZEN Audio HAL for WM5110
-Version:    0.2.21
+Version:    0.2.22
 Release:    0
 VCS:        adaptation/samsung_exynos/audio-hal-wm5110#a568942051241d60e37c6738466a2a5058f260c0
 Group:      System/Libraries
index 885ad4e5a3fa634f6092a114111466eb2b906600..18bdd0450dc11ac300deb588382f6c401e3fd73a 100644 (file)
@@ -64,7 +64,7 @@ static uint32_t __convert_device_string_to_enum(const char* device_str, uint32_t
         device = AUDIO_DEVICE_OUT_RECEIVER;
     } else if ((!strncmp(device_str, "audio-jack", MAX_NAME_LEN)) && (direction == AUDIO_DIRECTION_OUT)) {
         device = AUDIO_DEVICE_OUT_JACK;
-    } else if ((!strncmp(device_str, "bt", MAX_NAME_LEN)) && (direction == AUDIO_DIRECTION_OUT)) {
+    } else if ((!strncmp(device_str, "bt-sco", MAX_NAME_LEN)) && (direction == AUDIO_DIRECTION_OUT)) {
         device = AUDIO_DEVICE_OUT_BT_SCO;
     } else if (!strncmp(device_str, "aux", MAX_NAME_LEN)) {
         device = AUDIO_DEVICE_OUT_AUX;
@@ -75,7 +75,7 @@ static uint32_t __convert_device_string_to_enum(const char* device_str, uint32_t
     /* To Do : SUB_MIC */
     } else if ((!strncmp(device_str, "audio-jack", MAX_NAME_LEN)) && (direction == AUDIO_DIRECTION_IN)) {
         device = AUDIO_DEVICE_IN_JACK;
-    } else if ((!strncmp(device_str, "bt", MAX_NAME_LEN)) && (direction == AUDIO_DIRECTION_IN)) {
+    } else if ((!strncmp(device_str, "bt-sco", MAX_NAME_LEN)) && (direction == AUDIO_DIRECTION_IN)) {
         device = AUDIO_DEVICE_IN_BT_SCO;
     } else {
         device = AUDIO_DEVICE_NONE;