OLD | NEW |
1 | 1 |
2 class AudioContextJs extends DOMTypeJs implements AudioContext native "*AudioCon
text" { | 2 class _AudioContextJs extends _DOMTypeJs implements AudioContext native "*AudioC
ontext" { |
3 AudioContext() native; | 3 AudioContext() native; |
4 | 4 |
5 | 5 |
6 num get currentTime() native "return this.currentTime;"; | 6 num get currentTime() native "return this.currentTime;"; |
7 | 7 |
8 AudioDestinationNodeJs get destination() native "return this.destination;"; | 8 _AudioDestinationNodeJs get destination() native "return this.destination;"; |
9 | 9 |
10 AudioListenerJs get listener() native "return this.listener;"; | 10 _AudioListenerJs get listener() native "return this.listener;"; |
11 | 11 |
12 EventListener get oncomplete() native "return this.oncomplete;"; | 12 EventListener get oncomplete() native "return this.oncomplete;"; |
13 | 13 |
14 void set oncomplete(EventListener value) native "this.oncomplete = value;"; | 14 void set oncomplete(EventListener value) native "this.oncomplete = value;"; |
15 | 15 |
16 num get sampleRate() native "return this.sampleRate;"; | 16 num get sampleRate() native "return this.sampleRate;"; |
17 | 17 |
18 RealtimeAnalyserNodeJs createAnalyser() native; | 18 _RealtimeAnalyserNodeJs createAnalyser() native; |
19 | 19 |
20 BiquadFilterNodeJs createBiquadFilter() native; | 20 _BiquadFilterNodeJs createBiquadFilter() native; |
21 | 21 |
22 AudioBufferJs createBuffer(var buffer_OR_numberOfChannels, var mixToMono_OR_nu
mberOfFrames, [num sampleRate = null]) native; | 22 _AudioBufferJs createBuffer(var buffer_OR_numberOfChannels, var mixToMono_OR_n
umberOfFrames, [num sampleRate = null]) native; |
23 | 23 |
24 AudioBufferSourceNodeJs createBufferSource() native; | 24 _AudioBufferSourceNodeJs createBufferSource() native; |
25 | 25 |
26 AudioChannelMergerJs createChannelMerger() native; | 26 _AudioChannelMergerJs createChannelMerger() native; |
27 | 27 |
28 AudioChannelSplitterJs createChannelSplitter() native; | 28 _AudioChannelSplitterJs createChannelSplitter() native; |
29 | 29 |
30 ConvolverNodeJs createConvolver() native; | 30 _ConvolverNodeJs createConvolver() native; |
31 | 31 |
32 DelayNodeJs createDelayNode() native; | 32 _DelayNodeJs createDelayNode() native; |
33 | 33 |
34 DynamicsCompressorNodeJs createDynamicsCompressor() native; | 34 _DynamicsCompressorNodeJs createDynamicsCompressor() native; |
35 | 35 |
36 AudioGainNodeJs createGainNode() native; | 36 _AudioGainNodeJs createGainNode() native; |
37 | 37 |
38 HighPass2FilterNodeJs createHighPass2Filter() native; | 38 _HighPass2FilterNodeJs createHighPass2Filter() native; |
39 | 39 |
40 JavaScriptAudioNodeJs createJavaScriptNode(int bufferSize) native; | 40 _JavaScriptAudioNodeJs createJavaScriptNode(int bufferSize) native; |
41 | 41 |
42 LowPass2FilterNodeJs createLowPass2Filter() native; | 42 _LowPass2FilterNodeJs createLowPass2Filter() native; |
43 | 43 |
44 MediaElementAudioSourceNodeJs createMediaElementSource(HTMLMediaElementJs medi
aElement) native; | 44 _MediaElementAudioSourceNodeJs createMediaElementSource(_HTMLMediaElementJs me
diaElement) native; |
45 | 45 |
46 AudioPannerNodeJs createPanner() native; | 46 _AudioPannerNodeJs createPanner() native; |
47 | 47 |
48 WaveShaperNodeJs createWaveShaper() native; | 48 _WaveShaperNodeJs createWaveShaper() native; |
49 | 49 |
50 void decodeAudioData(ArrayBufferJs audioData, AudioBufferCallback successCallb
ack, [AudioBufferCallback errorCallback = null]) native; | 50 void decodeAudioData(_ArrayBufferJs audioData, AudioBufferCallback successCall
back, [AudioBufferCallback errorCallback = null]) native; |
51 | 51 |
52 void startRendering() native; | 52 void startRendering() native; |
53 } | 53 } |
OLD | NEW |