diff options
author | Jeongho Mok <jho.mok@samsung.com> | 2016-12-05 13:31:34 +0900 |
---|---|---|
committer | Jeongho Mok <jho.mok@samsung.com> | 2016-12-05 13:32:14 +0900 |
commit | 4b85571d3e818263564d3cc543579fd6093a1e12 (patch) | |
tree | a20a0082a4d2f64f3dcd3f39ea48fb62aaf6bfd3 | |
parent | bb813d9f5505f541b4cb0873b62b076e2cfcf425 (diff) | |
download | audio-hal-max98090-4b85571d3e818263564d3cc543579fd6093a1e12.tar.gz audio-hal-max98090-4b85571d3e818263564d3cc543579fd6093a1e12.tar.bz2 audio-hal-max98090-4b85571d3e818263564d3cc543579fd6093a1e12.zip |
Change bt to bt-scosubmit/tizen_3.0/20161206.052949submit/tizen_3.0.m2/20170104.093748accepted/tizen/3.0/tv/20161207.011648accepted/tizen/3.0/ivi/20161207.011856accepted/tizen/3.0/common/20161207.194439accepted/tizen/3.0.m2/tv/20170104.100403tizen_3.0_tvtizen_3.0.m2tizen_3.0accepted/tizen_3.0_tvaccepted/tizen_3.0_iviaccepted/tizen_3.0_commonaccepted/tizen_3.0.m2_tv
[Version] 0.2.24
[Profile] Common
[Issue Type] Code Enhancement
Change-Id: I8ccd86c8428fc199608528e6f95c4e1f201fac9e
-rw-r--r-- | packaging/audio-hal-max98090.spec | 2 | ||||
-rw-r--r-- | tizen-audio-routing.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/packaging/audio-hal-max98090.spec b/packaging/audio-hal-max98090.spec index 1c537ff..ae6f284 100644 --- a/packaging/audio-hal-max98090.spec +++ b/packaging/audio-hal-max98090.spec @@ -1,6 +1,6 @@ Name: audio-hal-max98090 Summary: TIZEN Audio HAL for MAX98090 -Version: 0.2.23 +Version: 0.2.24 Release: 0 Group: System/Libraries License: Apache-2.0 diff --git a/tizen-audio-routing.c b/tizen-audio-routing.c index f4994ce..32cd5c2 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; |