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> | 8 #include <stddef.h> |
9 | 9 |
10 #include <deque> | 10 #include <deque> |
11 #include <memory> | 11 #include <memory> |
12 | 12 |
13 #include "base/memory/linked_ptr.h" | 13 #include "base/memory/linked_ptr.h" |
14 #include "base/time/time.h" | 14 #include "base/time/time.h" |
15 #include "media/base/media_export.h" | 15 #include "media/base/media_export.h" |
16 #include "media/base/multi_channel_resampler.h" | 16 #include "media/base/multi_channel_resampler.h" |
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
133 | 133 |
134 // Resampler. | 134 // Resampler. |
135 MultiChannelResampler resampler_; | 135 MultiChannelResampler resampler_; |
136 | 136 |
137 // Current resampler ratio. | 137 // Current resampler ratio. |
138 double current_ratio_; | 138 double current_ratio_; |
139 }; | 139 }; |
140 | 140 |
141 } // namespace media | 141 } // namespace media |
142 | 142 |
143 #endif // MEDIA_BASE_AUDIO_SHIFTER_H | 143 #endif // MEDIA_BASE_AUDIO_SHIFTER_H_ |
OLD | NEW |