OLD | NEW |
1 // Copyright (c) 2014 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2014 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_SHIFTER_H | 5 #ifndef MEDIA_BASE_AUDIO_SHIFTER_H |
6 #define MEDIA_BASE_AUDIO_SHIFTER_H | 6 #define MEDIA_BASE_AUDIO_SHIFTER_H |
7 | 7 |
| 8 #include <stddef.h> |
| 9 |
8 #include <deque> | 10 #include <deque> |
9 | 11 |
10 #include "base/memory/linked_ptr.h" | 12 #include "base/memory/linked_ptr.h" |
11 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
12 #include "base/time/time.h" | 14 #include "base/time/time.h" |
13 #include "media/base/media_export.h" | 15 #include "media/base/media_export.h" |
14 #include "media/base/multi_channel_resampler.h" | 16 #include "media/base/multi_channel_resampler.h" |
15 | 17 |
16 namespace media { | 18 namespace media { |
17 | 19 |
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
130 // Resampler. | 132 // Resampler. |
131 MultiChannelResampler resampler_; | 133 MultiChannelResampler resampler_; |
132 | 134 |
133 // Current resampler ratio. | 135 // Current resampler ratio. |
134 double current_ratio_; | 136 double current_ratio_; |
135 }; | 137 }; |
136 | 138 |
137 } // namespace media | 139 } // namespace media |
138 | 140 |
139 #endif // MEDIA_BASE_AUDIO_SHIFTER_H | 141 #endif // MEDIA_BASE_AUDIO_SHIFTER_H |
OLD | NEW |