tools: testbench: Add DRC component test

Signed-off-by: Pin-chih Lin <johnylin@google.com>
This commit is contained in:
Pin-chih Lin 2020-09-25 19:41:21 +08:00 committed by Liam Girdwood
parent 68553688f7
commit d32ec2caeb
2 changed files with 5 additions and 1 deletions

View File

@ -23,7 +23,7 @@
#define MAX_OUTPUT_FILE_NUM 4
/* number of widgets types supported in testbench */
#define NUM_WIDGETS_SUPPORTED 9
#define NUM_WIDGETS_SUPPORTED 10
struct testbench_prm {
char *tplg_file; /* topology file to use */

View File

@ -30,6 +30,9 @@ DECLARE_SOF_TB_UUID("crossover", crossover_uuid, 0x948c9ad1, 0x806a, 0x4131,
DECLARE_SOF_TB_UUID("tdfb", tdfb_uuid, 0xdd511749, 0xd9fa, 0x455c,
0xb3, 0xa7, 0x13, 0x58, 0x56, 0x93, 0xf1, 0xaf);
DECLARE_SOF_TB_UUID("drc", drc_uuid, 0xb36ee4da, 0x006f, 0x47f9,
0xa0, 0x6d, 0xfe, 0xcb, 0xe2, 0xd8, 0xb6, 0xce);
#define TESTBENCH_NCH 2 /* Stereo */
/* shared library look up table */
@ -43,6 +46,7 @@ struct shared_lib_table lib_table[NUM_WIDGETS_SUPPORTED] = {
{"dcblock", "libsof_dcblock.so", SOF_COMP_DCBLOCK, NULL, 0, NULL},
{"crossover", "libsof_crossover.so", SOF_COMP_NONE, SOF_TB_UUID(crossover_uuid), 0, NULL},
{"tdfb", "libsof_tdfb.so", SOF_COMP_NONE, SOF_TB_UUID(tdfb_uuid), 0, NULL},
{"drc", "libsof_drc.so", SOF_COMP_NONE, SOF_TB_UUID(drc_uuid), 0, NULL},
};
/* main firmware context */