Clone this repo:
  1. 865a176 [webrtc-apm] webrtc_apm.h/.cc header and format fixed by Alessio Bazzica · 4 weeks ago factory-14778.B factory-firmware-ti50-guc-14778.B main release-R103-14816.B stabilize-14771.B stabilize-14790.B stabilize-14803.B stabilize-14839.B
  2. e039b6c COIL: Migrate master to HEAD by Jon Murphy · 6 weeks ago
  3. 9218a1d Correction of AEC activation in the CRAS APM code by Per Åhgren · 9 weeks ago release-R102-14695.B stabilize-14633.B stabilize-14682.B stabilize-voshyr-14637.B
  4. f0a3f5b webrtc_apm: use c++17 by hscham · 3 months ago factory-guybrush-14600.B stabilize-14588.14.B stabilize-14589.B stabilize-14616.B
  5. 8136191 Uprev of the CRAS APM code by Per Åhgren · 3 months ago stabilize-14532.B stabilize-14536.B

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