Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions scripts/host-testbench.sh
Original file line number Diff line number Diff line change
Expand Up @@ -105,12 +105,16 @@ test_component dcblock 32 32 48000 "$FullTest"
test_component drc 32 32 48000 "$FullTest"

# test with multiband-drc
test_component multiband-drc 32 32 48000 "$FullTest"
# TODO: Restore this test when testbench supports multi-part
# binary control IPC.
#test_component multiband-drc 32 32 48000 "$FullTest"

# test with src
test_component src 24 24 48000 "$FullTest"

# test with tdfb
test_component tdfb 32 32 48000 "$FullTest"
# TODO: Restore this test when testbench supports multi-part
# binary control IPC.
#test_component tdfb 32 32 48000 "$FullTest"

echo "All tests are done!"
55 changes: 18 additions & 37 deletions test/cmocka/src/audio/eq_fir/cmocka_fir_coef_2ch.h
Original file line number Diff line number Diff line change
@@ -1,44 +1,25 @@
/* SPDX-License-Identifier: BSD-3-Clause
*
* Copyright(c) 2022 Intel Corporation. All rights reserved.
* Copyright(c) 2024 Intel Corporation. All rights reserved.
*/

uint32_t fir_coef_2ch[146] = {
0x00464f53, 0x00000000, 0x00000228, 0x03016001,
uint32_t fir_coef_2ch[70] = {
0x00464f53, 0x00000000, 0x000000f8, 0x0301a000,
0x00000000, 0x00000000, 0x00000000, 0x00000000,
0x00000228, 0x00010002, 0x00000000, 0x00000000,
0x00000000, 0x00000000, 0x00000000, 0x000000fc,
0x000000f8, 0x00010002, 0x00000000, 0x00000000,
0x00000000, 0x00000000, 0x00000000, 0x00000064,
0x00000000, 0x00000000, 0x00000000, 0x00000000,
0x00010001, 0x00010001, 0x00010001, 0x00010001,
0x00020001, 0x00020002, 0x00020002, 0x00030003,
0x00030003, 0x00040003, 0x00040004, 0x00050005,
0x00060005, 0x00060006, 0x00070007, 0x00080008,
0x00090009, 0x000a000a, 0x000b000b, 0x000c000c,
0x000d000d, 0x000f000e, 0x0010000f, 0x00120011,
0x00130012, 0x00150014, 0x00170016, 0x00190018,
0x001b001a, 0x001e001d, 0x0021001f, 0x00240022,
0x00280026, 0x002b0029, 0x002f002d, 0x00340032,
0x00380036, 0x003d003b, 0x00420040, 0x00480045,
0x004d004b, 0x00540051, 0x005b0057, 0x0062005e,
0x00680065, 0x006f006c, 0x00760072, 0x007d0079,
0x00860081, 0x0092008c, 0x009f0098, 0x00ac00a5,
0x00b800b2, 0x00c600be, 0x00d800ce, 0x00ea00e1,
0x00f500ef, 0x00fc00fc, 0x00ff0118, 0x0170012f,
0x043900c3, 0xe9ae02d3, 0xe9ae6cbf, 0x043902d3,
0x017000c3, 0x00ff012f, 0x00fc0118, 0x00f500fc,
0x00ea00ef, 0x00d800e1, 0x00c600ce, 0x00b800be,
0x00ac00b2, 0x009f00a5, 0x00920098, 0x0086008c,
0x007d0081, 0x00760079, 0x006f0072, 0x0068006c,
0x00620065, 0x005b005e, 0x00540057, 0x004d0051,
0x0048004b, 0x00420045, 0x003d0040, 0x0038003b,
0x00340036, 0x002f0032, 0x002b002d, 0x00280029,
0x00240026, 0x00210022, 0x001e001f, 0x001b001d,
0x0019001a, 0x00170018, 0x00150016, 0x00130014,
0x00120012, 0x00100011, 0x000f000f, 0x000d000e,
0x000c000d, 0x000b000c, 0x000a000b, 0x0009000a,
0x00080009, 0x00070008, 0x00060007, 0x00060006,
0x00050005, 0x00040005, 0x00040004, 0x00030003,
0x00030003, 0x00020003, 0x00020002, 0x00020002,
0x00010001, 0x00010001, 0x00010001, 0x00010001,
0x00000001, 0x00000000
0x0040003d, 0x00450042, 0x004b0048, 0x0051004d,
0x00570054, 0x005e005b, 0x00650062, 0x006c0068,
0x0072006f, 0x00790076, 0x0081007d, 0x008c0086,
0x00980092, 0x00a5009f, 0x00b200ac, 0x00be00b8,
0x00ce00c6, 0x00e100d8, 0x00ef00ea, 0x00fc00f5,
0x011800fc, 0x012f00ff, 0x00c30170, 0x02d30439,
0x6cbfe9ae, 0x02d3e9ae, 0x00c30439, 0x012f0170,
0x011800ff, 0x00fc00fc, 0x00ef00f5, 0x00e100ea,
0x00ce00d8, 0x00be00c6, 0x00b200b8, 0x00a500ac,
0x0098009f, 0x008c0092, 0x00810086, 0x0079007d,
0x00720076, 0x006c006f, 0x00650068, 0x005e0062,
0x0057005b, 0x00510054, 0x004b004d, 0x00450048,
0x00400042, 0x003b003d
};
Loading