commit | aa5a43fce875576ef184b9b6456bf214194fba3b | [log] [tgz] |
---|---|---|
author | Per Åhgren <peah@chromium.org> | Tue Mar 30 06:29:43 2021 |
committer | Commit Bot <commit-bot@chromium.org> | Mon May 10 02:51:55 2021 |
tree | 780acc9803fb0b81758d3e4da90eff2deb7b0d10 | |
parent | e2b05126bcc9b79d5ccd897bfae3b240dfb2bccd [diff] |
Uprev of APM and changes to allow running the AGC and NS effects This CL uprevs the CrAS APM to match that of WebRTC commit e37fa1970292641149e56a332be2bf9faea0b23a The main motivation behind the uprev is to include -The ability to emulate an analog mic gain, which is a prerequisite for activating APM in CrAS on all Chrome OS devices. -The ability to reduce the complexity of APM when the client is muted. Apart from the uprev, the CL also -adds some missing APM parameter settings and sorts the settings to match that of the APM config struct. -changes the default parameter values of the fixed_capture_delay_samples AEC parameter and the noise suppression level to match what should be used i CrAS. -adds functionality allowing the AEC, NS and AGC effects to be forced to be on, disregarding any settings already present in the .ini config files. -adds functionality that activates the analog AGC emulation code in APM when the AGC is activated. BUG=b:177830918 TEST=Manually tested in calls on a Buddy and an Atlas device. Change-Id: Ib1b333536efab700fe23216fe61f6cba86750b7b Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/webrtc-apm/+/2792582 Reviewed-by: Hsinyu Chao <hychao@chromium.org> Reviewed-by: Per Åhgren <peah@chromium.org> Tested-by: Per Åhgren <peah@chromium.org> Auto-Submit: Per Åhgren <peah@chromium.org> Commit-Queue: Hsinyu Chao <hychao@chromium.org>
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.
To update this package to latest upstream WebRC:
./script/sync-apm.sh path/to/webrtc-checkout/src .
emerge webrtc-apm
to see if anything breaks.