Skip to content

Commit 99b1de1

Browse files
singalsulgirdwood
authored andcommitted
Tools: Test: Audio: setup kcontrols in tdfb_test.m
This change adds to sof-testbench4 command line option "-s tdfb_enable.sh" that sets beamformer control to suitable state for test run. The source tracking feature is switched off, then beam angle is set +/- 90 degrees, and processing is switched on. Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
1 parent fdd50f6 commit 99b1de1

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

tools/test/audio/tdfb_enable.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#!/bin/bash
2+
3+
amixer -c0 cset name='Analog Playback TDFB track' off
4+
amixer -c0 cset name='Analog Playback TDFB angle set' 90
5+
amixer -c0 cset name='Analog Playback TDFB beam' on

tools/test/audio/tdfb_test.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ function tdfb_test()
7272
test.nch_out = bf.num_output_channels;
7373
test.ch_in = 1:test.nch_in;
7474
test.ch_out = 1:test.nch_out;
75-
test.extra_opts='';
75+
test.extra_opts='-s tdfb_enable.sh';
7676
if length(arrayid)
7777
test.comp = sprintf('tdfb_%s', arrayid);
7878
end

0 commit comments

Comments
 (0)