diff options
author | Jeongho Mok <jho.mok@samsung.com> | 2016-12-05 13:33:18 +0900 |
---|---|---|
committer | Jeongho Mok <jho.mok@samsung.com> | 2016-12-05 21:03:37 -0800 |
commit | ad212be8bd7390ac004942302c5aa3d91e64401d (patch) | |
tree | 61394f2027b1dead112fbd6fa36b76f51cedd01e /tizen-audio-routing.c | |
parent | bf1946dd2f2b6b7d83dc28b87133d565144068d4 (diff) | |
download | audio-hal-wm1831-ad212be8bd7390ac004942302c5aa3d91e64401d.tar.gz audio-hal-wm1831-ad212be8bd7390ac004942302c5aa3d91e64401d.tar.bz2 audio-hal-wm1831-ad212be8bd7390ac004942302c5aa3d91e64401d.zip |
Change bt to bt-scotizen_4.0.m1_releasetizen_4.0.IoT.p1_releasesubmit/tizen_unified/20170308.100403submit/tizen_4.0/20170828.110001submit/tizen_4.0/20170811.094300submit/tizen/20161207.075356accepted/tizen/wearable/20161208.012119accepted/tizen/unified/20170309.031158accepted/tizen/tv/20161208.012029accepted/tizen/mobile/20161208.011829accepted/tizen/ivi/20161208.012228accepted/tizen/common/20161207.184538accepted/tizen/4.0/unified/20170828.224234accepted/tizen/4.0/unified/20170816.012403accepted/tizen_wearableaccepted/tizen_tvaccepted/tizen_mobileaccepted/tizen_iviaccepted/tizen_common
[Version] 0.1.9
[Profile] Common
[Issue Type] Code Enhancement
Change-Id: If82e9c6516f0454ced74bbc7e140503d3a8380aa
(cherry picked from commit ef0132ba1dcafd64e4068c4d30b231c9fd51b8da)
Diffstat (limited to 'tizen-audio-routing.c')
-rw-r--r-- | tizen-audio-routing.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tizen-audio-routing.c b/tizen-audio-routing.c index 513384e..8be716b 100644 --- a/tizen-audio-routing.c +++ b/tizen-audio-routing.c @@ -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; |