mirror of
https://github.com/mollyim/webrtc.git
synced 2025-05-15 14:50:39 +01:00
![]() This CL adds a flag to optionally disable the digital gain control in ExperimentalAgc. With the flag, Experimental Agc (henceforth AGC1) only controls the adaptive analog gain. This flag can be combined to that which activates AGC2. That way, one can enable the hybrid AGC configuration AGC1 analog only + AGC2 fixed+adaptive digital. Previously, there was a flag "use_agc2_digital_adaptive" in AgcManagerDirect. Our ambition was that to activate the hybrid mode described above with this flag. The behavior of the flag was not implemented. To activate the hybrid mode after this CL, set ExperimentalAgc::digital_adaptive_disabled=true and AudioProcessing::Config::GainController2::enabled=true. We also add flags for these settings in audioproc_f. Then the required settings are currently audioproc_f --agc2 1 --agc 1 --experimental_agc 1 \ --experimental_agc_disable_digital_adaptive 1 \ -i [INPUT] Bug: webrtc:7494 Change-Id: Iea798dc3899cec83d30ba71caba787262fcaef41 Reviewed-on: https://webrtc-review.googlesource.com/89740 Commit-Queue: Alex Loiko <aleloi@webrtc.org> Reviewed-by: Alessio Bazzica <alessiob@webrtc.org> Cr-Commit-Position: refs/heads/master@{#24249} |
||
---|---|---|
.. | ||
legacy | ||
agc.cc | ||
agc.h | ||
agc_manager_direct.cc | ||
agc_manager_direct.h | ||
agc_manager_direct_unittest.cc | ||
BUILD.gn | ||
gain_map_internal.h | ||
loudness_histogram.cc | ||
loudness_histogram.h | ||
loudness_histogram_unittest.cc | ||
mock_agc.h | ||
utility.cc | ||
utility.h |