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_AUDIO_CLOCKLESS_AUDIO_SINK_H_ | 5 #ifndef MEDIA_AUDIO_CLOCKLESS_AUDIO_SINK_H_ |
6 #define MEDIA_AUDIO_CLOCKLESS_AUDIO_SINK_H_ | 6 #define MEDIA_AUDIO_CLOCKLESS_AUDIO_SINK_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
| 10 #include "base/macros.h" |
10 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
11 #include "base/time/time.h" | 12 #include "base/time/time.h" |
12 #include "media/base/audio_renderer_sink.h" | 13 #include "media/base/audio_renderer_sink.h" |
13 | 14 |
14 namespace base { | 15 namespace base { |
15 class SingleThreadTaskRunner; | 16 class SingleThreadTaskRunner; |
16 } | 17 } |
17 | 18 |
18 namespace media { | 19 namespace media { |
19 class AudioBus; | 20 class AudioBus; |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
57 | 58 |
58 // Time taken in last set of Render() calls. | 59 // Time taken in last set of Render() calls. |
59 base::TimeDelta playback_time_; | 60 base::TimeDelta playback_time_; |
60 | 61 |
61 DISALLOW_COPY_AND_ASSIGN(ClocklessAudioSink); | 62 DISALLOW_COPY_AND_ASSIGN(ClocklessAudioSink); |
62 }; | 63 }; |
63 | 64 |
64 } // namespace media | 65 } // namespace media |
65 | 66 |
66 #endif // MEDIA_AUDIO_CLOCKLESS_AUDIO_SINK_H_ | 67 #endif // MEDIA_AUDIO_CLOCKLESS_AUDIO_SINK_H_ |
OLD | NEW |