Chromium Code Reviews| 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_ |