Change bt to bt-sco 27/102527/1 accepted/tizen_common accepted/tizen_ivi accepted/tizen_mobile accepted/tizen_tv accepted/tizen_wearable accepted/tizen/common/20161207.184525 accepted/tizen/ivi/20161208.012215 accepted/tizen/mobile/20161208.011844 accepted/tizen/tv/20161208.012018 accepted/tizen/unified/20170309.031102 accepted/tizen/wearable/20161208.012130 submit/tizen/20161207.075356 submit/tizen_unified/20170308.100403 tizen_4.0.m1_release
authorJeongho Mok <jho.mok@samsung.com>
Mon, 5 Dec 2016 04:28:37 +0000 (13:28 +0900)
committerJeongho Mok <jho.mok@samsung.com>
Tue, 6 Dec 2016 05:05:49 +0000 (21:05 -0800)
[Version] 0.1.7
[Profile] Common
[Issue Type] Code Enhancement

Change-Id: I7cfd87e5ca42efe686f66e7dda02b4f6ce975e52
(cherry picked from commit a60006ccc536e5098504e74a4fe66b0747c56ad9)

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;