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 06bfc9ba7f9d8531044105ea4ddd3790cbf90a31..d00d1277b46cb27fe0eaeddefbd418e976557de0 100644 |
--- a/webrtc/modules/audio_processing/include/audio_processing.h |
+++ b/webrtc/modules/audio_processing/include/audio_processing.h |
@@ -419,6 +419,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. |
// |