mirror of https://github.com/thesofproject/sof.git
topology2: src-gain-mixin-playback: Use host-copier
Replace the generic copier with host-copier in the class definition and the instances. Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
This commit is contained in:
parent
be825a8581
commit
f942a0338a
|
@ -80,7 +80,10 @@ Object.Pipeline {
|
|||
{
|
||||
index 1
|
||||
|
||||
Object.Widget.copier.1.stream_name "Gain Playback 0"
|
||||
Object.Widget.host-copier.1 {
|
||||
stream_name "Gain Playback 0"
|
||||
pcm_id 0
|
||||
}
|
||||
Object.Widget.gain.1{
|
||||
Object.Control.mixer.1 {
|
||||
name 'Src Playback Volume'
|
||||
|
@ -183,4 +186,8 @@ Object.Base.route [
|
|||
source "copier.ALH.3.1"
|
||||
sink "copier.host.4.1"
|
||||
}
|
||||
{
|
||||
source 'host-copier.0.playback'
|
||||
sink 'gain.1.1'
|
||||
}
|
||||
]
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
<include/common/input_audio_format.conf>
|
||||
<include/common/output_audio_format.conf>
|
||||
<include/common/audio_format.conf>
|
||||
<include/components/copier.conf>
|
||||
<include/components/host-copier.conf>
|
||||
<include/components/gain.conf>
|
||||
<include/components/mixin.conf>
|
||||
<include/components/src.conf>
|
||||
|
@ -43,9 +43,9 @@ Class.Pipeline."src-gain-mixin-playback" {
|
|||
}
|
||||
|
||||
Object.Widget {
|
||||
copier."1" {
|
||||
copier_type "host"
|
||||
host-copier."1" {
|
||||
type "aif_in"
|
||||
num_output_pins 1
|
||||
|
||||
<include/components/src_passthrough_format.conf>
|
||||
|
||||
|
@ -87,22 +87,16 @@ Class.Pipeline."src-gain-mixin-playback" {
|
|||
}
|
||||
}
|
||||
|
||||
Object.Base {
|
||||
route."1" {
|
||||
source "copier.host.$index.1"
|
||||
sink "src.$index.1"
|
||||
}
|
||||
|
||||
route."2" {
|
||||
Object.Base.route [
|
||||
{
|
||||
source "src.$index.1"
|
||||
sink "gain.$index.1"
|
||||
}
|
||||
|
||||
route."3" {
|
||||
{
|
||||
source "gain.$index.1"
|
||||
sink "mixin.$index.1"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
|
||||
direction "playback"
|
||||
dynamic_pipeline 1
|
||||
|
|
Loading…
Reference in New Issue