summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeongho Mok <jho.mok@samsung.com>2016-12-02 22:29:37 +0900
committerJeongho Mok <jho.mok@samsung.com>2016-12-02 22:34:45 +0900
commitb77ccc747e508002934b770a16a737695230743a (patch)
tree78582efb8f488e62a54f646dcbb7637c4cfabf49
parent35d83a3c93be719786158ac7c1034c96a3d33fc2 (diff)
downloadaudio-hal-sc7727-b77ccc747e508002934b770a16a737695230743a.tar.gz
audio-hal-sc7727-b77ccc747e508002934b770a16a737695230743a.tar.bz2
audio-hal-sc7727-b77ccc747e508002934b770a16a737695230743a.zip
[Version] 0.1.19 [Profile] Mobile [Issue Type] Enhancement Change-Id: Ia06fb622bf25e79c8c11b5de3d7d9beb15de2ce1
-rw-r--r--packaging/audio-hal-sc7727.spec2
-rw-r--r--tizen-audio-routing.c6
2 files changed, 4 insertions, 4 deletions
diff --git a/packaging/audio-hal-sc7727.spec b/packaging/audio-hal-sc7727.spec
index d593160..4d49877 100644
--- a/packaging/audio-hal-sc7727.spec
+++ b/packaging/audio-hal-sc7727.spec
@@ -1,6 +1,6 @@
Name: audio-hal-sc7727
Summary: TIZEN Audio HAL for SC7727
-Version: 0.1.18
+Version: 0.1.19
Release: 0
Group: System/Libraries
License: Apache-2.0
diff --git a/tizen-audio-routing.c b/tizen-audio-routing.c
index d5ad19c..960e55c 100644
--- a/tizen-audio-routing.c
+++ b/tizen-audio-routing.c
@@ -65,14 +65,14 @@ 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, "builtin-mic", MAX_NAME_LEN))) {
device = AUDIO_DEVICE_IN_MAIN_MIC;
/* 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;
@@ -500,4 +500,4 @@ audio_return_t audio_update_route_option(void *audio_handle, audio_route_option_
AUDIO_LOG_INFO("role:%s, name:%s, value:%d", option->role, option->name, option->value);
return audio_ret;
-} \ No newline at end of file
+}