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

Unified Diff: webrtc/modules/audio_coding/include/audio_coding_module.h

Issue 3011623002: Add new ANA stats to GetStats() to count the number of actions taken by each controller. (Closed)
Patch Set: Initial version Created 3 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_coding/include/audio_coding_module.h
diff --git a/webrtc/modules/audio_coding/include/audio_coding_module.h b/webrtc/modules/audio_coding/include/audio_coding_module.h
index 44eec756666ef9432d2dc274f417ce7a038ea7c0..404cba9d52a8836327e982be39a4105d581b912f 100644
--- a/webrtc/modules/audio_coding/include/audio_coding_module.h
+++ b/webrtc/modules/audio_coding/include/audio_coding_module.h
@@ -823,6 +823,8 @@ class AudioCodingModule {
virtual void GetDecodingCallStatistics(
AudioDecodingCallStats* call_stats) const = 0;
+
+ virtual AudioEncoder::AudioEncoderStats GetAudioEncoderStatistics() const = 0;
minyue-webrtc 2017/08/31 07:24:21 I think it is better to do similar to GetDecodingC
ossu 2017/08/31 13:13:10 Why do you think so? Functions with output paramet
minyue-webrtc 2017/08/31 13:20:17 Copying is fine with me, and I understand the meri
ivoc 2017/08/31 14:57:50 I agree with ossu on return values vs passing poin
ivoc 2017/09/01 15:27:16 I moved the stats struct to common_types.h.
};
} // namespace webrtc

Powered by Google App Engine
This is Rietveld 408576698