Commit a926c63
committed
capture-test.py: Add channel map feature
Hardware is awful. Some MTL boards needlessly move their 2-channel
mic inputs around in the 4 channel DMIC space, so doing the test in an
automated way needs to duplicate the idea of a channel map.
Thankfully this is python and not firmware so it's like six lines to
add a --capmap argument. It's a string, so e.g. "--capmap 23" will
select out the 3rd and 4th capture channels as the 2-channel stream to
inspect.
Signed-off-by: Andy Ross <andyross@google.com>1 parent 6933ee2 commit a926c63
1 file changed
+6
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
| 63 | + | |
| 64 | + | |
63 | 65 | | |
64 | 66 | | |
65 | 67 | | |
| |||
71 | 73 | | |
72 | 74 | | |
73 | 75 | | |
| 76 | + | |
74 | 77 | | |
75 | 78 | | |
76 | 79 | | |
| |||
295 | 298 | | |
296 | 299 | | |
297 | 300 | | |
298 | | - | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
299 | 304 | | |
300 | 305 | | |
301 | 306 | | |
| |||
0 commit comments