Sync to webrtc ToT

Update to commit "AEC3: Parametrize the shadow filter output usage".

https://webrtc.googlesource.com/src/+/240215431ee21e85e415484d1d80f437850f2f8e

This update includes all parameters and codes for tuning
APM performance with CRAS.

BUG=chromium:874787
TEST=Apply all config files and test on nocturne
CQ-DEPEND=CL:1196304

Change-Id: Idf6da0c70ac1569d2567c2ab15f436731edb3f35
Reviewed-on: https://chromium-review.googlesource.com/1194561
Commit-Ready: Hsinyu Chao <hychao@chromium.org>
Tested-by: Hsinyu Chao <hychao@chromium.org>
Reviewed-by: Hsinyu Chao <hychao@chromium.org>
676 files changed
tree: 4a2c6dd252c6f9b3f8cf7150d84c0702f64b300f
  1. absl/
  2. api/
  3. audio/
  4. common_audio/
  5. modules/
  6. rtc_base/
  7. script/
  8. system_wrappers/
  9. third_party/
  10. common.mk
  11. common_types.h
  12. libwebrtc_apm.pc.template
  13. Makefile
  14. pc_utils.mk
  15. README.md
  16. typedefs.h
  17. webrtc_apm.cc
  18. webrtc_apm.h
README.md

WebRTC APM

APM is the audio processing module of WebRTC project in charge of effects like echo cancellation, noise suppression, etc. The purpose of this project is to build a standalone library for Chrome OS system side audio processing.

Files content

  • scripts to copy over folders and files from upstream WebRTC project for APM and its dependencies.
  • Copied files from upstream WebRTC project. For example: common_audio, modules, rtc_base and system_wrappers.
  • webrtc_apm.cc/h C wrappers to access APM functions.
  • common-mk based makefiles to build shared library libwebrtc_apm.so

Update

To update this package to latest upstream WebRC:

  • Run ./script/sync-apm.sh path/to/webrtc-checkout/src .
  • emerge webrtc-apm to see if anything breaks.
  • If emerge success, then we're good.
  • Otherwise look into the emerge failure, and then possibly:
    • Update sync-apm.sh to copy more files if upstream directory structure changes.
    • Update makefiles if upstream build files has changed.
    • Update webrtc-apm ebuild file if dependencies changed.
  • Create a new commit