Commit 388502f
audio: refine multi-slot WOV detector linkage and trigger stability
- Retrieve exact downstream WOV detector via comp_buffer_get_sink_component(sink)
in kpb_copy().
- Broadcast RESUME on wov_arbiter prepare so all detector slots start active.
- Map IPC4 pipeline IDs 101/102/103 to slot IDs 0/1/2 in detect_test.
- Require 30ms sustained frequency match (consec_match_count >= 3) and energy > 500
to filter out ambient room noise transients.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 7d56f4c commit 388502f
3 files changed
Lines changed: 21 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1375 | 1375 | | |
1376 | 1376 | | |
1377 | 1377 | | |
1378 | | - | |
1379 | | - | |
| 1378 | + | |
1380 | 1379 | | |
1381 | 1380 | | |
1382 | 1381 | | |
1383 | 1382 | | |
1384 | 1383 | | |
1385 | | - | |
| 1384 | + | |
1386 | 1385 | | |
1387 | 1386 | | |
1388 | 1387 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
214 | 214 | | |
215 | 215 | | |
216 | 216 | | |
| 217 | + | |
| 218 | + | |
217 | 219 | | |
218 | 220 | | |
219 | 221 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
69 | | - | |
| 69 | + | |
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
73 | | - | |
| 73 | + | |
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
| |||
102 | 102 | | |
103 | 103 | | |
104 | 104 | | |
| 105 | + | |
105 | 106 | | |
106 | 107 | | |
107 | 108 | | |
| |||
371 | 372 | | |
372 | 373 | | |
373 | 374 | | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
| 378 | + | |
| 379 | + | |
| 380 | + | |
374 | 381 | | |
375 | | - | |
376 | | - | |
| 382 | + | |
| 383 | + | |
377 | 384 | | |
378 | 385 | | |
379 | 386 | | |
380 | | - | |
| 387 | + | |
381 | 388 | | |
382 | 389 | | |
383 | 390 | | |
| |||
873 | 880 | | |
874 | 881 | | |
875 | 882 | | |
876 | | - | |
| 883 | + | |
877 | 884 | | |
878 | 885 | | |
879 | 886 | | |
| |||
1003 | 1010 | | |
1004 | 1011 | | |
1005 | 1012 | | |
1006 | | - | |
| 1013 | + | |
| 1014 | + | |
1007 | 1015 | | |
1008 | | - | |
| 1016 | + | |
1009 | 1017 | | |
1010 | | - | |
| 1018 | + | |
1011 | 1019 | | |
1012 | 1020 | | |
1013 | 1021 | | |
| |||
0 commit comments