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

Unified Diff: media/audio/audio_output_stream_sink.cc

Issue 1122393004: Add support for switching the audio output device for HTMLMediaElements. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Changes to MediaPlayers so that they invoke callbacks in the correct threads. First complete implem… Created 5 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_output_stream_sink.cc
diff --git a/media/audio/audio_output_stream_sink.cc b/media/audio/audio_output_stream_sink.cc
index e233e994a1503ffd02aaba539c5c50bad113bcac..293db3af205550ec839af58dcb80605b7b9f8b0f 100644
--- a/media/audio/audio_output_stream_sink.cc
+++ b/media/audio/audio_output_stream_sink.cc
@@ -57,7 +57,13 @@ bool AudioOutputStreamSink::SetVolume(double volume) {
audio_task_runner_->PostTask(
FROM_HERE, base::Bind(&AudioOutputStreamSink::DoSetVolume, this, volume));
return true;
-};
+}
+
+void AudioOutputStreamSink::SwitchOutputDevice(
+ const std::string& device_id,
+ const GURL& security_origin,
+ const base::Callback<void(int)>& callback) { }
miu 2015/06/03 21:01:01 All the other default method implementations run t
+
int AudioOutputStreamSink::OnMoreData(AudioBus* dest,
uint32 total_bytes_delay) {

Powered by Google App Engine
This is Rietveld 408576698