The AGC2 is enabled by flipping AudioProcessing::Config::GainController2::enabled. The flag enables both AdaptiveAgc and FixedGainController. Before this CL, there was no way(*) to only enable the FixedGainController. After this CL, it's also possible to flip the setting |AudioProcessing::Config::GainController2::adaptive_digital_mode|. The default is |true|, which is the previous behavior. * Except for instantiating and setting it up outside of the APM like it's done in the AudioMixer. Bug: webrtc:7494 Change-Id: I506e93b6687221ac467f083fa8db3d45c98c1b83 Reviewed-on: https://webrtc-review.googlesource.com/95426 Commit-Queue: Alex Loiko <aleloi@webrtc.org> Reviewed-by: Per Åhgren <peah@webrtc.org> Cr-Commit-Position: refs/heads/master@{#24432} |
||
|---|---|---|
| .. | ||
| aec_dump.cc | ||
| aec_dump.h | ||
| audio_frame_view.h | ||
| audio_generator_factory.cc | ||
| audio_generator_factory.h | ||
| audio_generator.h | ||
| audio_processing_statistics.cc | ||
| audio_processing_statistics.h | ||
| audio_processing.cc | ||
| audio_processing.h | ||
| config.cc | ||
| config.h | ||
| gain_control.h | ||
| mock_audio_processing.h | ||