Index: webrtc/modules/audio_processing/level_controller/level_controller.h |
diff --git a/webrtc/modules/audio_processing/level_controller/level_controller.h b/webrtc/modules/audio_processing/level_controller/level_controller.h |
index 65fc36005b692de46e114ca78be81f0ca1ada534..1d8e043cce410adbb1b07e970b41bf75f08a4395 100644 |
--- a/webrtc/modules/audio_processing/level_controller/level_controller.h |
+++ b/webrtc/modules/audio_processing/level_controller/level_controller.h |
@@ -38,6 +38,12 @@ class LevelController { |
void Process(AudioBuffer* audio); |
float GetLastGain() { return last_gain_; } |
+ // Validates a config. |
+ static bool Validate(const AudioProcessing::Config::LevelController& config); |
+ // Dumps a config to a string. |
+ static std::string ToString( |
+ const AudioProcessing::Config::LevelController& config); |
+ |
private: |
class Metrics { |
public: |