diff options
author | qctecmdr <qctecmdr@localhost> | 2020-12-21 12:22:25 -0800 |
---|---|---|
committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2020-12-21 12:22:24 -0800 |
commit | f5408c4f519c6da33a2fd9cc3ad88eb3d1d66968 (patch) | |
tree | b848cc2a3e4c1265a4e64405e2aa668988dc0462 | |
parent | 59fbc5e92ca04f89219d0a4cc2a43d5801f0f6c3 (diff) | |
parent | abdf748a9884cc6082c30aa70025095bfab10b13 (diff) |
Merge " HAL: Modified condition to avoid audio Tx path for legacy targets"
-rw-r--r-- | hal/audio_hw.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hal/audio_hw.c b/hal/audio_hw.c index f4b39fbf..c85d6720 100644 --- a/hal/audio_hw.c +++ b/hal/audio_hw.c @@ -9523,6 +9523,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 || |