webrtc/modules/audio_processing/agc
Alex Loiko 9489c3a2ea Optionally disable digital gain control in ExperimentalAgc.
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}
2018-08-09 13:37:30 +00:00
..
legacy Delete root header file typedef.h. 2018-07-25 14:59:26 +00:00
agc.cc Remove dependencies on modules:module_api from AudioProcessing. 2018-04-12 22:05:27 +00:00
agc.h Delete root header file typedef.h. 2018-07-25 14:59:26 +00:00
agc_manager_direct.cc Optionally disable digital gain control in ExperimentalAgc. 2018-08-09 13:37:30 +00:00
agc_manager_direct.h Optionally disable digital gain control in ExperimentalAgc. 2018-08-09 13:37:30 +00:00
agc_manager_direct_unittest.cc Optionally disable digital gain control in ExperimentalAgc. 2018-08-09 13:37:30 +00:00
BUILD.gn Optionally disable digital gain control in ExperimentalAgc. 2018-08-09 13:37:30 +00:00
gain_map_internal.h Reformat the WebRTC code base 2018-06-19 14:00:39 +00:00
loudness_histogram.cc Remove dependencies on modules:module_api from AudioProcessing. 2018-04-12 22:05:27 +00:00
loudness_histogram.h Delete root header file typedef.h. 2018-07-25 14:59:26 +00:00
loudness_histogram_unittest.cc Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
mock_agc.h Optionally disable digital gain control in ExperimentalAgc. 2018-08-09 13:37:30 +00:00
utility.cc Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
utility.h Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00