audioreach: monaco-evk: Enable stereo capture on MultiMedia2 frontend

The MONACO-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.

Signed-off-by: Mohammad Rafi Shaik <mohammad.rafi.shaik@oss.qualcomm.com>
This commit is contained in:
Mohammad Rafi Shaik 2026-01-19 22:37:16 +05:30
commit 2b5a66a2b7

View file

@ -21,7 +21,7 @@ STREAM_SG_PCM_ADD(audioreach/subgraph-stream-vol-playback.m4, FRONTEND_DAI_MULTI
dnl dnl
dnl Capture MultiMedia2 dnl Capture MultiMedia2
STREAM_SG_PCM_ADD(audioreach/subgraph-stream-capture.m4, FRONTEND_DAI_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') 0x00004003, 0x00004003, 0x00006020, `110000')
dnl dnl
# #