| 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_SINC_RESAMPLER_H_ | 5 #ifndef MEDIA_BASE_SINC_RESAMPLER_H_ |
| 6 #define MEDIA_BASE_SINC_RESAMPLER_H_ | 6 #define MEDIA_BASE_SINC_RESAMPLER_H_ |
| 7 | 7 |
| 8 #include "base/callback.h" | 8 #include "base/callback.h" |
| 9 #include "base/gtest_prod_util.h" | 9 #include "base/gtest_prod_util.h" |
| 10 #include "base/macros.h" |
| 10 #include "base/memory/aligned_memory.h" | 11 #include "base/memory/aligned_memory.h" |
| 11 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
| 12 #include "build/build_config.h" | 13 #include "build/build_config.h" |
| 13 #include "media/base/media_export.h" | 14 #include "media/base/media_export.h" |
| 14 | 15 |
| 15 namespace media { | 16 namespace media { |
| 16 | 17 |
| 17 // SincResampler is a high-quality single-channel sample-rate converter. | 18 // SincResampler is a high-quality single-channel sample-rate converter. |
| 18 class MEDIA_EXPORT SincResampler { | 19 class MEDIA_EXPORT SincResampler { |
| 19 public: | 20 public: |
| (...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 147 float* const r2_; | 148 float* const r2_; |
| 148 float* r3_; | 149 float* r3_; |
| 149 float* r4_; | 150 float* r4_; |
| 150 | 151 |
| 151 DISALLOW_COPY_AND_ASSIGN(SincResampler); | 152 DISALLOW_COPY_AND_ASSIGN(SincResampler); |
| 152 }; | 153 }; |
| 153 | 154 |
| 154 } // namespace media | 155 } // namespace media |
| 155 | 156 |
| 156 #endif // MEDIA_BASE_SINC_RESAMPLER_H_ | 157 #endif // MEDIA_BASE_SINC_RESAMPLER_H_ |
| OLD | NEW |