webrtc_apm: Apply gain_controller2_adaptive_digital_mode

GainController2.adaptive_digital_mode was missing when converting
settings from caller. Add it now.

BUG=b:117162017
TEST=Manual test on nocturne

Change-Id: I46cbf19802ddaee6539a25e04d40df49ea65e86b
Reviewed-on: https://chromium-review.googlesource.com/1267579
Commit-Ready: ChromeOS CL Exonerator Bot <chromiumos-cl-exonerator@appspot.gserviceaccount.com>
Tested-by: Hsinyu Chao <hychao@chromium.org>
Reviewed-by: Hsinyu Chao <hychao@chromium.org>
(cherry picked from commit d7c685baa3e7da360935e028f44135356978899f)
Reviewed-on: https://chromium-review.googlesource.com/c/1275248
Commit-Queue: Hsinyu Chao <hychao@chromium.org>
1 file changed
tree: afb39fd50b38851f09260f4e982382cdc8c94790
  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