Fix channel max for lemans monaco (#47)

The MONACO-EVK and LEMANS-EVK capture frontend for MultiMedia2 currently
constrains
channels to mono (min=1, max=1). This prevents opening the PCM with
2-channel (stereo) configurations and typically leads to:
  arecord: audio open error: Invalid argument

Update the STREAM_SG_PCM_ADD() parameters to allow up to 2 channels
(min=1, max=2) for S16_LE at 48 kHz. This aligns the front-end PCM
capability with common SoC/codec routes that can support stereo capture,
while preserving backward compatibility with mono.
This commit is contained in:
Srinivas Kandagatla 2026-01-21 07:35:53 +00:00 committed by GitHub
commit c93411ad18
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -21,7 +21,7 @@ STREAM_SG_PCM_ADD(audioreach/subgraph-stream-vol-playback.m4, FRONTEND_DAI_MULTI
dnl
dnl Capture MultiMedia2
STREAM_SG_PCM_ADD(audioreach/subgraph-stream-capture.m4, FRONTEND_DAI_MULTIMEDIA2,
`S16_LE', 48000, 48000, 1, 1,
`S16_LE', 48000, 48000, 1, 2,
0x00004003, 0x00004003, 0x00006020, `110000')
dnl
#

View file

@ -21,7 +21,7 @@ STREAM_SG_PCM_ADD(audioreach/subgraph-stream-vol-playback.m4, FRONTEND_DAI_MULTI
dnl
dnl Capture MultiMedia2
STREAM_SG_PCM_ADD(audioreach/subgraph-stream-capture.m4, FRONTEND_DAI_MULTIMEDIA2,
`S16_LE', 48000, 48000, 1, 1,
`S16_LE', 48000, 48000, 1, 2,
0x00004003, 0x00004003, 0x00006020, `110000')
dnl
#