
This CL corrects the analog AGC code so that the levels are properly aggregated and not only the level of the first channel is chosen. It also adds a kill-switch to allow the aggrated level to be the maximum level rather than the minimum level. Bug: webrtc:10859 Change-Id: Ibf4fecb53cfaf0dc064c334112105bf26401f78d Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/160708 Reviewed-by: Sam Zackrisson <saza@webrtc.org> Commit-Queue: Per Åhgren <peah@webrtc.org> Cr-Commit-Position: refs/heads/master@{#29931}