mirror of https://github.com/thesofproject/sof.git
Use passed in number of channels for pipeline
Pipelines should not expose more channels than what they are configured to support. Signed-off-by: Curtis Malainey <cujomalainey@google.com>
This commit is contained in:
parent
54d191e82b
commit
9050d82a7d
|
@ -93,5 +93,5 @@ indir(`define', concat(`PIPELINE_PCM_', PIPELINE_ID), Passthrough Playback PCM_I
|
||||||
# PCM Configuration
|
# PCM Configuration
|
||||||
|
|
||||||
#
|
#
|
||||||
PCM_CAPABILITIES(Passthrough Playback PCM_ID, `S32_LE,S24_LE,S16_LE', 48000, 48000, 2, 8, 2, 16, 192, 16384, 65536, 65536)
|
PCM_CAPABILITIES(Passthrough Playback PCM_ID, `S32_LE,S24_LE,S16_LE', 48000, 48000, 2, PIPELINE_CHANNELS, 2, 16, 192, 16384, 65536, 65536)
|
||||||
|
|
||||||
|
|
|
@ -97,5 +97,5 @@ indir(`define', concat(`PIPELINE_PCM_', PIPELINE_ID), Passthrough Playback PCM_I
|
||||||
# PCM Configuration
|
# PCM Configuration
|
||||||
|
|
||||||
#
|
#
|
||||||
PCM_CAPABILITIES(Passthrough Playback PCM_ID, `S32_LE,S24_LE,S16_LE', 48000, 48000, 2, 8, 2, 16, 192, 16384, 65536, 65536)
|
PCM_CAPABILITIES(Passthrough Playback PCM_ID, `S32_LE,S24_LE,S16_LE', 48000, 48000, 2, PIPELINE_CHANNELS, 2, 16, 192, 16384, 65536, 65536)
|
||||||
|
|
||||||
|
|
|
@ -121,5 +121,5 @@ indir(`define', concat(`PIPELINE_PCM_', PIPELINE_ID), Passthrough Playback PCM_I
|
||||||
# PCM Configuration
|
# PCM Configuration
|
||||||
|
|
||||||
#
|
#
|
||||||
PCM_CAPABILITIES(Passthrough Playback PCM_ID, `S32_LE,S24_LE,S16_LE', 48000, 48000, 2, 8, 2, 16, 192, 16384, 65536, 65536)
|
PCM_CAPABILITIES(Passthrough Playback PCM_ID, `S32_LE,S24_LE,S16_LE', 48000, 48000, 2, PIPELINE_CHANNELS, 2, 16, 192, 16384, 65536, 65536)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue