Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(687)

Unified Diff: webrtc/modules/audio_processing/level_controller/level_controller.cc

Issue 2292863002: Introduced new scheme for controlling the functionality inside the audio processing module (Closed)
Patch Set: Changes in response to reviewer comments Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: webrtc/modules/audio_processing/level_controller/level_controller.cc
diff --git a/webrtc/modules/audio_processing/level_controller/level_controller.cc b/webrtc/modules/audio_processing/level_controller/level_controller.cc
index 2294396607505f86511e83f12f110a8a636601bf..7096f2c4bb2abd248bd0457fa8863819e1d55cfc 100644
--- a/webrtc/modules/audio_processing/level_controller/level_controller.cc
+++ b/webrtc/modules/audio_processing/level_controller/level_controller.cc
@@ -72,6 +72,10 @@ const int kMetricsFrameInterval = 1000;
} // namespace
+bool AudioProcessing::Config::LevelController::Validate() const {
the sun 2016/08/30 18:05:35 How about a static function in LevelController ins
peah-webrtc 2016/08/31 08:08:32 That sounds good! Done.
+ return true;
+}
+
int LevelController::instance_count_ = 0;
void LevelController::Metrics::Initialize(int sample_rate_hz) {

Powered by Google App Engine
This is Rietveld 408576698