summaryrefslogtreecommitdiffstats
path: root/media/audio/audio_logging.h
diff options
context:
space:
mode:
Diffstat (limited to 'media/audio/audio_logging.h')
-rw-r--r--media/audio/audio_logging.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/media/audio/audio_logging.h b/media/audio/audio_logging.h
index 913b8ec..4d7551f 100644
--- a/media/audio/audio_logging.h
+++ b/media/audio/audio_logging.h
@@ -43,6 +43,11 @@ class AudioLog {
// Called when an audio component changes volume. |volume| is the new volume.
virtual void OnSetVolume(int component_id, double volume) = 0;
+
+ // Called when an audio component switches output device. |device_id| is the
+ // new audio output device.
+ virtual void OnSwitchOutputDevice(int component_id,
+ const std::string& device_id) = 0;
};
// AudioLogFactory dispenses AudioLog instances to owning classes for tracking