Skip to content

Commit 35b5545

Browse files
committed
topology2: add google-rtc-aec-reference
Top topology can include this conf file to enable google rtc aec Signed-off-by: Rander Wang <[email protected]>
1 parent 7505687 commit 35b5545

1 file changed

Lines changed: 98 additions & 0 deletions

File tree

Lines changed: 98 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,98 @@
1+
Object.Pipeline.google-rtc-aec-capture [
2+
{
3+
index 18
4+
Object.Widget.pipeline.1 {
5+
stream_name "DMIC0 RTC AEC"
6+
}
7+
8+
Object.Widget.google-rtc-aec.1 {
9+
Object.Base.input_pin_binding.1 {
10+
input_pin_binding_name "module-copier.18.1"
11+
}
12+
13+
Object.Base.input_pin_binding.2 {
14+
input_pin_binding_name $GOOGLE_RTC_AEC_REF_SOURCE
15+
}
16+
}
17+
}
18+
]
19+
20+
Object.Pipeline.host-gateway-capture[
21+
{
22+
index 19
23+
24+
Object.Widget.copier.1 {
25+
stream_name "DMIC0 AEC"
26+
}
27+
}
28+
]
29+
30+
Object.Pipeline.gain-capture [
31+
{
32+
index 20
33+
34+
Object.Widget.copier.1 {
35+
stream_name "DMIC0 AN"
36+
}
37+
38+
Object.Widget.gain.1 {
39+
Object.Control.mixer.1 {
40+
name 'AN Volume'
41+
}
42+
}
43+
}
44+
]
45+
46+
Object.PCM.pcm [
47+
{
48+
name "DMIC0 RTC AEC"
49+
id 27
50+
direction "capture"
51+
Object.Base.fe_dai.1 {
52+
name "DMIC0 RTC AEC"
53+
}
54+
55+
Object.PCM.pcm_caps.1 {
56+
name "DMIC0 AEC"
57+
# only 32-bit capture supported now
58+
formats 'S32_LE'
59+
channels_min $NUM_DMICS
60+
channels_max $NUM_DMICS
61+
}
62+
}
63+
{
64+
name "DMIC0 RTC AEC NS"
65+
id 28
66+
direction "capture"
67+
Object.Base.fe_dai.1 {
68+
name "DMIC0 RTC AEC NS"
69+
}
70+
71+
Object.PCM.pcm_caps.1 {
72+
name "DMIC0 AN"
73+
# only 32-bit capture supported now
74+
formats 'S32_LE'
75+
channels_min $NUM_DMICS
76+
channels_max $NUM_DMICS
77+
}
78+
}
79+
]
80+
81+
Object.Base.route [
82+
{
83+
source $DMIC0_DAI_PIPELINE_SRC
84+
sink module-copier.18.1
85+
}
86+
{
87+
source $GOOGLE_RTC_AEC_REF_SOURCE
88+
sink "google-rtc-aec.18.1"
89+
}
90+
{
91+
source "module-copier.18.2"
92+
sink "copier.host.19.1"
93+
}
94+
{
95+
source "module-copier.18.2"
96+
sink "gain.20.1"
97+
}
98+
]

0 commit comments

Comments
 (0)