Skip to content

Commit d2ff232

Browse files
committed
topology2: pipelines: cavs: Add a new tone generator pipeline
Add a new hostless tone generator pipeline. The virtual widget of type input at the source is mainly for getting the PCM ioctls to propagate to the BE with DPCM. Signed-off-by: Ranjani Sridharan <[email protected]>
1 parent d45c5b7 commit d2ff232

File tree

1 file changed

+70
-0
lines changed

1 file changed

+70
-0
lines changed
Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
#
2+
# Tone playback pipeline: virtual-siggen-mixin-playback
3+
#
4+
# All attributes defined herein are namespaced
5+
# by alsatplg to "Object.Pipeline.virtual-siggen-mixin-playback.N.attribute_name"
6+
#
7+
# Usage: virtual-siggen-mixin-playback pipeline object can be instantiated as:
8+
#
9+
# Object.Pipeline.virtual-siggen-mixin-playback."N" {
10+
# period 1000
11+
# time_domain "timer"
12+
# }
13+
#
14+
# Where N is the unique pipeline ID within the same alsaconf node.
15+
#
16+
17+
<include/common/input_audio_format.conf>
18+
<include/common/output_audio_format.conf>
19+
<include/components/mixin.conf>
20+
<include/components/siggen.conf>
21+
<include/components/pipeline.conf>
22+
23+
Class.Pipeline."virtual-siggen-mixin-playback" {
24+
25+
<include/pipelines/pipeline-common.conf>
26+
27+
attributes {
28+
!constructor [
29+
"index"
30+
]
31+
32+
!immutable [
33+
"direction"
34+
]
35+
36+
#
37+
# virtual-siggen-mixin-playback objects instantiated within the same alsaconf node must have
38+
# unique pipeline_id attribute
39+
#
40+
unique "instance"
41+
}
42+
43+
Object.Widget {
44+
virtual.1 {
45+
type "input"
46+
}
47+
48+
siggen.1 {}
49+
50+
mixin.1 {}
51+
52+
pipeline.1 {
53+
priority 0
54+
lp_mode 0
55+
}
56+
}
57+
58+
Object.Base {
59+
!route [
60+
{
61+
source siggen.$index.1
62+
sink mixin.$index.1
63+
}
64+
]
65+
}
66+
67+
direction "playback"
68+
dynamic_pipeline 1
69+
time_domain "timer"
70+
}

0 commit comments

Comments
 (0)