Skip to content

Commit 0239e2e

Browse files
committed
topology2: fix includes for dmic-wov-feature and sof-hda-generic
- dmic-wov-feature: include dai-kpb-be.conf, host-gateway-capture.conf, wov-detect.conf, and wov.conf required for legacy single-detector WoV - sof-hda-generic: conditionally include mfcc.conf only when INCLUDE_WOV is 'multi' to avoid duplicate class definition conflicts when dmic1-mfcc already includes it.
1 parent 93a7b2d commit 0239e2e

2 files changed

Lines changed: 9 additions & 1 deletion

File tree

‎tools/topology/topology2/dmic-wov-feature.conf‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@
1616
<input_pin_binding.conf>
1717
<output_pin_binding.conf>
1818
<dmic-default.conf>
19+
<dai-kpb-be.conf>
20+
<host-gateway-capture.conf>
21+
<wov-detect.conf>
22+
<wov.conf>
1923
<dmic.conf>
2024
<pdm_config.conf>
2125
<hw_config_simple.conf>

‎tools/topology/topology2/sof-hda-generic.conf‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@
5454
<kpb.conf>
5555
<wov.conf>
5656
<wov-arbiter.conf>
57-
<mfcc.conf>
5857
<mww.conf>
5958
<ecns.conf>
6059
<bytes.conf>
@@ -90,6 +89,11 @@ IncludeByKey.HDA_CONFIG {
9089
"passthrough" "cavs-passthrough-hda.conf"
9190
}
9291

92+
# dmic1-mfcc.conf includes the mfcc class itself, a second include breaks it
93+
IncludeByKey.INCLUDE_WOV {
94+
"multi" "include/components/mfcc.conf"
95+
}
96+
9397
# include DMIC config if needed.
9498
IncludeByKey.NUM_DMICS {
9599
"[1-4]" "platform/intel/dmic-generic.conf"

0 commit comments

Comments
 (0)