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

Unified Diff: media/base/audio_renderer_mixer_sink.h

Issue 1769933002: Looking up device id by session id for AudioRendererMixerInput (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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/base/audio_renderer_mixer_sink.h
diff --git a/media/base/audio_renderer_mixer_sink.h b/media/base/audio_renderer_mixer_sink.h
new file mode 100644
index 0000000000000000000000000000000000000000..58418fd2a875b2680f00581d7d561674daef084b
--- /dev/null
+++ b/media/base/audio_renderer_mixer_sink.h
@@ -0,0 +1,24 @@
+// Copyright (c) 2016 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+#ifndef MEDIA_BASE_AUDIO_RENDERER_MIXER_SINK_H_
+#define MEDIA_BASE_AUDIO_RENDERER_MIXER_SINK_H_
+
+#include <string>
+
+#include "media/base/audio_renderer_sink.h"
+
+namespace media {
+
+// Special sink to be used by AudioRendererMixer
+class AudioRendererMixerSink : public AudioRendererSink {
Guido Urdaneta 2016/03/08 14:53:09 Why not add GetDeviceId() to OutputDevice instead
o1ka 2016/04/05 15:13:38 Addressed in another CL
+ public:
+ virtual std::string GetDeviceId() = 0;
+
+ protected:
+ ~AudioRendererMixerSink() override{};
Guido Urdaneta 2016/03/08 14:53:09 space after override.
+};
+
+} // namespace media
+
+#endif // MEDIA_BASE_AUDIO_RENDERER_MIXER_SINK_H_

Powered by Google App Engine
This is Rietveld 408576698