commit | 1b271ce17f3b234ed10e720e00926943417dbc8f | [log] [tgz] |
---|---|---|
author | qctecmdr <qctecmdr@localhost> | Mon Dec 21 20:48:38 2020 -0800 |
committer | Gerrit - the friendly Code Review server <code-review@localhost> | Mon Dec 21 20:48:38 2020 -0800 |
tree | 9caa14516348b1349cc7272ce9738bf31a98c7f2 | |
parent | 4af8289111ac98f4fcd88890cd1147e5d9e5fbaa [diff] | |
parent | 1f93fa53f8f3cf20f0b48c39244561b8b48c8821 [diff] |
Merge "hal: mute stream and switch to speaker during a2dp suspend"
diff --git a/hal/audio_hw.c b/hal/audio_hw.c index d732fa5..f1ff4ef 100644 --- a/hal/audio_hw.c +++ b/hal/audio_hw.c
@@ -9520,6 +9520,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 ||