| 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_BASE_AUDIO_BUFFER_H_ | 5 #ifndef MEDIA_BASE_AUDIO_BUFFER_H_ |
| 6 #define MEDIA_BASE_AUDIO_BUFFER_H_ | 6 #define MEDIA_BASE_AUDIO_BUFFER_H_ |
| 7 | 7 |
| 8 #include <stddef.h> |
| 9 #include <stdint.h> |
| 10 |
| 8 #include <vector> | 11 #include <vector> |
| 9 | 12 |
| 10 #include "base/macros.h" | 13 #include "base/macros.h" |
| 11 #include "base/memory/aligned_memory.h" | 14 #include "base/memory/aligned_memory.h" |
| 12 #include "base/memory/ref_counted.h" | 15 #include "base/memory/ref_counted.h" |
| 13 #include "base/memory/scoped_ptr.h" | 16 #include "base/memory/scoped_ptr.h" |
| 14 #include "base/time/time.h" | 17 #include "base/time/time.h" |
| 15 #include "media/base/channel_layout.h" | 18 #include "media/base/channel_layout.h" |
| 16 #include "media/base/media_export.h" | 19 #include "media/base/media_export.h" |
| 17 #include "media/base/sample_format.h" | 20 #include "media/base/sample_format.h" |
| (...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 172 | 175 |
| 173 // For planar data, points to each channels data. | 176 // For planar data, points to each channels data. |
| 174 std::vector<uint8_t*> channel_data_; | 177 std::vector<uint8_t*> channel_data_; |
| 175 | 178 |
| 176 DISALLOW_IMPLICIT_CONSTRUCTORS(AudioBuffer); | 179 DISALLOW_IMPLICIT_CONSTRUCTORS(AudioBuffer); |
| 177 }; | 180 }; |
| 178 | 181 |
| 179 } // namespace media | 182 } // namespace media |
| 180 | 183 |
| 181 #endif // MEDIA_BASE_AUDIO_BUFFER_H_ | 184 #endif // MEDIA_BASE_AUDIO_BUFFER_H_ |
| OLD | NEW |