Skip to content

Commit

Permalink
Tools: Testbench: Add Google RTC with mockup to testbench
Browse files Browse the repository at this point in the history
This patch allows to load and run it in testbench.

Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
  • Loading branch information
singalsu committed Oct 23, 2023
1 parent 22b18be commit 30e323a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions src/arch/host/configs/library_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ CONFIG_COMP_CROSSOVER=y
CONFIG_COMP_DCBLOCK=y
CONFIG_COMP_DRC=y
CONFIG_COMP_FIR=y
CONFIG_COMP_GOOGLE_RTC_AUDIO_PROCESSING=y
CONFIG_COMP_IIR=y
CONFIG_COMP_MFCC=y
CONFIG_COMP_MODULE_ADAPTER=y
Expand All @@ -11,6 +12,7 @@ CONFIG_COMP_MUX=y
CONFIG_COMP_SEL=y
CONFIG_COMP_SRC=y
CONFIG_COMP_SRC_IPC4_FULL_MATRIX=y
CONFIG_COMP_STUBS=y
CONFIG_COMP_TDFB=y
CONFIG_COMP_VOLUME=y
CONFIG_COMP_VOLUME_LINEAR_RAMP=y
Expand Down
3 changes: 1 addition & 2 deletions src/audio/google/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# SPDX-License-Identifier: BSD-3-Clause


if(NOT CONFIG_LIBRARY)
if((NOT CONFIG_LIBRARY) OR CONFIG_LIBRARY_STATIC)
if(CONFIG_COMP_GOOGLE_HOTWORD_DETECT)
add_local_sources(sof
google_hotword_detect.c
Expand Down
1 change: 1 addition & 0 deletions tools/testbench/common_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ int tb_setup(struct sof *sof, struct testbench_prm *tp)
sys_comp_module_drc_interface_init();
sys_comp_module_eq_fir_interface_init();
sys_comp_module_eq_iir_interface_init();
sys_comp_module_google_rtc_audio_processing_interface_init();
sys_comp_module_multiband_drc_interface_init();
sys_comp_module_mux_interface_init();
sys_comp_module_src_interface_init();
Expand Down

0 comments on commit 30e323a

Please sign in to comment.