Repository navigation
audio: webrtc_aec: add stereo/MIMO AEC, 32 kHz resampling, and SSP loopback tests #11545
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
991f7b9
b614b08
008c009
e798969
f6c958d
f1130fd
5298da8
d37f848
ea772c7
3bc4d90
dc5dd37
aaa4b07
df5cfe3
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -40,13 +40,30 @@ else() | |
| else() | ||
| set(_xtensa_target "intel_ace30_ptl") | ||
| endif() | ||
| set(_sdk_cxx_dir "/home/lrg/zephyr-sdk-1.0.1/gnu/xtensa-${_xtensa_target}_zephyr-elf/xtensa-${_xtensa_target}_zephyr-elf") | ||
|
|
||
| target_include_directories(zephyr_interface SYSTEM BEFORE INTERFACE | ||
| $<$<COMPILE_LANGUAGE:CXX>:${_sdk_cxx_dir}/include/c++/14.3.0> | ||
| $<$<COMPILE_LANGUAGE:CXX>:${_sdk_cxx_dir}/include/c++/14.3.0/xtensa-${_xtensa_target}_zephyr-elf> | ||
| $<$<COMPILE_LANGUAGE:CXX>:${_sdk_cxx_dir}/include> | ||
| ) | ||
| set(_sdk_cxx_dir "") | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is doing all sorts of things in a single commit, please split into multiple commits with "one commit per logical change" approach.
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Split into 13 small single-concern commits ( |
||
| if(CMAKE_CXX_COMPILER) | ||
| get_filename_component(_cxx_bin_dir "${CMAKE_CXX_COMPILER}" DIRECTORY) | ||
| get_filename_component(_cxx_tc_dir "${_cxx_bin_dir}" DIRECTORY) | ||
| if(EXISTS "${_cxx_tc_dir}/xtensa-${_xtensa_target}_zephyr-elf/include/c++") | ||
| set(_sdk_cxx_dir "${_cxx_tc_dir}/xtensa-${_xtensa_target}_zephyr-elf") | ||
| endif() | ||
| endif() | ||
| if(NOT _sdk_cxx_dir AND DEFINED ENV{ZEPHYR_SDK_INSTALL_DIR}) | ||
| set(_sdk_cxx_dir "$ENV{ZEPHYR_SDK_INSTALL_DIR}/gnu/xtensa-${_xtensa_target}_zephyr-elf/xtensa-${_xtensa_target}_zephyr-elf") | ||
| endif() | ||
|
|
||
| if(_sdk_cxx_dir) | ||
| file(GLOB _sdk_cxx_ver_dirs LIST_DIRECTORIES true "${_sdk_cxx_dir}/include/c++/*") | ||
| if(_sdk_cxx_ver_dirs) | ||
| list(GET _sdk_cxx_ver_dirs 0 _sdk_cxx_ver_dir) | ||
| target_include_directories(zephyr_interface SYSTEM BEFORE INTERFACE | ||
| $<$<COMPILE_LANGUAGE:CXX>:${_sdk_cxx_ver_dir}> | ||
| $<$<COMPILE_LANGUAGE:CXX>:${_sdk_cxx_ver_dir}/xtensa-${_xtensa_target}_zephyr-elf> | ||
| $<$<COMPILE_LANGUAGE:CXX>:${_sdk_cxx_dir}/include> | ||
| ) | ||
| endif() | ||
| endif() | ||
|
|
||
| # Do not link heavy libstdc++.a to prevent out-of-range relocations and unwinder bloat. | ||
| # Minimal C++ runtime, new/delete, and exception stubs are provided in webrtc_aec3_shims.cpp. | ||
|
|
@@ -124,6 +141,7 @@ else() | |
|
|
||
| add_local_sources(sof | ||
| "${SOF_WEBRTC_APM_SRC_DIR}/webrtc/common_audio/signal_processing/division_operations.c" | ||
| "${SOF_WEBRTC_APM_SRC_DIR}/webrtc/common_audio/signal_processing/resample_by_2.c" | ||
| "${SOF_WEBRTC_APM_SRC_DIR}/webrtc/common_audio/signal_processing/resample_by_2_internal.c" | ||
| "${SOF_WEBRTC_APM_SRC_DIR}/webrtc/common_audio/signal_processing/resample_fractional.c" | ||
| "${SOF_WEBRTC_APM_SRC_DIR}/webrtc/common_audio/signal_processing/resample_48khz.c" | ||
|
|
@@ -146,6 +164,7 @@ else() | |
| "${SOF_WEBRTC_APM_SRC_DIR}/webrtc/common_audio/signal_processing/spl_init.c" | ||
| "${SOF_WEBRTC_APM_SRC_DIR}/webrtc/common_audio/signal_processing/spl_sqrt.c" | ||
| "${SOF_WEBRTC_APM_SRC_DIR}/webrtc/common_audio/signal_processing/resample_48khz.c" | ||
| "${SOF_WEBRTC_APM_SRC_DIR}/webrtc/common_audio/signal_processing/resample_by_2.c" | ||
| "${SOF_WEBRTC_APM_SRC_DIR}/webrtc/common_audio/signal_processing/resample_by_2_internal.c" | ||
| "${SOF_WEBRTC_APM_SRC_DIR}/webrtc/common_audio/signal_processing/resample_fractional.c" | ||
| ) | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Signed-off-by missing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Per
AGENTS.md, AI agents do not addSigned-off-bytags;@lgirdwoodwill apply developer sign-off (git rebase --signoff) prior to merge.