mirror of https://github.com/thesofproject/sof.git
topology2: sdw-jack-generic: add SDW_JACK_CAPTURE_CH macro
Adding SDW_JACK_CAPTURE_CH macro to specify sdw jack channels. The default value is 2. Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
This commit is contained in:
parent
f6f57fe82b
commit
8ef4d51e68
|
@ -74,6 +74,7 @@ Define {
|
|||
SDW_DMIC 0
|
||||
SDW_JACK true
|
||||
PASSTHROUGH false
|
||||
SDW_JACK_CAPTURE_CH 2
|
||||
}
|
||||
|
||||
# override defaults with platform-specific config
|
||||
|
|
|
@ -314,6 +314,8 @@ Object.PCM.pcm [
|
|||
Object.PCM.pcm_caps.1 {
|
||||
name "Passthrough Capture 0"
|
||||
formats 'S16_LE,S32_LE'
|
||||
channels_min $SDW_JACK_CAPTURE_CH
|
||||
channels_max $SDW_JACK_CAPTURE_CH
|
||||
}
|
||||
}
|
||||
]
|
||||
|
|
Loading…
Reference in New Issue