commit | 4af8289111ac98f4fcd88890cd1147e5d9e5fbaa | [log] [tgz] |
---|---|---|
author | qctecmdr <qctecmdr@localhost> | Mon Dec 21 19:38:08 2020 -0800 |
committer | Gerrit - the friendly Code Review server <code-review@localhost> | Mon Dec 21 19:38:08 2020 -0800 |
tree | e4eba1268191691dd2a4bfdf3d3cae8bd5d6ba0f | |
parent | f5408c4f519c6da33a2fd9cc3ad88eb3d1d66968 [diff] | |
parent | 9ebf6791339176b119385c749f17a5b19700c930 [diff] |
Merge "hal: fix trailing sound heard during a2dp codec switch"
diff --git a/hal/audio_hw.c b/hal/audio_hw.c index 9321477..2a6cdfa 100644 --- a/hal/audio_hw.c +++ b/hal/audio_hw.c
@@ -9523,6 +9523,7 @@ 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 ||