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

Unified Diff: media/blink/webaudiosourceprovider_impl.cc

Issue 1186943003: Revert of Add support for the audio-output-device switching IPC mechanism to the renderer lower... (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 | « media/blink/webaudiosourceprovider_impl.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/blink/webaudiosourceprovider_impl.cc
diff --git a/media/blink/webaudiosourceprovider_impl.cc b/media/blink/webaudiosourceprovider_impl.cc
index 8ca3d0bff5762ed58c954b1d27bbc56601fe63f3..6637719b0a6980ec34b324f9a75c52454e0c8d27 100644
--- a/media/blink/webaudiosourceprovider_impl.cc
+++ b/media/blink/webaudiosourceprovider_impl.cc
@@ -163,18 +163,6 @@
return true;
}
-void WebAudioSourceProviderImpl::SwitchOutputDevice(
- const std::string& device_id,
- const GURL& security_origin,
- const SwitchOutputDeviceCB& callback) {
- base::AutoLock auto_lock(sink_lock_);
- if (!client_) {
- sink_->SwitchOutputDevice(device_id, security_origin, callback);
- } else {
- callback.Run(SWITCH_OUTPUT_DEVICE_RESULT_ERROR_NOT_SUPPORTED);
- }
-}
-
void WebAudioSourceProviderImpl::Initialize(
const AudioParameters& params,
RenderCallback* renderer) {
« no previous file with comments | « media/blink/webaudiosourceprovider_impl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698