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

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

Issue 2278393002: Added logging of the level controller metrics (Closed)
Patch Set: 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.h
diff --git a/webrtc/modules/audio_processing/level_controller/level_controller.h b/webrtc/modules/audio_processing/level_controller/level_controller.h
index 3d203f908d53b9f564cc9f6ef2aa9a68b3e19f1e..53240261fcb3e921ff8395e91aec663f3c18d841 100644
--- a/webrtc/modules/audio_processing/level_controller/level_controller.h
+++ b/webrtc/modules/audio_processing/level_controller/level_controller.h
@@ -43,7 +43,10 @@ class LevelController {
public:
Metrics() { Initialize(AudioProcessing::kSampleRate48kHz); }
void Initialize(int sample_rate_hz);
- void Update(float peak_level, float noise_level, float gain);
+ void Update(float peak_level,
hlundin-webrtc 2016/08/26 07:53:29 This is renamed to long_term_peak_level in the .cc
peah-webrtc 2016/08/26 08:33:04 Done.
+ float noise_level,
+ float gain,
+ float frame_peak_level);
private:
void Reset();

Powered by Google App Engine
This is Rietveld 408576698