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

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

Issue 2433153003: New statistics interface for APM (Closed)
Patch Set: Created 4 years, 2 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/audio_processing_impl.h
diff --git a/webrtc/modules/audio_processing/audio_processing_impl.h b/webrtc/modules/audio_processing/audio_processing_impl.h
index 21bc588198ba3541d3fc7d3beea6e01468d08f0e..5881681c4cd1253925a5d5cf453e1ac836de37a1 100644
--- a/webrtc/modules/audio_processing/audio_processing_impl.h
+++ b/webrtc/modules/audio_processing/audio_processing_impl.h
@@ -114,6 +114,9 @@ class AudioProcessingImpl : public AudioProcessing {
bool was_stream_delay_set() const override
EXCLUSIVE_LOCKS_REQUIRED(crit_capture_);
+ void SetStatisticsEnabled(bool enabled) override;
+ void GetStatistics(AudioProcessingStatistics* stats) const override;
the sun 2016/10/24 08:26:58 How about just returning this struct by value? Ret
ivoc 2016/10/24 14:15:49 Done.
+
// Methods returning pointers to APM submodules.
// No locks are aquired in those, as those locks
// would offer no protection (the submodules are

Powered by Google App Engine
This is Rietveld 408576698