Index: webrtc/modules/audio_processing/include/audio_processing.h |
diff --git a/webrtc/modules/audio_processing/include/audio_processing.h b/webrtc/modules/audio_processing/include/audio_processing.h |
index 09e5d5be1cba9b20a8b8210c690c3c23e1dc7709..2f1ae99b9383ded9c771e2bb75fe3cd43293895f 100644 |
--- a/webrtc/modules/audio_processing/include/audio_processing.h |
+++ b/webrtc/modules/audio_processing/include/audio_processing.h |
@@ -410,6 +410,11 @@ class AudioProcessing { |
// with this chunk of audio. |
virtual void set_stream_key_pressed(bool key_pressed) = 0; |
+ // Sets the initial peak level to use inside the level controller in order |
+ // to compute the signal gain. The unit for the peak level is dBFS and |
+ // the allowed range is [-100, 0]. |
+ virtual void SetLevelControllerInitialLevel(float level) = 0; |
+ |
// Sets a delay |offset| in ms to add to the values passed in through |
// set_stream_delay_ms(). May be positive or negative. |
// |