audioreach: pcm: add support for multiple formats in pcm macro

Currently pcm can only handle one format, this change adds support to
allow passing multiple formats from the macro which are comma seperated.

Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@oss.qualcomm.com>
This commit is contained in:
Srinivas Kandagatla 2026-04-29 12:43:05 +00:00
commit 38d5db7688
2 changed files with 2 additions and 2 deletions

View file

@ -61,7 +61,7 @@ define(`STREAM_PLAYBACK_ROUTE',
`}')
dnl
AR_PCM_PLAYBACK(PCM_DAI_ID, PCM_FORMAT, PCM_MIN_RATE, PCM_MAX_RATE, PCM_MIN_CHANNELS, PCM_MAX_CHANNELS)
AR_PCM_PLAYBACK(PCM_DAI_ID, `PCM_FORMAT', PCM_MIN_RATE, PCM_MAX_RATE, PCM_MIN_CHANNELS, PCM_MAX_CHANNELS)
AR_SUBGRAPH(SG_INDEX, PCM_DAI_ID, SG_IID_START, PCM_PERF_MODE, PCM_DIRECTION, CONT_SENARIO_ID)

View file

@ -5,7 +5,7 @@ dnl AR_PCM_PLAYBACK(index, formats, rate_min, rate_max, ch_min, ch_max)
define(`AR_PCM_PLAYBACK',
`'
`SectionPCMCapabilities."`MultiMedia'eval($1 +1 )` Playback'" {'
` formats STR($2)'
` formats STR(`$2')'
` rate_min STR($3)'
` rate_max STR($4)'
` channels_min STR($5)'