Change bt to bt-sco 21/102521/1 accepted/tizen_common accepted/tizen_ivi accepted/tizen_mobile accepted/tizen_tv accepted/tizen_wearable accepted/tizen/4.0/unified/20170816.012403 accepted/tizen/4.0/unified/20170828.224234 accepted/tizen/common/20161207.184538 accepted/tizen/ivi/20161208.012228 accepted/tizen/mobile/20161208.011829 accepted/tizen/tv/20161208.012029 accepted/tizen/unified/20170309.031158 accepted/tizen/wearable/20161208.012119 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:33:18 +0000 (13:33 +0900)
committerJeongho Mok <jho.mok@samsung.com>
Tue, 6 Dec 2016 05:03:37 +0000 (21:03 -0800)
[Version] 0.1.9
[Profile] Common
[Issue Type] Code Enhancement

Change-Id: If82e9c6516f0454ced74bbc7e140503d3a8380aa
(cherry picked from commit ef0132ba1dcafd64e4068c4d30b231c9fd51b8da)

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

index 263fc4e7ee169a44bb39be9628af02b40e532ad0..42655a8cff572b73fc12e91216fe97577398812c 100644 (file)
@@ -1,6 +1,6 @@
 Name:       audio-hal-wm1831
 Summary:    TIZEN Audio HAL for WM1831
-Version:    0.1.8
+Version:    0.1.9
 Release:    0
 Group:      System/Libraries
 License:    Apache-2.0
index 513384e7eb2d3d8987756ddc2050c281f0f364c7..8be716b9cc4caf170f680e3ccc7520db1cb7b4e1 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;