topology2: mixout-gain-host-copier-capture: Use host-copier

Replace the generic copier with host-copier in the class definition.

Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
This commit is contained in:
Ranjani Sridharan 2023-05-16 13:51:47 -07:00 committed by Ranjani Sridharan
parent b86acaa353
commit eb157a5c2f
1 changed files with 6 additions and 10 deletions

View File

@ -17,7 +17,7 @@
#
<include/common/audio_format.conf>
<include/components/copier.conf>
<include/components/host-copier.conf>
<include/components/mixout.conf>
<include/components/pipeline.conf>
<include/components/gain.conf>
@ -47,12 +47,12 @@ Class.Pipeline."mixout-gain-host-copier-capture" {
Object.Widget {
mixout."1" {}
copier."1" {
copier_type "host"
host-copier."1" {
type "aif_out"
node_type $HDA_HOST_INPUT_CLASS
num_input_audio_formats 4
num_output_audio_formats 4
num_input_pins 1
# 16-bit 48KHz 2ch
Object.Base.audio_format.1 {
in_bit_depth 32
@ -108,16 +108,12 @@ Class.Pipeline."mixout-gain-host-copier-capture" {
}
}
Object.Base {
route.1 {
source mixout.$index.1
sink gain.$index.1
}
route.2 {
Object.Base.route [
{
source gain.$index.1
sink copier.host.$index.1
}
}
]
direction "capture"
dynamic_pipeline 1