OLD | NEW |
| (Empty) |
1 // Copyright (c) 2011, 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 { | |
8 | |
9 num get currentTime(); | |
10 | |
11 AudioDestinationNode get destination(); | |
12 | |
13 AudioListener get listener(); | |
14 | |
15 num get sampleRate(); | |
16 | |
17 RealtimeAnalyserNode createAnalyser(); | |
18 | |
19 BiquadFilterNode createBiquadFilter(); | |
20 | |
21 AudioBuffer createBuffer(); | |
22 | |
23 AudioBufferSourceNode createBufferSource(); | |
24 | |
25 AudioChannelMerger createChannelMerger(); | |
26 | |
27 AudioChannelSplitter createChannelSplitter(); | |
28 | |
29 ConvolverNode createConvolver(); | |
30 | |
31 DelayNode createDelayNode(); | |
32 | |
33 DynamicsCompressorNode createDynamicsCompressor(); | |
34 | |
35 AudioGainNode createGainNode(); | |
36 | |
37 HighPass2FilterNode createHighPass2Filter(); | |
38 | |
39 JavaScriptAudioNode createJavaScriptNode(int bufferSize); | |
40 | |
41 LowPass2FilterNode createLowPass2Filter(); | |
42 | |
43 AudioPannerNode createPanner(); | |
44 | |
45 WaveShaperNode createWaveShaper(); | |
46 | |
47 void decodeAudioData(ArrayBuffer audioData, AudioBufferCallback successCallbac
k, [AudioBufferCallback errorCallback]); | |
48 | |
49 void startRendering(); | |
50 } | |
OLD | NEW |