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 AudioContext() native; | |
4 | |
5 | 3 |
6 final num currentTime; | 4 final num currentTime; |
7 | 5 |
8 final _AudioDestinationNodeJs destination; | 6 final _AudioDestinationNodeJs destination; |
9 | 7 |
10 final _AudioListenerJs listener; | 8 final _AudioListenerJs listener; |
11 | 9 |
12 EventListener oncomplete; | 10 EventListener oncomplete; |
13 | 11 |
14 final num sampleRate; | 12 final num sampleRate; |
(...skipping 27 matching lines...) Expand all Loading... |
42 _MediaElementAudioSourceNodeJs createMediaElementSource(_HTMLMediaElementJs me
diaElement) native; | 40 _MediaElementAudioSourceNodeJs createMediaElementSource(_HTMLMediaElementJs me
diaElement) native; |
43 | 41 |
44 _AudioPannerNodeJs createPanner() native; | 42 _AudioPannerNodeJs createPanner() native; |
45 | 43 |
46 _WaveShaperNodeJs createWaveShaper() native; | 44 _WaveShaperNodeJs createWaveShaper() native; |
47 | 45 |
48 void decodeAudioData(_ArrayBufferJs audioData, AudioBufferCallback successCall
back, [AudioBufferCallback errorCallback = null]) native; | 46 void decodeAudioData(_ArrayBufferJs audioData, AudioBufferCallback successCall
back, [AudioBufferCallback errorCallback = null]) native; |
49 | 47 |
50 void startRendering() native; | 48 void startRendering() native; |
51 } | 49 } |
OLD | NEW |