Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 904342b6 authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "hal: update channel mask for voip rx"

parents 789522dc 8e34a2fb
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -7881,6 +7881,8 @@ int adev_open_output_stream(struct audio_hw_device *dev,
                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);