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/memory/aligned_memory.h" | 10 #include "base/memory/aligned_memory.h" |
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
140 class MEDIA_EXPORT AudioBusRefCounted | 140 class MEDIA_EXPORT AudioBusRefCounted |
141 : public media::AudioBus, | 141 : public media::AudioBus, |
142 public base::RefCountedThreadSafe<AudioBusRefCounted> { | 142 public base::RefCountedThreadSafe<AudioBusRefCounted> { |
143 public: | 143 public: |
144 static scoped_refptr<AudioBusRefCounted> Create(int channels, int frames); | 144 static scoped_refptr<AudioBusRefCounted> Create(int channels, int frames); |
145 | 145 |
146 private: | 146 private: |
147 friend class base::RefCountedThreadSafe<AudioBusRefCounted>; | 147 friend class base::RefCountedThreadSafe<AudioBusRefCounted>; |
148 | 148 |
149 AudioBusRefCounted(int channels, int frames); | 149 AudioBusRefCounted(int channels, int frames); |
150 virtual ~AudioBusRefCounted(); | 150 ~AudioBusRefCounted() override; |
151 | 151 |
152 DISALLOW_COPY_AND_ASSIGN(AudioBusRefCounted); | 152 DISALLOW_COPY_AND_ASSIGN(AudioBusRefCounted); |
153 }; | 153 }; |
154 | 154 |
155 } // namespace media | 155 } // namespace media |
156 | 156 |
157 #endif // MEDIA_BASE_AUDIO_BUS_H_ | 157 #endif // MEDIA_BASE_AUDIO_BUS_H_ |
OLD | NEW |