OLD | NEW |
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 22 matching lines...) Expand all Loading... |
33 #include "platform/audio/DirectConvolver.h" | 33 #include "platform/audio/DirectConvolver.h" |
34 #include "platform/audio/FFTConvolver.h" | 34 #include "platform/audio/FFTConvolver.h" |
35 #include "platform/audio/ReverbAccumulationBuffer.h" | 35 #include "platform/audio/ReverbAccumulationBuffer.h" |
36 #include "platform/audio/ReverbConvolverStage.h" | 36 #include "platform/audio/ReverbConvolverStage.h" |
37 #include "platform/audio/ReverbInputBuffer.h" | 37 #include "platform/audio/ReverbInputBuffer.h" |
38 #include "wtf/Allocator.h" | 38 #include "wtf/Allocator.h" |
39 #include "wtf/OwnPtr.h" | 39 #include "wtf/OwnPtr.h" |
40 #include "wtf/RefCounted.h" | 40 #include "wtf/RefCounted.h" |
41 #include "wtf/Vector.h" | 41 #include "wtf/Vector.h" |
42 | 42 |
43 #if ENABLE(WEB_AUDIO) | |
44 | |
45 namespace blink { | 43 namespace blink { |
46 | 44 |
47 class AudioChannel; | 45 class AudioChannel; |
48 class WebThread; | 46 class WebThread; |
49 | 47 |
50 class PLATFORM_EXPORT ReverbConvolver { | 48 class PLATFORM_EXPORT ReverbConvolver { |
51 USING_FAST_MALLOC(ReverbConvolver); | 49 USING_FAST_MALLOC(ReverbConvolver); |
52 WTF_MAKE_NONCOPYABLE(ReverbConvolver); | 50 WTF_MAKE_NONCOPYABLE(ReverbConvolver); |
53 public: | 51 public: |
54 // maxFFTSize can be adjusted (from say 2048 to 32768) depending on how much
precision is necessary. | 52 // maxFFTSize can be adjusted (from say 2048 to 32768) depending on how much
precision is necessary. |
(...skipping 27 matching lines...) Expand all Loading... |
82 | 80 |
83 // But don't exceed this size in the real-time thread (if we're doing backgr
ound processing). | 81 // But don't exceed this size in the real-time thread (if we're doing backgr
ound processing). |
84 size_t m_maxRealtimeFFTSize; | 82 size_t m_maxRealtimeFFTSize; |
85 | 83 |
86 // Background thread and synchronization | 84 // Background thread and synchronization |
87 OwnPtr<WebThread> m_backgroundThread; | 85 OwnPtr<WebThread> m_backgroundThread; |
88 }; | 86 }; |
89 | 87 |
90 } // namespace blink | 88 } // namespace blink |
91 | 89 |
92 #endif // ENABLE(WEB_AUDIO) | |
93 | |
94 #endif // ReverbConvolver_h | 90 #endif // ReverbConvolver_h |
OLD | NEW |