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

Commit 1c744772 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "hal: Fix incorrect channel setting for Mmap record path"

parents 1ab48fe2 de7925e6
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -7276,6 +7276,7 @@ static int adev_open_input_stream(struct audio_hw_device *dev,
        in->usecase = USECASE_AUDIO_RECORD_MMAP;
        in->config = pcm_config_mmap_capture;
        in->config.format = pcm_format_from_audio_format(config->format);
        in->config.channels = channel_count;
        in->stream.start = in_start;
        in->stream.stop = in_stop;
        in->stream.create_mmap_buffer = in_create_mmap_buffer;