| Index: webrtc/modules/audio_processing/agc/agc_manager_direct.h
|
| diff --git a/webrtc/modules/audio_processing/agc/agc_manager_direct.h b/webrtc/modules/audio_processing/agc/agc_manager_direct.h
|
| index 6b16e8b776dc8236635949da66c9ee93d91f55e8..578a0f38f70855a9577505c22980af16244fc464 100644
|
| --- a/webrtc/modules/audio_processing/agc/agc_manager_direct.h
|
| +++ b/webrtc/modules/audio_processing/agc/agc_manager_direct.h
|
| @@ -46,13 +46,15 @@ class AgcManagerDirect final {
|
| // outside that range will be clamped.
|
| AgcManagerDirect(GainControl* gctrl,
|
| VolumeCallbacks* volume_callbacks,
|
| - int startup_min_level);
|
| + int startup_min_level,
|
| + int clipped_level_min);
|
| // Dependency injection for testing. Don't delete |agc| as the memory is owned
|
| // by the manager.
|
| AgcManagerDirect(Agc* agc,
|
| GainControl* gctrl,
|
| VolumeCallbacks* volume_callbacks,
|
| - int startup_min_level);
|
| + int startup_min_level,
|
| + int clipped_level_min);
|
| ~AgcManagerDirect();
|
|
|
| int Initialize();
|
| @@ -98,6 +100,7 @@ class AgcManagerDirect final {
|
| bool check_volume_on_next_process_;
|
| bool startup_;
|
| int startup_min_level_;
|
| + const int clipped_level_min_;
|
|
|
| std::unique_ptr<DebugFile> file_preproc_;
|
| std::unique_ptr<DebugFile> file_postproc_;
|
|
|