Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(234)

Side by Side Diff: third_party/WebKit/Source/platform/audio/AudioResamplerKernel.h

Issue 2795943002: Rewrite references to "wtf/" to "platform/wtf/" in platform/audio. (Closed)
Patch Set: Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2010, Google Inc. All rights reserved. 2 * Copyright (C) 2010, Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 10 matching lines...) Expand all
21 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 21 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
22 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH 22 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
23 * DAMAGE. 23 * DAMAGE.
24 */ 24 */
25 25
26 #ifndef AudioResamplerKernel_h 26 #ifndef AudioResamplerKernel_h
27 #define AudioResamplerKernel_h 27 #define AudioResamplerKernel_h
28 28
29 #include "platform/PlatformExport.h" 29 #include "platform/PlatformExport.h"
30 #include "platform/audio/AudioArray.h" 30 #include "platform/audio/AudioArray.h"
31 #include "wtf/Allocator.h" 31 #include "platform/wtf/Allocator.h"
32 32
33 namespace blink { 33 namespace blink {
34 34
35 class AudioResampler; 35 class AudioResampler;
36 36
37 // AudioResamplerKernel does resampling on a single mono channel. 37 // AudioResamplerKernel does resampling on a single mono channel.
38 // It uses a simple linear interpolation for good performance. 38 // It uses a simple linear interpolation for good performance.
39 39
40 class PLATFORM_EXPORT AudioResamplerKernel { 40 class PLATFORM_EXPORT AudioResamplerKernel {
41 USING_FAST_MALLOC(AudioResamplerKernel); 41 USING_FAST_MALLOC(AudioResamplerKernel);
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 // process(). m_fillIndex represents how many buffered samples we have which 78 // process(). m_fillIndex represents how many buffered samples we have which
79 // can be as many as 2. For the first call to process() (or after reset()) 79 // can be as many as 2. For the first call to process() (or after reset())
80 // there will be no buffered samples. 80 // there will be no buffered samples.
81 float m_lastValues[2]; 81 float m_lastValues[2];
82 unsigned m_fillIndex; 82 unsigned m_fillIndex;
83 }; 83 };
84 84
85 } // namespace blink 85 } // namespace blink
86 86
87 #endif // AudioResamplerKernel_h 87 #endif // AudioResamplerKernel_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698