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 Sep 27, 2023
1 parent b06b356 commit 752aae6
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 @@ -16,6 +17,7 @@ CONFIG_COMP_VOLUME=y
CONFIG_COMP_VOLUME_LINEAR_RAMP=y
CONFIG_COMP_VOLUME_WINDOWS_FADE=y
CONFIG_DEBUG_MEMORY_USAGE_SCAN=n
CONFIG_GOOGLE_RTC_AUDIO_PROCESSING_MOCK=y
CONFIG_IPC_MAJOR_3=y
CONFIG_LIBRARY=y
CONFIG_LIBRARY_STATIC=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 752aae6

Please sign in to comment.