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

Unified Diff: media/base/audio_renderer_mixer.h

Issue 1184473002: Add support for the audio-output-device switching IPC mechanism to the renderer lower layers (media… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix build dependencies for audio_unittests 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.cc ('k') | media/base/audio_renderer_mixer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/audio_renderer_mixer.h
diff --git a/media/base/audio_renderer_mixer.h b/media/base/audio_renderer_mixer.h
index 35ed484976fdb83ee4975b955c10a5e3a296b131..dc9ab925b2435b32ad12c97b27762f8b80edb38c 100644
--- a/media/base/audio_renderer_mixer.h
+++ b/media/base/audio_renderer_mixer.h
@@ -6,6 +6,7 @@
#define MEDIA_BASE_AUDIO_RENDERER_MIXER_H_
#include <map>
+#include <string>
#include "base/synchronization/lock.h"
#include "base/time/time.h"
@@ -39,6 +40,10 @@ class MEDIA_EXPORT AudioRendererMixer
pause_delay_ = delay;
}
+ void SwitchOutputDevice(const std::string& device_id,
+ const GURL& security_origin,
+ const SwitchOutputDeviceCB& callback);
+
private:
// AudioRendererSink::RenderCallback implementation.
int Render(AudioBus* audio_bus, int audio_delay_milliseconds) override;
« no previous file with comments | « media/audio/null_audio_sink.cc ('k') | media/base/audio_renderer_mixer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698