OLD | NEW |
1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 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 | 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. | 3 // BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 // WARNING: Do not edit - generated code. | 5 // WARNING: Do not edit - generated code. |
6 | 6 |
7 interface AudioContext default _AudioContextFactoryProvider { | 7 interface AudioContext default _AudioContextFactoryProvider { |
8 | 8 |
9 AudioContext(); | 9 AudioContext(); |
10 | 10 |
11 num get currentTime(); | 11 final num currentTime; |
12 | 12 |
13 AudioDestinationNode get destination(); | 13 final AudioDestinationNode destination; |
14 | 14 |
15 AudioListener get listener(); | 15 final AudioListener listener; |
16 | 16 |
17 EventListener get oncomplete(); | 17 EventListener oncomplete; |
18 | 18 |
19 void set oncomplete(EventListener value); | 19 final num sampleRate; |
20 | |
21 num get sampleRate(); | |
22 | 20 |
23 RealtimeAnalyserNode createAnalyser(); | 21 RealtimeAnalyserNode createAnalyser(); |
24 | 22 |
25 BiquadFilterNode createBiquadFilter(); | 23 BiquadFilterNode createBiquadFilter(); |
26 | 24 |
27 AudioBuffer createBuffer(var buffer_OR_numberOfChannels, var mixToMono_OR_numb
erOfFrames, [num sampleRate]); | 25 AudioBuffer createBuffer(var buffer_OR_numberOfChannels, var mixToMono_OR_numb
erOfFrames, [num sampleRate]); |
28 | 26 |
29 AudioBufferSourceNode createBufferSource(); | 27 AudioBufferSourceNode createBufferSource(); |
30 | 28 |
31 AudioChannelMerger createChannelMerger(); | 29 AudioChannelMerger createChannelMerger(); |
(...skipping 17 matching lines...) Expand all Loading... |
49 MediaElementAudioSourceNode createMediaElementSource(HTMLMediaElement mediaEle
ment); | 47 MediaElementAudioSourceNode createMediaElementSource(HTMLMediaElement mediaEle
ment); |
50 | 48 |
51 AudioPannerNode createPanner(); | 49 AudioPannerNode createPanner(); |
52 | 50 |
53 WaveShaperNode createWaveShaper(); | 51 WaveShaperNode createWaveShaper(); |
54 | 52 |
55 void decodeAudioData(ArrayBuffer audioData, AudioBufferCallback successCallbac
k, [AudioBufferCallback errorCallback]); | 53 void decodeAudioData(ArrayBuffer audioData, AudioBufferCallback successCallbac
k, [AudioBufferCallback errorCallback]); |
56 | 54 |
57 void startRendering(); | 55 void startRendering(); |
58 } | 56 } |
OLD | NEW |