commit | 904342b6e26dc34cd901c71ea03c5c66c304095f | [log] [tgz] |
---|---|---|
author | qctecmdr <qctecmdr@localhost> | Wed Aug 26 00:53:19 2020 -0700 |
committer | Gerrit - the friendly Code Review server <code-review@localhost> | Wed Aug 26 00:53:19 2020 -0700 |
tree | 08d4db432f65c7bbee92c41a1c897a02b967ef30 | |
parent | 789522dca852cd16abcec87ba3ccdb4bb63d1f8c [diff] | |
parent | 8e34a2fb481f535e9d49c9f1e364fb945bdd7352 [diff] |
Merge "hal: update channel mask for voip rx"
diff --git a/hal/audio_hw.c b/hal/audio_hw.c index 251352b..12e89dc 100644 --- a/hal/audio_hw.c +++ b/hal/audio_hw.c
@@ -7881,6 +7881,8 @@ out->config.rate = out->sample_rate; uint32_t channel_count = audio_channel_count_from_out_mask(out->channel_mask); + out->config.channels = channel_count; + uint32_t buffer_size = get_stream_buffer_size(DEFAULT_VOIP_BUF_DURATION_MS, out->sample_rate, out->format, channel_count, false);