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

Unified Diff: media/audio/audio_logging.h

Issue 1171953002: Add IPC interface for switching the audio output device for a given audio stream in the browser. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix style Created 5 years, 6 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 | « content/common/media/audio_messages.h ('k') | media/audio/audio_output_ipc.h » ('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 913b8ec4433552bf41e22e734ecd00896c2bb714..4d7551f2021d9eb770e887dd80c25a18caa4a753 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
« no previous file with comments | « content/common/media/audio_messages.h ('k') | media/audio/audio_output_ipc.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698