mirror of
https://github.com/linux-msm/audioreach-topology.git
synced 2026-06-03 22:57:52 -07:00
audioreach: lemans-evk: Enable stereo capture on MultiMedia2 frontend
The 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. Signed-off-by: Mohammad Rafi Shaik <mohammad.rafi.shaik@oss.qualcomm.com>
This commit is contained in:
+1
-1
@@ -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
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user