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

Side by Side Diff: third_party/WebKit/Source/modules/webaudio/AudioBasicProcessorHandler.h

Issue 1557363002: Remove the WEB_AUDIO compile time flag (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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 11 matching lines...) Expand all
22 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 22 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
23 */ 23 */
24 24
25 #ifndef AudioBasicProcessorHandler_h 25 #ifndef AudioBasicProcessorHandler_h
26 #define AudioBasicProcessorHandler_h 26 #define AudioBasicProcessorHandler_h
27 27
28 #include "modules/ModulesExport.h" 28 #include "modules/ModulesExport.h"
29 #include "modules/webaudio/AudioNode.h" 29 #include "modules/webaudio/AudioNode.h"
30 #include "wtf/Forward.h" 30 #include "wtf/Forward.h"
31 31
32 #if ENABLE(WEB_AUDIO)
33
34 namespace blink { 32 namespace blink {
35 33
36 class AudioNodeInput; 34 class AudioNodeInput;
37 class AudioProcessor; 35 class AudioProcessor;
38 36
39 // AudioBasicProcessorHandler is an AudioHandler with one input and one output 37 // AudioBasicProcessorHandler is an AudioHandler with one input and one output
40 // where the input and output have the same number of channels. 38 // where the input and output have the same number of channels.
41 class MODULES_EXPORT AudioBasicProcessorHandler : public AudioHandler { 39 class MODULES_EXPORT AudioBasicProcessorHandler : public AudioHandler {
42 public: 40 public:
43 static PassRefPtr<AudioBasicProcessorHandler> create(NodeType, AudioNode&, f loat sampleRate, PassOwnPtr<AudioProcessor>); 41 static PassRefPtr<AudioBasicProcessorHandler> create(NodeType, AudioNode&, f loat sampleRate, PassOwnPtr<AudioProcessor>);
(...skipping 15 matching lines...) Expand all
59 private: 57 private:
60 AudioBasicProcessorHandler(NodeType, AudioNode&, float sampleRate, PassOwnPt r<AudioProcessor>); 58 AudioBasicProcessorHandler(NodeType, AudioNode&, float sampleRate, PassOwnPt r<AudioProcessor>);
61 double tailTime() const final; 59 double tailTime() const final;
62 double latencyTime() const final; 60 double latencyTime() const final;
63 61
64 OwnPtr<AudioProcessor> m_processor; 62 OwnPtr<AudioProcessor> m_processor;
65 }; 63 };
66 64
67 } // namespace blink 65 } // namespace blink
68 66
69 #endif // ENABLE(WEB_AUDIO)
70
71 #endif // AudioBasicProcessorHandler_h 67 #endif // AudioBasicProcessorHandler_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698