OLD | NEW |
1 | 1 |
2 class _AudioContextJs extends _DOMTypeJs implements AudioContext native "*AudioC
ontext" { | 2 class _AudioContextJs extends _DOMTypeJs implements AudioContext native "*AudioC
ontext" { |
3 | 3 |
4 final num currentTime; | 4 final num currentTime; |
5 | 5 |
6 final _AudioDestinationNodeJs destination; | 6 final _AudioDestinationNodeJs destination; |
7 | 7 |
8 final _AudioListenerJs listener; | 8 final _AudioListenerJs listener; |
9 | 9 |
10 EventListener oncomplete; | 10 EventListener oncomplete; |
11 | 11 |
12 final num sampleRate; | 12 final num sampleRate; |
13 | 13 |
14 _RealtimeAnalyserNodeJs createAnalyser() native; | 14 _RealtimeAnalyserNodeJs createAnalyser() native; |
15 | 15 |
16 _BiquadFilterNodeJs createBiquadFilter() native; | 16 _BiquadFilterNodeJs createBiquadFilter() native; |
17 | 17 |
18 _AudioBufferJs createBuffer(var buffer_OR_numberOfChannels, var mixToMono_OR_n
umberOfFrames, [num sampleRate = null]) native; | 18 _AudioBufferJs createBuffer(var buffer_OR_numberOfChannels, var mixToMono_OR_n
umberOfFrames, [num sampleRate = null]) native; |
19 | 19 |
20 _AudioBufferSourceNodeJs createBufferSource() native; | 20 _AudioBufferSourceNodeJs createBufferSource() native; |
21 | 21 |
22 _AudioChannelMergerJs createChannelMerger() native; | 22 _AudioChannelMergerJs createChannelMerger() native; |
23 | 23 |
24 _AudioChannelSplitterJs createChannelSplitter() native; | 24 _AudioChannelSplitterJs createChannelSplitter() native; |
25 | 25 |
26 _ConvolverNodeJs createConvolver() native; | 26 _ConvolverNodeJs createConvolver() native; |
27 | 27 |
28 _DelayNodeJs createDelayNode() native; | 28 _DelayNodeJs createDelayNode([num maxDelayTime = null]) native; |
29 | 29 |
30 _DynamicsCompressorNodeJs createDynamicsCompressor() native; | 30 _DynamicsCompressorNodeJs createDynamicsCompressor() native; |
31 | 31 |
32 _AudioGainNodeJs createGainNode() native; | 32 _AudioGainNodeJs createGainNode() native; |
33 | 33 |
34 _HighPass2FilterNodeJs createHighPass2Filter() native; | 34 _HighPass2FilterNodeJs createHighPass2Filter() native; |
35 | 35 |
36 _JavaScriptAudioNodeJs createJavaScriptNode(int bufferSize) native; | 36 _JavaScriptAudioNodeJs createJavaScriptNode(int bufferSize) native; |
37 | 37 |
38 _LowPass2FilterNodeJs createLowPass2Filter() native; | 38 _LowPass2FilterNodeJs createLowPass2Filter() native; |
39 | 39 |
40 _MediaElementAudioSourceNodeJs createMediaElementSource(_HTMLMediaElementJs me
diaElement) native; | 40 _MediaElementAudioSourceNodeJs createMediaElementSource(_HTMLMediaElementJs me
diaElement) native; |
41 | 41 |
42 _AudioPannerNodeJs createPanner() native; | 42 _AudioPannerNodeJs createPanner() native; |
43 | 43 |
44 _WaveShaperNodeJs createWaveShaper() native; | 44 _WaveShaperNodeJs createWaveShaper() native; |
45 | 45 |
46 void decodeAudioData(_ArrayBufferJs audioData, AudioBufferCallback successCall
back, [AudioBufferCallback errorCallback = null]) native; | 46 void decodeAudioData(_ArrayBufferJs audioData, AudioBufferCallback successCall
back, [AudioBufferCallback errorCallback = null]) native; |
47 | 47 |
48 void startRendering() native; | 48 void startRendering() native; |
49 } | 49 } |
OLD | NEW |