topology2: gain-playback: 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 14:03:46 -07:00 committed by Ranjani Sridharan
parent 9e95cd288b
commit 3bee3c25fc
1 changed files with 3 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/gain.conf>
<include/components/pipeline.conf>
@ -44,11 +44,11 @@ Class.Pipeline."gain-playback" {
}
Object.Widget {
copier."1" {
copier_type "host"
host-copier."1" {
type "aif_in"
num_input_audio_formats 3
num_output_audio_formats 3
num_output_pins 1
# 16-bit 48KHz 2ch
Object.Base.audio_format.1 {
out_bit_depth 32
@ -91,13 +91,6 @@ Class.Pipeline."gain-playback" {
}
}
Object.Base {
route."1" {
source "copier.host.$index.1"
sink "gain.$index.1"
}
}
direction "playback"
dynamic_pipeline 1
time_domain "timer"