mirror of https://github.com/thesofproject/sof.git
topology2: pipelines: Add the other mixin/mixout pipelines
Add all the missing mixin/mixout pipelines. Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
This commit is contained in:
parent
d69ab6e6f1
commit
c3fdf30364
|
@ -0,0 +1,74 @@
|
|||
#
|
||||
# mixin base BE capture pipeline
|
||||
#
|
||||
# A windows pipeline. All attributes defined herein are namespaced
|
||||
# by alsatplg to "Object.Pipeline.mixin-playback.N.attribute_name"
|
||||
#
|
||||
# Usage: mixin-capture pipeline object can be instantiated as:
|
||||
#
|
||||
# Object.Pipeline.mixin-capture."N" {
|
||||
# format "s16le"
|
||||
# period 1000
|
||||
# time_domain "timer"
|
||||
# channels 2
|
||||
# rate 48000
|
||||
# }
|
||||
#
|
||||
# Where N is the unique pipeline ID within the same alsaconf node.
|
||||
#
|
||||
|
||||
<include/components/copier.conf>
|
||||
<include/components/mixin.conf>
|
||||
<include/components/pipeline.conf>
|
||||
|
||||
Class.Pipeline."mixin-capture" {
|
||||
|
||||
DefineAttribute."index" {}
|
||||
|
||||
<include/pipelines/pipeline-common.conf>
|
||||
|
||||
attributes {
|
||||
!constructor [
|
||||
"index"
|
||||
]
|
||||
|
||||
!mandatory [
|
||||
"format"
|
||||
]
|
||||
|
||||
!immutable [
|
||||
"direction"
|
||||
]
|
||||
|
||||
#
|
||||
# mixin-capture objects instantiated within the same alsaconf node must have
|
||||
# unique pipeline_id attribute
|
||||
#
|
||||
unique "instance"
|
||||
}
|
||||
|
||||
Object.Widget {
|
||||
copier."1" {
|
||||
type dai_out
|
||||
period_sink_count 2
|
||||
period_source_count 0
|
||||
}
|
||||
|
||||
mixin."1" {
|
||||
}
|
||||
|
||||
pipeline."1" {
|
||||
priority 0
|
||||
lp_mode 0
|
||||
}
|
||||
}
|
||||
|
||||
direction "capture"
|
||||
time_domain "timer"
|
||||
channels 2
|
||||
channels_min 2
|
||||
channels_max 2
|
||||
rate 48000
|
||||
rate_min 48000
|
||||
rate_max 48000
|
||||
}
|
|
@ -0,0 +1,79 @@
|
|||
#
|
||||
# mixout based FE capture pipeline
|
||||
#
|
||||
# All attributes defined herein are namespaced
|
||||
# by alsatplg to "Object.Pipeline.mixin-playback.N.attribute_name"
|
||||
#
|
||||
# Usage: mixout-capture pipeline object can be instantiated as:
|
||||
#
|
||||
# Object.Pipeline.mixout-capture."N" {
|
||||
# format "s16le"
|
||||
# period 1000
|
||||
# time_domain "timer"
|
||||
# channels 2
|
||||
# rate 48000
|
||||
# }
|
||||
#
|
||||
# Where N is the unique pipeline ID within the same alsaconf node.
|
||||
#
|
||||
|
||||
<include/components/copier.conf>
|
||||
<include/components/mixout.conf>
|
||||
<include/components/pipeline.conf>
|
||||
|
||||
Class.Pipeline."mixout-capture" {
|
||||
|
||||
DefineAttribute."index" {}
|
||||
|
||||
<include/pipelines/pipeline-common.conf>
|
||||
|
||||
attributes {
|
||||
!constructor [
|
||||
"index"
|
||||
]
|
||||
|
||||
!mandatory [
|
||||
"format"
|
||||
]
|
||||
|
||||
!immutable [
|
||||
"direction"
|
||||
]
|
||||
|
||||
#
|
||||
# mixout-capture objects instantiated within the same alsaconf node must have
|
||||
# unique pipeline_id attribute
|
||||
#
|
||||
unique "instance"
|
||||
}
|
||||
|
||||
Object.Widget {
|
||||
mixout."1" {}
|
||||
|
||||
copier."1" {
|
||||
copier_type "host"
|
||||
type "aif_out"
|
||||
}
|
||||
|
||||
pipeline."1" {
|
||||
priority 0
|
||||
lp_mode 0
|
||||
}
|
||||
}
|
||||
|
||||
Object.Base {
|
||||
route.0 {
|
||||
source mixout..1
|
||||
sink copier.host..1
|
||||
}
|
||||
}
|
||||
|
||||
direction "capture"
|
||||
time_domain "timer"
|
||||
channels 2
|
||||
channels_min 2
|
||||
channels_max 2
|
||||
rate 48000
|
||||
rate_min 48000
|
||||
rate_max 48000
|
||||
}
|
|
@ -0,0 +1,72 @@
|
|||
#
|
||||
# windows normal playback pipeline
|
||||
#
|
||||
# A windows pipeline. All attributes defined herein are namespaced
|
||||
# by alsatplg to "Object.Pipeline.mixin-playback.N.attribute_name"
|
||||
#
|
||||
# Usage: mixin-playback pipeline object can be instantiated as:
|
||||
#
|
||||
# Object.Pipeline.mixout-playback."N" {
|
||||
# format "s16le"
|
||||
# period 1000
|
||||
# time_domain "timer"
|
||||
# channels 2
|
||||
# rate 48000
|
||||
# }
|
||||
#
|
||||
# Where N is the unique pipeline ID within the same alsaconf node.
|
||||
#
|
||||
|
||||
<include/components/copier.conf>
|
||||
<include/components/mixout.conf>
|
||||
<include/components/pipeline.conf>
|
||||
|
||||
Class.Pipeline."mixout-playback" {
|
||||
|
||||
DefineAttribute."index" {}
|
||||
|
||||
<include/pipelines/pipeline-common.conf>
|
||||
|
||||
attributes {
|
||||
!constructor [
|
||||
"index"
|
||||
]
|
||||
|
||||
!mandatory [
|
||||
"format"
|
||||
]
|
||||
|
||||
!immutable [
|
||||
"direction"
|
||||
]
|
||||
|
||||
#
|
||||
# mixin-playback objects instantiated within the same alsaconf node must have
|
||||
# unique pipeline_id attribute
|
||||
#
|
||||
unique "instance"
|
||||
}
|
||||
|
||||
Object.Widget {
|
||||
mixout."1" {}
|
||||
copier."1" {
|
||||
type dai_in
|
||||
period_sink_count 0
|
||||
period_source_count 2
|
||||
}
|
||||
|
||||
pipeline."1" {
|
||||
priority 0
|
||||
lp_mode 0
|
||||
}
|
||||
}
|
||||
|
||||
direction "playback"
|
||||
time_domain "timer"
|
||||
channels 2
|
||||
channels_min 2
|
||||
channels_max 2
|
||||
rate 48000
|
||||
rate_min 48000
|
||||
rate_max 48000
|
||||
}
|
Loading…
Reference in New Issue