OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2013, Google Inc. All rights reserved. | 2 * Copyright (C) 2013, 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 |
11 * documentation and/or other materials provided with the distribution. | 11 * documentation and/or other materials provided with the distribution. |
12 * | 12 * |
13 * THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS'' AND AN
Y | 13 * THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS'' AND AN
Y |
14 * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED | 14 * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED |
15 * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE | 15 * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE |
16 * DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS BE LIABLE FOR AN
Y | 16 * DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS BE LIABLE FOR AN
Y |
17 * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES | 17 * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES |
18 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; | 18 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; |
19 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND O
N | 19 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND O
N |
20 * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 20 * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
21 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS | 21 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS |
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 #include "config.h" | 25 #include "config.h" |
26 #if ENABLE(WEB_AUDIO) | 26 #if ENABLE(WEB_AUDIO) |
27 #include "bindings/modules/v8/V8AudioNode.h" | 27 #include "bindings/modules/v8/V8AudioNode.h" |
28 | 28 |
| 29 #include "bindings/core/v8/V8Binding.h" |
29 #include "bindings/modules/v8/V8AnalyserNode.h" | 30 #include "bindings/modules/v8/V8AnalyserNode.h" |
30 #include "bindings/modules/v8/V8AudioBufferSourceNode.h" | 31 #include "bindings/modules/v8/V8AudioBufferSourceNode.h" |
31 #include "bindings/modules/v8/V8AudioDestinationNode.h" | 32 #include "bindings/modules/v8/V8AudioDestinationNode.h" |
32 #include "bindings/modules/v8/V8BiquadFilterNode.h" | 33 #include "bindings/modules/v8/V8BiquadFilterNode.h" |
33 #include "bindings/modules/v8/V8ChannelMergerNode.h" | 34 #include "bindings/modules/v8/V8ChannelMergerNode.h" |
34 #include "bindings/modules/v8/V8ChannelSplitterNode.h" | 35 #include "bindings/modules/v8/V8ChannelSplitterNode.h" |
35 #include "bindings/modules/v8/V8ConvolverNode.h" | 36 #include "bindings/modules/v8/V8ConvolverNode.h" |
36 #include "bindings/modules/v8/V8DelayNode.h" | 37 #include "bindings/modules/v8/V8DelayNode.h" |
37 #include "bindings/modules/v8/V8DynamicsCompressorNode.h" | 38 #include "bindings/modules/v8/V8DynamicsCompressorNode.h" |
38 #include "bindings/modules/v8/V8GainNode.h" | 39 #include "bindings/modules/v8/V8GainNode.h" |
39 #include "bindings/modules/v8/V8MediaElementAudioSourceNode.h" | 40 #include "bindings/modules/v8/V8MediaElementAudioSourceNode.h" |
40 #include "bindings/modules/v8/V8MediaStreamAudioDestinationNode.h" | 41 #include "bindings/modules/v8/V8MediaStreamAudioDestinationNode.h" |
41 #include "bindings/modules/v8/V8MediaStreamAudioSourceNode.h" | 42 #include "bindings/modules/v8/V8MediaStreamAudioSourceNode.h" |
42 #include "bindings/modules/v8/V8OscillatorNode.h" | 43 #include "bindings/modules/v8/V8OscillatorNode.h" |
43 #include "bindings/modules/v8/V8PannerNode.h" | 44 #include "bindings/modules/v8/V8PannerNode.h" |
44 #include "bindings/modules/v8/V8ScriptProcessorNode.h" | 45 #include "bindings/modules/v8/V8ScriptProcessorNode.h" |
45 #include "bindings/modules/v8/V8WaveShaperNode.h" | 46 #include "bindings/modules/v8/V8WaveShaperNode.h" |
46 #include "bindings/v8/V8Binding.h" | |
47 #include "modules/webaudio/AnalyserNode.h" | 47 #include "modules/webaudio/AnalyserNode.h" |
48 #include "modules/webaudio/AudioBufferSourceNode.h" | 48 #include "modules/webaudio/AudioBufferSourceNode.h" |
49 #include "modules/webaudio/AudioDestinationNode.h" | 49 #include "modules/webaudio/AudioDestinationNode.h" |
50 #include "modules/webaudio/AudioNode.h" | 50 #include "modules/webaudio/AudioNode.h" |
51 #include "modules/webaudio/BiquadFilterNode.h" | 51 #include "modules/webaudio/BiquadFilterNode.h" |
52 #include "modules/webaudio/ChannelMergerNode.h" | 52 #include "modules/webaudio/ChannelMergerNode.h" |
53 #include "modules/webaudio/ChannelSplitterNode.h" | 53 #include "modules/webaudio/ChannelSplitterNode.h" |
54 #include "modules/webaudio/ConvolverNode.h" | 54 #include "modules/webaudio/ConvolverNode.h" |
55 #include "modules/webaudio/DelayNode.h" | 55 #include "modules/webaudio/DelayNode.h" |
56 #include "modules/webaudio/DynamicsCompressorNode.h" | 56 #include "modules/webaudio/DynamicsCompressorNode.h" |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
107 ASSERT_NOT_REACHED(); | 107 ASSERT_NOT_REACHED(); |
108 break; | 108 break; |
109 } | 109 } |
110 | 110 |
111 return V8AudioNode::createWrapper(impl, creationContext, isolate); | 111 return V8AudioNode::createWrapper(impl, creationContext, isolate); |
112 } | 112 } |
113 | 113 |
114 } // namespace WebCore | 114 } // namespace WebCore |
115 | 115 |
116 #endif // ENABLE(WEB_AUDIO) | 116 #endif // ENABLE(WEB_AUDIO) |
OLD | NEW |