The test program modules/audio_processing/test/audioproc_float.cc defined the flag 'agc_compression_gain' and had checks if the parameter was valid (audioproc_float). The flag was also copied to webrtc::test::SimulationSettings of audio_processing_simulator.h. The setting was however never applied to APM. This change applies the setting on the GainControl submodule in the same way as the agc_target_level is applied. This is needed for e.g. testing the AGC fixed digital limiter with the same configuration as it is (currently) used with in AudioMixerImpl. Also added new flag '-experimental_agc'. This flag allows disabling the experimental AGC, which is how the AGC is used in AudioMixerImpl. ExperimentalAgc is enabled by default, exactly as it was prior to this change. The change has been tested locally by listening tests and diff comparisons. BUG=None NOTRY=True # win_dbg bot not cooperating Review-Url: https://codereview.webrtc.org/2684983004 Cr-Commit-Position: refs/heads/master@{#16603}
Name: WebRTC URL: http://www.webrtc.org Version: 90 License: BSD License File: LICENSE Description: WebRTC provides real time voice and video processing functionality to enable the implementation of PeerConnection/MediaStream. Third party code used in this project is described in the file LICENSE_THIRD_PARTY.