Skip to content

Commit 752aae6

Browse files
committed
Tools: Testbench: Add Google RTC with mockup to testbench
This patch allows to load and run it in testbench. Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
1 parent b06b356 commit 752aae6

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

src/arch/host/configs/library_defconfig

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ CONFIG_COMP_CROSSOVER=y
33
CONFIG_COMP_DCBLOCK=y
44
CONFIG_COMP_DRC=y
55
CONFIG_COMP_FIR=y
6+
CONFIG_COMP_GOOGLE_RTC_AUDIO_PROCESSING=y
67
CONFIG_COMP_IIR=y
78
CONFIG_COMP_MFCC=y
89
CONFIG_COMP_MODULE_ADAPTER=y
@@ -16,6 +17,7 @@ CONFIG_COMP_VOLUME=y
1617
CONFIG_COMP_VOLUME_LINEAR_RAMP=y
1718
CONFIG_COMP_VOLUME_WINDOWS_FADE=y
1819
CONFIG_DEBUG_MEMORY_USAGE_SCAN=n
20+
CONFIG_GOOGLE_RTC_AUDIO_PROCESSING_MOCK=y
1921
CONFIG_IPC_MAJOR_3=y
2022
CONFIG_LIBRARY=y
2123
CONFIG_LIBRARY_STATIC=y

src/audio/google/CMakeLists.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
# SPDX-License-Identifier: BSD-3-Clause
22

3-
4-
if(NOT CONFIG_LIBRARY)
3+
if((NOT CONFIG_LIBRARY) OR CONFIG_LIBRARY_STATIC)
54
if(CONFIG_COMP_GOOGLE_HOTWORD_DETECT)
65
add_local_sources(sof
76
google_hotword_detect.c

tools/testbench/common_test.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ int tb_setup(struct sof *sof, struct testbench_prm *tp)
5454
sys_comp_module_drc_interface_init();
5555
sys_comp_module_eq_fir_interface_init();
5656
sys_comp_module_eq_iir_interface_init();
57+
sys_comp_module_google_rtc_audio_processing_interface_init();
5758
sys_comp_module_multiband_drc_interface_init();
5859
sys_comp_module_mux_interface_init();
5960
sys_comp_module_src_interface_init();

0 commit comments

Comments
 (0)