Skip to content

Commit 43bc954

Browse files
committed
topology2: set pipeline priority for google aec stream
Set priority for aec stream so that driver can trigger pipeline based on pipeline priority. Signed-off-by: Rander Wang <rander.wang@intel.com>
1 parent f114ace commit 43bc954

File tree

5 files changed

+10
-1
lines changed

5 files changed

+10
-1
lines changed

tools/topology/topology2/cavs-rt5682.conf

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,10 @@ Define {
103103
SPEAKER_PCM_NAME "Speakers"
104104
SPEAKER_PCM_ID 1
105105
INCLUDE_BT_OFFLOAD true
106+
GOOGLE_AEC_HOST_PIPELINE_PRIORITY 3
107+
GOOGLE_AEC_PIPELINE_PRIORITY 2
108+
DMIC_PIPELINE_PRIORITY 1
109+
ECHO_REF_PIPELINE_PRIORITY 0
106110
}
107111

108112
# override defaults with platform-specific config

tools/topology/topology2/platform/intel/dmic-default.conf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,5 @@ Define {
3535
DMIC1_PCM_CAPS 'Passthrough Capture 18'
3636
DMIC_CORE_ID 0
3737
PASSTHROUGH "false"
38+
DMIC_PIPELINE_PRIORITY 0
3839
}

tools/topology/topology2/platform/intel/dmic-generic.conf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,7 @@ IncludeByKey.PASSTHROUGH {
180180
}
181181
Object.Widget.pipeline."1" {
182182
core $DMIC_CORE_ID
183+
priority $DMIC_PIPELINE_PRIORITY
183184
}
184185
}
185186
]

tools/topology/topology2/platform/intel/google-rtc-aec-reference.conf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ Object.Pipeline.google-rtc-aec-capture [
66
Object.Widget.pipeline.1 {
77
stream_name "DMIC0 RTC AEC"
88
core $GOOGLE_AEC_CORE_ID
9+
priority $GOOGLE_AEC_PIPELINE_PRIORITY
910
}
1011

1112
Object.Widget.google-rtc-aec.1 {
@@ -31,6 +32,7 @@ Object.Pipeline.host-gateway-capture[
3132
}
3233
Object.Widget.pipeline."1" {
3334
core $GOOGLE_AEC_CORE_ID
35+
priority $GOOGLE_AEC_HOST_PIPELINE_PRIORITY
3436
}
3537
}
3638
]

tools/topology/topology2/platform/intel/speaker-echo-ref.conf

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,8 @@ Object.Pipeline {
4141
}
4242
}
4343
Object.Widget.pipeline."1" {
44-
core $ECHO_REF_CORE_ID
44+
core $ECHO_REF_CORE_ID
45+
priority $ECHO_REF_PIPELINE_PRIORITY
4546
}
4647
}
4748
]

0 commit comments

Comments
 (0)