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:
parent
2a548b1f96
commit
2b5a66a2b7
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||||
#
|
#
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue