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/macros.h" |
9 #include "base/time/time.h" | 10 #include "base/time/time.h" |
10 #include "media/base/buffering_state.h" | 11 #include "media/base/buffering_state.h" |
11 #include "media/base/cdm_context.h" | 12 #include "media/base/cdm_context.h" |
12 #include "media/base/media_export.h" | 13 #include "media/base/media_export.h" |
13 #include "media/base/pipeline_status.h" | 14 #include "media/base/pipeline_status.h" |
14 | 15 |
15 namespace media { | 16 namespace media { |
16 | 17 |
17 class DemuxerStream; | 18 class DemuxerStream; |
18 class TimeSource; | 19 class TimeSource; |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
69 // Sets the output volume. | 70 // Sets the output volume. |
70 virtual void SetVolume(float volume) = 0; | 71 virtual void SetVolume(float volume) = 0; |
71 | 72 |
72 private: | 73 private: |
73 DISALLOW_COPY_AND_ASSIGN(AudioRenderer); | 74 DISALLOW_COPY_AND_ASSIGN(AudioRenderer); |
74 }; | 75 }; |
75 | 76 |
76 } // namespace media | 77 } // namespace media |
77 | 78 |
78 #endif // MEDIA_BASE_AUDIO_RENDERER_H_ | 79 #endif // MEDIA_BASE_AUDIO_RENDERER_H_ |
OLD | NEW |