[getUserMedia] Merge googAutoGainControl and googAutoGainControl2.
Internally, the Audio Processing Module (APM) needs to treat both Auto Gain Control (AGC) settings as they were one since the implementation does allow to configure different types of AGCs, but rather a single "best possible" AGC. For this reason, this CL merges the two constraints to generate a single AGC setting. The behavior might break applications only when these two conditions are meat: a) both constraints are provided as required, and b) they contradict each other. A followup CL will take care of entirely removing the internal property "goog_experimental_auto_gain_control" when APM does not rely on it any longer. Bug: 924485 Change-Id: I280dff85870e0ce8cf557265f22ec98b6cf0acfa Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2041758Reviewed-by:Guido Urdaneta <guidou@chromium.org> Commit-Queue: Armando Miraglia <armax@chromium.org> Cr-Commit-Position: refs/heads/master@{#739398}
Showing
This diff is collapsed.
Please register or sign in to comment