OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_AUDIO_RENDERER_H_ | 5 #ifndef MEDIA_BASE_AUDIO_RENDERER_H_ |
6 #define MEDIA_BASE_AUDIO_RENDERER_H_ | 6 #define MEDIA_BASE_AUDIO_RENDERER_H_ |
7 | 7 |
8 #include "base/callback.h" | 8 #include "base/callback.h" |
9 #include "base/memory/ref_counted.h" | 9 #include "base/memory/ref_counted.h" |
10 #include "base/time.h" | 10 #include "base/time/time.h" |
11 #include "media/base/media_export.h" | 11 #include "media/base/media_export.h" |
12 #include "media/base/pipeline_status.h" | 12 #include "media/base/pipeline_status.h" |
13 | 13 |
14 namespace media { | 14 namespace media { |
15 | 15 |
16 class DemuxerStream; | 16 class DemuxerStream; |
17 | 17 |
18 class MEDIA_EXPORT AudioRenderer { | 18 class MEDIA_EXPORT AudioRenderer { |
19 public: | 19 public: |
20 // First parameter is the current time that has been rendered. | 20 // First parameter is the current time that has been rendered. |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
83 // Resumes playback after underflow occurs. | 83 // Resumes playback after underflow occurs. |
84 virtual void ResumeAfterUnderflow() = 0; | 84 virtual void ResumeAfterUnderflow() = 0; |
85 | 85 |
86 private: | 86 private: |
87 DISALLOW_COPY_AND_ASSIGN(AudioRenderer); | 87 DISALLOW_COPY_AND_ASSIGN(AudioRenderer); |
88 }; | 88 }; |
89 | 89 |
90 } // namespace media | 90 } // namespace media |
91 | 91 |
92 #endif // MEDIA_BASE_AUDIO_RENDERER_H_ | 92 #endif // MEDIA_BASE_AUDIO_RENDERER_H_ |
OLD | NEW |