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

Unified Diff: media/audio/null_audio_sink.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/audio/null_audio_sink.h ('k') | media/base/audio_renderer_mixer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/audio/null_audio_sink.cc
diff --git a/media/audio/null_audio_sink.cc b/media/audio/null_audio_sink.cc
index fc5e900d7059c053ea5507d64fb8b13774a767d5..e737c437c9c8d47a2af1ae90a805cfa1f49bb4ba 100644
--- a/media/audio/null_audio_sink.cc
+++ b/media/audio/null_audio_sink.cc
@@ -5,7 +5,6 @@
#include "media/audio/null_audio_sink.h"
#include "base/bind.h"
-#include "base/location.h"
#include "base/single_thread_task_runner.h"
#include "media/audio/fake_audio_worker.h"
#include "media/base/audio_hash.h"
@@ -71,13 +70,6 @@
return volume == 0.0;
}
-void NullAudioSink::SwitchOutputDevice(const std::string& device_id,
- const GURL& security_origin,
- const SwitchOutputDeviceCB& callback) {
- DCHECK(task_runner_->BelongsToCurrentThread());
- callback.Run(SWITCH_OUTPUT_DEVICE_RESULT_ERROR_NOT_SUPPORTED);
-}
-
void NullAudioSink::CallRender() {
DCHECK(task_runner_->BelongsToCurrentThread());
« no previous file with comments | « media/audio/null_audio_sink.h ('k') | media/base/audio_renderer_mixer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698