OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2010, Google Inc. All rights reserved. | 2 * Copyright (C) 2010, Google Inc. All rights reserved. |
3 * Copyright (C) 2011 Apple Inc. All rights reserved. | 3 * Copyright (C) 2011 Apple Inc. All rights reserved. |
4 * | 4 * |
5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
7 * are met: | 7 * are met: |
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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
63 GainNode createGain(); | 63 GainNode createGain(); |
64 [RaisesException] DelayNode createDelay(optional double maxDelayTime); | 64 [RaisesException] DelayNode createDelay(optional double maxDelayTime); |
65 BiquadFilterNode createBiquadFilter(); | 65 BiquadFilterNode createBiquadFilter(); |
66 WaveShaperNode createWaveShaper(); | 66 WaveShaperNode createWaveShaper(); |
67 PannerNode createPanner(); | 67 PannerNode createPanner(); |
68 ConvolverNode createConvolver(); | 68 ConvolverNode createConvolver(); |
69 DynamicsCompressorNode createDynamicsCompressor(); | 69 DynamicsCompressorNode createDynamicsCompressor(); |
70 AnalyserNode createAnalyser(); | 70 AnalyserNode createAnalyser(); |
71 [RaisesException] ScriptProcessorNode createScriptProcessor(unsigned long bu
fferSize, optional unsigned long numberOfInputChannels, optional unsigned long n
umberOfOutputChannels); | 71 [RaisesException] ScriptProcessorNode createScriptProcessor(unsigned long bu
fferSize, optional unsigned long numberOfInputChannels, optional unsigned long n
umberOfOutputChannels); |
72 OscillatorNode createOscillator(); | 72 OscillatorNode createOscillator(); |
73 [RaisesException] WaveTable createWaveTable(Float32Array real, Float32Array
imag); | 73 [RaisesException] PeriodicWave createPeriodicWave(Float32Array real, Float32
Array imag); |
74 | 74 |
75 // Channel splitting and merging | 75 // Channel splitting and merging |
76 [RaisesException] ChannelSplitterNode createChannelSplitter(optional unsigne
d long numberOfOutputs); | 76 [RaisesException] ChannelSplitterNode createChannelSplitter(optional unsigne
d long numberOfOutputs); |
77 [RaisesException] ChannelMergerNode createChannelMerger(optional unsigned lo
ng numberOfInputs); | 77 [RaisesException] ChannelMergerNode createChannelMerger(optional unsigned lo
ng numberOfInputs); |
78 | 78 |
79 // Offline rendering | 79 // Offline rendering |
80 // void prepareOfflineBufferRendering(unsigned long numberOfChannels, unsign
ed long numberOfFrames, float sampleRate); | 80 // void prepareOfflineBufferRendering(unsigned long numberOfChannels, unsign
ed long numberOfFrames, float sampleRate); |
81 attribute EventListener oncomplete; | 81 attribute EventListener oncomplete; |
82 void startRendering(); | 82 void startRendering(); |
83 | 83 |
84 [MeasureAs=LegacyWebAudio, ImplementedAs=createGain] GainNode createGainNode
(); | 84 [MeasureAs=LegacyWebAudio, ImplementedAs=createGain] GainNode createGainNode
(); |
85 [MeasureAs=LegacyWebAudio, ImplementedAs=createDelay, RaisesException] Delay
Node createDelayNode(optional double maxDelayTime); | 85 [MeasureAs=LegacyWebAudio, ImplementedAs=createDelay, RaisesException] Delay
Node createDelayNode(optional double maxDelayTime); |
86 | 86 |
87 [MeasureAs=LegacyWebAudio, ImplementedAs=createScriptProcessor, RaisesExcept
ion] ScriptProcessorNode createJavaScriptNode(unsigned long bufferSize, optional
unsigned long numberOfInputChannels, optional unsigned long numberOfOutputChann
els); | 87 [MeasureAs=LegacyWebAudio, ImplementedAs=createScriptProcessor, RaisesExcept
ion] ScriptProcessorNode createJavaScriptNode(unsigned long bufferSize, optional
unsigned long numberOfInputChannels, optional unsigned long numberOfOutputChann
els); |
88 | 88 |
89 }; | 89 }; |
OLD | NEW |