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

Unified Diff: media/audio/audio_logging.h

Issue 1864483002: Forward output glitch information from stream WebRTC log (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Finished up for review. Created 4 years, 7 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: media/audio/audio_logging.h
diff --git a/media/audio/audio_logging.h b/media/audio/audio_logging.h
index 5b1848ea7a6c0c4e2931152fee868c7e9d8c289a..622e9c89d212a864355b6f428ebecb1f80f7c48a 100644
--- a/media/audio/audio_logging.h
+++ b/media/audio/audio_logging.h
@@ -10,6 +10,7 @@
namespace media {
+
class AudioParameters;
// AudioLog logs state information about an active audio component. Each method
@@ -48,6 +49,11 @@ class AudioLog {
// new audio output device.
virtual void OnSwitchOutputDevice(int component_id,
const std::string& device_id) = 0;
+
+ // Stats reporting.
+ virtual void OnStatistics(int component_id,
DaleCurtis 2016/05/19 20:34:37 It seems this should just be OnStatistics(componen
Henrik Grunell 2016/05/23 17:13:54 I did consider just using a string (and call it On
+ const std::string& name,
+ int value) = 0;
};
// AudioLogFactory dispenses AudioLog instances to owning classes for tracking

Powered by Google App Engine
This is Rietveld 408576698