OLD | NEW |
(Empty) | |
| 1 |
| 2 class _AudioContextImpl implements AudioContext native "*AudioContext" { |
| 3 |
| 4 final num currentTime; |
| 5 |
| 6 final _AudioDestinationNodeImpl destination; |
| 7 |
| 8 final _AudioListenerImpl listener; |
| 9 |
| 10 EventListener oncomplete; |
| 11 |
| 12 final num sampleRate; |
| 13 |
| 14 _RealtimeAnalyserNodeImpl createAnalyser() native; |
| 15 |
| 16 _BiquadFilterNodeImpl createBiquadFilter() native; |
| 17 |
| 18 _AudioBufferImpl createBuffer(var buffer_OR_numberOfChannels, var mixToMono_OR
_numberOfFrames, [num sampleRate = null]) native; |
| 19 |
| 20 _AudioBufferSourceNodeImpl createBufferSource() native; |
| 21 |
| 22 _AudioChannelMergerImpl createChannelMerger() native; |
| 23 |
| 24 _AudioChannelSplitterImpl createChannelSplitter() native; |
| 25 |
| 26 _ConvolverNodeImpl createConvolver() native; |
| 27 |
| 28 _DelayNodeImpl createDelayNode() native; |
| 29 |
| 30 _DynamicsCompressorNodeImpl createDynamicsCompressor() native; |
| 31 |
| 32 _AudioGainNodeImpl createGainNode() native; |
| 33 |
| 34 _HighPass2FilterNodeImpl createHighPass2Filter() native; |
| 35 |
| 36 _JavaScriptAudioNodeImpl createJavaScriptNode(int bufferSize) native; |
| 37 |
| 38 _LowPass2FilterNodeImpl createLowPass2Filter() native; |
| 39 |
| 40 _MediaElementAudioSourceNodeImpl createMediaElementSource(_MediaElementImpl me
diaElement) native; |
| 41 |
| 42 _AudioPannerNodeImpl createPanner() native; |
| 43 |
| 44 _WaveShaperNodeImpl createWaveShaper() native; |
| 45 |
| 46 void decodeAudioData(_ArrayBufferImpl audioData, AudioBufferCallback successCa
llback, [AudioBufferCallback errorCallback = null]) native; |
| 47 |
| 48 void startRendering() native; |
| 49 } |
OLD | NEW |