commit | 951dbf9ba85f9e830d608f20f330a91a7b37458c | [log] [tgz] |
---|---|---|
author | Linux Build Service Account <lnxbuild@localhost> | Thu Nov 29 01:30:51 2018 -0800 |
committer | Gerrit - the friendly Code Review server <code-review@localhost> | Thu Nov 29 01:30:50 2018 -0800 |
tree | 1a143f3c8b18f14f3681e8b0cdf17d29ef953e32 | |
parent | f48490ce8ede6234f0becd699e53f024e82531d9 [diff] | |
parent | 7c30c61364528537de49b560da8b0932f126cb59 [diff] |
Merge "hal: Fix incorrect channel setting for Mmap record path"
diff --git a/hal/audio_hw.c b/hal/audio_hw.c index 251222c..cabe733 100644 --- a/hal/audio_hw.c +++ b/hal/audio_hw.c
@@ -7279,6 +7279,7 @@ 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;