| 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_MULTI_CHANNEL_RESAMPLER_H_ | 5 #ifndef MEDIA_BASE_MULTI_CHANNEL_RESAMPLER_H_ |
| 6 #define MEDIA_BASE_MULTI_CHANNEL_RESAMPLER_H_ | 6 #define MEDIA_BASE_MULTI_CHANNEL_RESAMPLER_H_ |
| 7 | 7 |
| 8 #include <stddef.h> |
| 9 |
| 8 #include <vector> | 10 #include <vector> |
| 9 | 11 |
| 10 #include "base/callback.h" | 12 #include "base/callback.h" |
| 11 #include "base/macros.h" | 13 #include "base/macros.h" |
| 12 #include "base/memory/scoped_ptr.h" | 14 #include "base/memory/scoped_ptr.h" |
| 13 #include "base/memory/scoped_vector.h" | 15 #include "base/memory/scoped_vector.h" |
| 14 #include "media/base/sinc_resampler.h" | 16 #include "media/base/sinc_resampler.h" |
| 15 | 17 |
| 16 namespace media { | 18 namespace media { |
| 17 class AudioBus; | 19 class AudioBus; |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 79 // The number of output frames that have successfully been processed during | 81 // The number of output frames that have successfully been processed during |
| 80 // the current Resample() call. | 82 // the current Resample() call. |
| 81 int output_frames_ready_; | 83 int output_frames_ready_; |
| 82 | 84 |
| 83 DISALLOW_COPY_AND_ASSIGN(MultiChannelResampler); | 85 DISALLOW_COPY_AND_ASSIGN(MultiChannelResampler); |
| 84 }; | 86 }; |
| 85 | 87 |
| 86 } // namespace media | 88 } // namespace media |
| 87 | 89 |
| 88 #endif // MEDIA_BASE_MULTI_CHANNEL_RESAMPLER_H_ | 90 #endif // MEDIA_BASE_MULTI_CHANNEL_RESAMPLER_H_ |
| OLD | NEW |