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