Expose apm_config

Expose parameters of webrtc::AudioProcessing::Config to
be configured by CRAS.
New parmeters includes configuring pre-amp gain, NS, AGC/AGC2,
which are not in aec3 config.

TEST=apply all config files and test on nocturne

Change-Id: Ib34a01598610f88ebf82e33f9d797c29627531ea
Reviewed-on: https://chromium-review.googlesource.com/1174085
Commit-Ready: Hsinyu Chao <hychao@chromium.org>
Tested-by: Hsinyu Chao <hychao@chromium.org>
Reviewed-by: Cheng-Yi Chiang <cychiang@chromium.org>
2 files changed
tree: 8352f8368019b764d2fcdc99d4dd9aad188eca97
  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


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


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