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

Side by Side Diff: third_party/WebKit/Source/platform/audio/ReverbAccumulationBuffer.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 * 7 *
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 13 matching lines...) Expand all
24 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 24 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
26 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 26 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27 */ 27 */
28 28
29 #ifndef ReverbAccumulationBuffer_h 29 #ifndef ReverbAccumulationBuffer_h
30 #define ReverbAccumulationBuffer_h 30 #define ReverbAccumulationBuffer_h
31 31
32 #include "platform/PlatformExport.h" 32 #include "platform/PlatformExport.h"
33 #include "platform/audio/AudioArray.h" 33 #include "platform/audio/AudioArray.h"
34 #include "wtf/Allocator.h" 34 #include "platform/wtf/Allocator.h"
35 #include "wtf/Noncopyable.h" 35 #include "platform/wtf/Noncopyable.h"
36 36
37 namespace blink { 37 namespace blink {
38 38
39 // ReverbAccumulationBuffer is a circular delay buffer with one client reading 39 // ReverbAccumulationBuffer is a circular delay buffer with one client reading
40 // from it and multiple clients writing/accumulating to it at different delay 40 // from it and multiple clients writing/accumulating to it at different delay
41 // offsets from the read position. The read operation will zero the memory 41 // offsets from the read position. The read operation will zero the memory
42 // just read from the buffer, so it will be ready for accumulation the next 42 // just read from the buffer, so it will be ready for accumulation the next
43 // time around. 43 // time around.
44 class PLATFORM_EXPORT ReverbAccumulationBuffer { 44 class PLATFORM_EXPORT ReverbAccumulationBuffer {
45 DISALLOW_NEW(); 45 DISALLOW_NEW();
(...skipping 25 matching lines...) Expand all
71 71
72 private: 72 private:
73 AudioFloatArray m_buffer; 73 AudioFloatArray m_buffer;
74 size_t m_readIndex; 74 size_t m_readIndex;
75 size_t m_readTimeFrame; // for debugging (frame on continuous timeline) 75 size_t m_readTimeFrame; // for debugging (frame on continuous timeline)
76 }; 76 };
77 77
78 } // namespace blink 78 } // namespace blink
79 79
80 #endif // ReverbAccumulationBuffer_h 80 #endif // ReverbAccumulationBuffer_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/platform/audio/Reverb.cpp ('k') | third_party/WebKit/Source/platform/audio/ReverbConvolver.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698