diff options
author | qctecmdr <qctecmdr@localhost> | 2020-01-21 05:03:44 -0800 |
---|---|---|
committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2020-01-21 05:03:44 -0800 |
commit | cbdcae82c5a16a72fe22c5479ac0f86950cd2117 (patch) | |
tree | f6d437023ae00066025335abf0b6be115e9def1f /hal | |
parent | fee06c295e4a554b9c0639760d902236be24a4f0 (diff) | |
parent | 8a17fe3feb131b372ff5d01dd3abcda099f69b0a (diff) | |
download | android_hardware_qcom_audio-cbdcae82c5a16a72fe22c5479ac0f86950cd2117.tar.gz android_hardware_qcom_audio-cbdcae82c5a16a72fe22c5479ac0f86950cd2117.tar.bz2 android_hardware_qcom_audio-cbdcae82c5a16a72fe22c5479ac0f86950cd2117.zip |
Merge " HAL: Modified condition to avoid audio Tx path for legacy targets"
Diffstat (limited to 'hal')
-rw-r--r-- | hal/audio_hw.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/hal/audio_hw.c b/hal/audio_hw.c index 954191e0..aa2a68e0 100644 --- a/hal/audio_hw.c +++ b/hal/audio_hw.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013-2019, The Linux Foundation. All rights reserved. + * Copyright (c) 2013-2020, The Linux Foundation. All rights reserved. * Not a Contribution. * * Copyright (C) 2013 The Android Open Source Project @@ -8943,6 +8943,7 @@ static int adev_open_input_stream(struct audio_hw_device *dev, in->config.rate = config->sample_rate; in->af_period_multiplier = 1; } else if (in->source == AUDIO_SOURCE_VOICE_COMMUNICATION && + (!voice_extn_is_compress_voip_supported()) && in->flags & AUDIO_INPUT_FLAG_VOIP_TX && (config->sample_rate == 8000 || config->sample_rate == 16000 || |