Change bt to bt-sco 06/102106/1 accepted/tizen/3.0/common/20161207.194434 accepted/tizen/3.0/ivi/20161207.011905 accepted/tizen/3.0/mobile/20161207.011456 accepted/tizen/3.0/tv/20161207.011658 accepted/tizen/3.0/wearable/20161207.011756 submit/tizen_3.0/20161206.052949
authorJeongho Mok <jho.mok@samsung.com>
Mon, 5 Dec 2016 04:28:37 +0000 (13:28 +0900)
committerJeongho Mok <jho.mok@samsung.com>
Mon, 5 Dec 2016 04:28:57 +0000 (13:28 +0900)
[Version] 0.1.7
[Profile] Common
[Issue Type] Code Enhancement

Change-Id: I7cfd87e5ca42efe686f66e7dda02b4f6ce975e52

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

index 2c8e12f..498849c 100644 (file)
@@ -1,6 +1,6 @@
 Name:       audio-hal-emul
 Summary:    TIZEN Audio HAL for Emulator
-Version:    0.1.6
+Version:    0.1.7
 Release:    0
 Group:      System/Libraries
 License:    Apache-2.0
index 29266fc..23240e1 100644 (file)
@@ -57,7 +57,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;
@@ -67,7 +67,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;