| 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 #include "media/base/audio_bus.h" | 5 #include "media/base/audio_bus.h" |
| 6 | 6 |
| 7 #include <stddef.h> |
| 7 #include <stdint.h> | 8 #include <stdint.h> |
| 8 | 9 |
| 9 #include <limits> | 10 #include <limits> |
| 10 | 11 |
| 11 #include "base/logging.h" | 12 #include "base/logging.h" |
| 12 #include "base/numerics/safe_conversions.h" | 13 #include "base/numerics/safe_conversions.h" |
| 13 #include "media/audio/audio_parameters.h" | 14 #include "media/audio/audio_parameters.h" |
| 14 #include "media/base/limits.h" | 15 #include "media/base/limits.h" |
| 15 #include "media/base/vector_math.h" | 16 #include "media/base/vector_math.h" |
| 16 | 17 |
| (...skipping 348 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 365 return scoped_refptr<AudioBusRefCounted>( | 366 return scoped_refptr<AudioBusRefCounted>( |
| 366 new AudioBusRefCounted(channels, frames)); | 367 new AudioBusRefCounted(channels, frames)); |
| 367 } | 368 } |
| 368 | 369 |
| 369 AudioBusRefCounted::AudioBusRefCounted(int channels, int frames) | 370 AudioBusRefCounted::AudioBusRefCounted(int channels, int frames) |
| 370 : AudioBus(channels, frames) {} | 371 : AudioBus(channels, frames) {} |
| 371 | 372 |
| 372 AudioBusRefCounted::~AudioBusRefCounted() {} | 373 AudioBusRefCounted::~AudioBusRefCounted() {} |
| 373 | 374 |
| 374 } // namespace media | 375 } // namespace media |
| OLD | NEW |