OLD | NEW |
| (Empty) |
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
2 // for details. All rights reserved. Use of this source code is governed by a | |
3 // BSD-style license that can be found in the LICENSE file. | |
4 | |
5 // WARNING: Do not edit - generated code. | |
6 | |
7 interface AudioContext default _AudioContextFactoryProvider { | |
8 | |
9 AudioContext(); | |
10 | |
11 final num currentTime; | |
12 | |
13 final AudioDestinationNode destination; | |
14 | |
15 final AudioListener listener; | |
16 | |
17 EventListener oncomplete; | |
18 | |
19 final num sampleRate; | |
20 | |
21 RealtimeAnalyserNode createAnalyser(); | |
22 | |
23 BiquadFilterNode createBiquadFilter(); | |
24 | |
25 AudioBuffer createBuffer(var buffer_OR_numberOfChannels, var mixToMono_OR_numb
erOfFrames, [num sampleRate]); | |
26 | |
27 AudioBufferSourceNode createBufferSource(); | |
28 | |
29 AudioChannelMerger createChannelMerger(); | |
30 | |
31 AudioChannelSplitter createChannelSplitter(); | |
32 | |
33 ConvolverNode createConvolver(); | |
34 | |
35 DelayNode createDelayNode([num maxDelayTime]); | |
36 | |
37 DynamicsCompressorNode createDynamicsCompressor(); | |
38 | |
39 AudioGainNode createGainNode(); | |
40 | |
41 HighPass2FilterNode createHighPass2Filter(); | |
42 | |
43 JavaScriptAudioNode createJavaScriptNode(int bufferSize); | |
44 | |
45 LowPass2FilterNode createLowPass2Filter(); | |
46 | |
47 MediaElementAudioSourceNode createMediaElementSource(HTMLMediaElement mediaEle
ment); | |
48 | |
49 AudioPannerNode createPanner(); | |
50 | |
51 WaveShaperNode createWaveShaper(); | |
52 | |
53 void decodeAudioData(ArrayBuffer audioData, AudioBufferCallback successCallbac
k, [AudioBufferCallback errorCallback]); | |
54 | |
55 void startRendering(); | |
56 } | |
OLD | NEW |