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

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: Rebase. 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
« no previous file with comments | « media/audio/audio_input_unittest.cc ('k') | media/audio/audio_low_latency_input_output_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/audio/audio_logging.h
diff --git a/media/audio/audio_logging.h b/media/audio/audio_logging.h
index 5b1848ea7a6c0c4e2931152fee868c7e9d8c289a..6bfd90415c432476518bfc0b940f6427e8a70e9e 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,9 @@ class AudioLog {
// new audio output device.
virtual void OnSwitchOutputDevice(int component_id,
const std::string& device_id) = 0;
+
+ // Called when an audio component wants to forward a log message.
+ virtual void OnLogMessage(int component_id, const std::string& message) = 0;
};
// AudioLogFactory dispenses AudioLog instances to owning classes for tracking
« no previous file with comments | « media/audio/audio_input_unittest.cc ('k') | media/audio/audio_low_latency_input_output_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698