Change bt to bt-sco 30/102530/1 accepted/tizen_common accepted/tizen/4.0/unified/20170816.011026 accepted/tizen/4.0/unified/20170828.224420 accepted/tizen/common/20161207.184516 accepted/tizen/unified/20170310.114204 submit/tizen/20161207.075356 submit/tizen_4.0/20170811.094300 submit/tizen_4.0/20170828.110001 submit/tizen_unified/20170310.113245 tizen_4.0.IoT.p1_release tizen_4.0.m1_release
authorJeongho Mok <jho.mok@samsung.com>
Mon, 5 Dec 2016 04:23:51 +0000 (13:23 +0900)
committerJeongho Mok <jho.mok@samsung.com>
Tue, 6 Dec 2016 05:06:52 +0000 (21:06 -0800)
[Version] 0.2.24
[Profile] Common
[Issue Type] Code Enhancement

Change-Id: Ia3d85833adc397393b0bb4db05afe187bcd55808
(cherry picked from commit 422446ce0077bbcdd48fbe12dcd8964ac5351bd7)

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

index aebc751..2a3dff9 100644 (file)
@@ -1,6 +1,6 @@
 Name:       audio-hal-ak4953
 Summary:    TIZEN Audio HAL for AK4953
-Version:    0.2.23
+Version:    0.2.24
 Release:    0
 Group:      System/Libraries
 License:    Apache-2.0
index 513384e..8be716b 100644 (file)
@@ -61,7 +61,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;
@@ -71,7 +71,7 @@ static uint32_t __convert_device_string_to_enum(const char* device_str, uint32_t
         device = AUDIO_DEVICE_IN_MAIN_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;