mirror of https://github.com/thesofproject/sof.git
topology2: set sdw amp feedback pcm channel number
Assume an amplifier will provide 2 channels feedback. Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
This commit is contained in:
parent
f8bdef3baa
commit
46a5d623f6
|
@ -1,4 +1,8 @@
|
|||
|
||||
Define {
|
||||
AMP_FEEDBACK_CH 4
|
||||
}
|
||||
|
||||
Object.Pipeline {
|
||||
passthrough-be.$ALH_2ND_SPK_ID {
|
||||
direction "playback"
|
||||
|
|
|
@ -7,6 +7,7 @@ Define {
|
|||
ALH_2ND_SPK_IN_ID 32
|
||||
SDW_AMP_BE_ID 2
|
||||
SDW_AMP_IN_BE_ID 3
|
||||
AMP_FEEDBACK_CH 2
|
||||
}
|
||||
|
||||
Object.Dai {
|
||||
|
@ -119,6 +120,8 @@ Object.PCM {
|
|||
Object.PCM.pcm_caps."capture" {
|
||||
name "amp feedback"
|
||||
formats 'S16_LE,S32_LE'
|
||||
channels_min $AMP_FEEDBACK_CH
|
||||
channels_max $AMP_FEEDBACK_CH
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue