OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef MEDIA_BASE_FAKE_AUDIO_RENDERER_SINK_H_ | 5 #ifndef MEDIA_BASE_FAKE_AUDIO_RENDERER_SINK_H_ |
6 #define MEDIA_BASE_FAKE_AUDIO_RENDERER_SINK_H_ | 6 #define MEDIA_BASE_FAKE_AUDIO_RENDERER_SINK_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
| 10 #include "base/macros.h" |
10 #include "media/audio/audio_parameters.h" | 11 #include "media/audio/audio_parameters.h" |
11 #include "media/base/audio_renderer_sink.h" | 12 #include "media/base/audio_renderer_sink.h" |
12 | 13 |
13 namespace media { | 14 namespace media { |
14 | 15 |
15 class FakeOutputDevice; | 16 class FakeOutputDevice; |
16 | 17 |
17 class FakeAudioRendererSink : public AudioRendererSink { | 18 class FakeAudioRendererSink : public AudioRendererSink { |
18 public: | 19 public: |
19 enum State { | 20 enum State { |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 State state_; | 60 State state_; |
60 RenderCallback* callback_; | 61 RenderCallback* callback_; |
61 scoped_ptr<FakeOutputDevice> output_device_; | 62 scoped_ptr<FakeOutputDevice> output_device_; |
62 | 63 |
63 DISALLOW_COPY_AND_ASSIGN(FakeAudioRendererSink); | 64 DISALLOW_COPY_AND_ASSIGN(FakeAudioRendererSink); |
64 }; | 65 }; |
65 | 66 |
66 } // namespace media | 67 } // namespace media |
67 | 68 |
68 #endif // MEDIA_BASE_FAKE_AUDIO_RENDERER_SINK_H_ | 69 #endif // MEDIA_BASE_FAKE_AUDIO_RENDERER_SINK_H_ |
OLD | NEW |