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

Unified Diff: content/renderer/pepper/pepper_platform_audio_output.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: content/renderer/pepper/pepper_platform_audio_output.cc
diff --git a/content/renderer/pepper/pepper_platform_audio_output.cc b/content/renderer/pepper/pepper_platform_audio_output.cc
index ce18f86b9d229ae6fcde0390a5471248c2190339..23f508b367a6f9ad01a359176bb1085386379fe0 100644
--- a/content/renderer/pepper/pepper_platform_audio_output.cc
+++ b/content/renderer/pepper/pepper_platform_audio_output.cc
@@ -100,6 +100,10 @@ void PepperPlatformAudioOutput::OnStreamCreated(
}
}
+void PepperPlatformAudioOutput::OnDeviceSwitched(
+ int request_id,
+ media::AudioOutputIPCDelegate::DeviceSwitchResult result) {}
+
void PepperPlatformAudioOutput::OnIPCClosed() { ipc_.reset(); }
PepperPlatformAudioOutput::~PepperPlatformAudioOutput() {

Powered by Google App Engine
This is Rietveld 408576698