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_BUS_H_ | 5 #ifndef MEDIA_BASE_AUDIO_BUS_H_ |
6 #define MEDIA_BASE_AUDIO_BUS_H_ | 6 #define MEDIA_BASE_AUDIO_BUS_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
| 10 #include "base/macros.h" |
10 #include "base/memory/aligned_memory.h" | 11 #include "base/memory/aligned_memory.h" |
11 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
12 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
13 #include "media/base/media_export.h" | 14 #include "media/base/media_export.h" |
14 | 15 |
15 namespace media { | 16 namespace media { |
16 class AudioParameters; | 17 class AudioParameters; |
17 | 18 |
18 // Scoped container for "busing" audio channel data around. Each channel is | 19 // Scoped container for "busing" audio channel data around. Each channel is |
19 // stored in planar format and guaranteed to be aligned by kChannelAlignment. | 20 // stored in planar format and guaranteed to be aligned by kChannelAlignment. |
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
152 | 153 |
153 AudioBusRefCounted(int channels, int frames); | 154 AudioBusRefCounted(int channels, int frames); |
154 ~AudioBusRefCounted() override; | 155 ~AudioBusRefCounted() override; |
155 | 156 |
156 DISALLOW_COPY_AND_ASSIGN(AudioBusRefCounted); | 157 DISALLOW_COPY_AND_ASSIGN(AudioBusRefCounted); |
157 }; | 158 }; |
158 | 159 |
159 } // namespace media | 160 } // namespace media |
160 | 161 |
161 #endif // MEDIA_BASE_AUDIO_BUS_H_ | 162 #endif // MEDIA_BASE_AUDIO_BUS_H_ |
OLD | NEW |