Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1697)

Side by Side Diff: sdk/lib/web_audio/dartium/web_audio_dartium.dart

Issue 11887006: Changed @domName annotation in comment to full fledge @DomName annotation. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Merged and stuff.' Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 library web_audio; 1 library web_audio;
2 2
3 import 'dart:html'; 3 import 'dart:html';
4 import 'dart:nativewrappers'; 4 import 'dart:nativewrappers';
5 // DO NOT EDIT 5 // DO NOT EDIT
6 // Auto-generated dart:audio library. 6 // Auto-generated dart:audio library.
7 7
8 8
9 9
10 10
11 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 11 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
12 // for details. All rights reserved. Use of this source code is governed by a 12 // for details. All rights reserved. Use of this source code is governed by a
13 // BSD-style license that can be found in the LICENSE file. 13 // BSD-style license that can be found in the LICENSE file.
14 14
15 // WARNING: Do not edit - generated code. 15 // WARNING: Do not edit - generated code.
16 16
17 17
18 /// @domName AnalyserNode 18 @DomName("AnalyserNode")
19 class AnalyserNode extends AudioNode { 19 class AnalyserNode extends AudioNode {
20 AnalyserNode.internal() : super.internal(); 20 AnalyserNode.internal() : super.internal();
21 21
22 22 @DomName("AnalyserNode.fftSize")
23 /** @domName AnalyserNode.fftSize */
24 int get fftSize native "AnalyserNode_fftSize_Getter"; 23 int get fftSize native "AnalyserNode_fftSize_Getter";
25 24
26 25 @DomName("AnalyserNode.fftSize")
27 /** @domName AnalyserNode.fftSize */
28 void set fftSize(int value) native "AnalyserNode_fftSize_Setter"; 26 void set fftSize(int value) native "AnalyserNode_fftSize_Setter";
29 27
30 28 @DomName("AnalyserNode.frequencyBinCount")
31 /** @domName AnalyserNode.frequencyBinCount */
32 int get frequencyBinCount native "AnalyserNode_frequencyBinCount_Getter"; 29 int get frequencyBinCount native "AnalyserNode_frequencyBinCount_Getter";
33 30
34 31 @DomName("AnalyserNode.maxDecibels")
35 /** @domName AnalyserNode.maxDecibels */
36 num get maxDecibels native "AnalyserNode_maxDecibels_Getter"; 32 num get maxDecibels native "AnalyserNode_maxDecibels_Getter";
37 33
38 34 @DomName("AnalyserNode.maxDecibels")
39 /** @domName AnalyserNode.maxDecibels */
40 void set maxDecibels(num value) native "AnalyserNode_maxDecibels_Setter"; 35 void set maxDecibels(num value) native "AnalyserNode_maxDecibels_Setter";
41 36
42 37 @DomName("AnalyserNode.minDecibels")
43 /** @domName AnalyserNode.minDecibels */
44 num get minDecibels native "AnalyserNode_minDecibels_Getter"; 38 num get minDecibels native "AnalyserNode_minDecibels_Getter";
45 39
46 40 @DomName("AnalyserNode.minDecibels")
47 /** @domName AnalyserNode.minDecibels */
48 void set minDecibels(num value) native "AnalyserNode_minDecibels_Setter"; 41 void set minDecibels(num value) native "AnalyserNode_minDecibels_Setter";
49 42
50 43 @DomName("AnalyserNode.smoothingTimeConstant")
51 /** @domName AnalyserNode.smoothingTimeConstant */
52 num get smoothingTimeConstant native "AnalyserNode_smoothingTimeConstant_Gette r"; 44 num get smoothingTimeConstant native "AnalyserNode_smoothingTimeConstant_Gette r";
53 45
54 46 @DomName("AnalyserNode.smoothingTimeConstant")
55 /** @domName AnalyserNode.smoothingTimeConstant */
56 void set smoothingTimeConstant(num value) native "AnalyserNode_smoothingTimeCo nstant_Setter"; 47 void set smoothingTimeConstant(num value) native "AnalyserNode_smoothingTimeCo nstant_Setter";
57 48
58 49 @DomName("AnalyserNode.getByteFrequencyData")
59 /** @domName AnalyserNode.getByteFrequencyData */
60 void getByteFrequencyData(Uint8Array array) native "AnalyserNode_getByteFreque ncyData_Callback"; 50 void getByteFrequencyData(Uint8Array array) native "AnalyserNode_getByteFreque ncyData_Callback";
61 51
62 52 @DomName("AnalyserNode.getByteTimeDomainData")
63 /** @domName AnalyserNode.getByteTimeDomainData */
64 void getByteTimeDomainData(Uint8Array array) native "AnalyserNode_getByteTimeD omainData_Callback"; 53 void getByteTimeDomainData(Uint8Array array) native "AnalyserNode_getByteTimeD omainData_Callback";
65 54
66 55 @DomName("AnalyserNode.getFloatFrequencyData")
67 /** @domName AnalyserNode.getFloatFrequencyData */
68 void getFloatFrequencyData(Float32Array array) native "AnalyserNode_getFloatFr equencyData_Callback"; 56 void getFloatFrequencyData(Float32Array array) native "AnalyserNode_getFloatFr equencyData_Callback";
69 57
70 } 58 }
71 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 59 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
72 // for details. All rights reserved. Use of this source code is governed by a 60 // for details. All rights reserved. Use of this source code is governed by a
73 // BSD-style license that can be found in the LICENSE file. 61 // BSD-style license that can be found in the LICENSE file.
74 62
75 // WARNING: Do not edit - generated code. 63 // WARNING: Do not edit - generated code.
76 64
77 65
78 /// @domName AudioBuffer 66 @DomName("AudioBuffer")
79 class AudioBuffer extends NativeFieldWrapperClass1 { 67 class AudioBuffer extends NativeFieldWrapperClass1 {
80 AudioBuffer.internal(); 68 AudioBuffer.internal();
81 69
82 70 @DomName("AudioBuffer.duration")
83 /** @domName AudioBuffer.duration */
84 num get duration native "AudioBuffer_duration_Getter"; 71 num get duration native "AudioBuffer_duration_Getter";
85 72
86 73 @DomName("AudioBuffer.gain")
87 /** @domName AudioBuffer.gain */
88 num get gain native "AudioBuffer_gain_Getter"; 74 num get gain native "AudioBuffer_gain_Getter";
89 75
90 76 @DomName("AudioBuffer.gain")
91 /** @domName AudioBuffer.gain */
92 void set gain(num value) native "AudioBuffer_gain_Setter"; 77 void set gain(num value) native "AudioBuffer_gain_Setter";
93 78
94 79 @DomName("AudioBuffer.length")
95 /** @domName AudioBuffer.length */
96 int get length native "AudioBuffer_length_Getter"; 80 int get length native "AudioBuffer_length_Getter";
97 81
98 82 @DomName("AudioBuffer.numberOfChannels")
99 /** @domName AudioBuffer.numberOfChannels */
100 int get numberOfChannels native "AudioBuffer_numberOfChannels_Getter"; 83 int get numberOfChannels native "AudioBuffer_numberOfChannels_Getter";
101 84
102 85 @DomName("AudioBuffer.sampleRate")
103 /** @domName AudioBuffer.sampleRate */
104 num get sampleRate native "AudioBuffer_sampleRate_Getter"; 86 num get sampleRate native "AudioBuffer_sampleRate_Getter";
105 87
106 88 @DomName("AudioBuffer.getChannelData")
107 /** @domName AudioBuffer.getChannelData */
108 Float32Array getChannelData(int channelIndex) native "AudioBuffer_getChannelDa ta_Callback"; 89 Float32Array getChannelData(int channelIndex) native "AudioBuffer_getChannelDa ta_Callback";
109 90
110 } 91 }
111 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 92 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
112 // for details. All rights reserved. Use of this source code is governed by a 93 // for details. All rights reserved. Use of this source code is governed by a
113 // BSD-style license that can be found in the LICENSE file. 94 // BSD-style license that can be found in the LICENSE file.
114 95
115 // WARNING: Do not edit - generated code. 96 // WARNING: Do not edit - generated code.
116 97
117 98
118 typedef void AudioBufferCallback(AudioBuffer audioBuffer); 99 typedef void AudioBufferCallback(AudioBuffer audioBuffer);
119 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 100 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
120 // for details. All rights reserved. Use of this source code is governed by a 101 // for details. All rights reserved. Use of this source code is governed by a
121 // BSD-style license that can be found in the LICENSE file. 102 // BSD-style license that can be found in the LICENSE file.
122 103
123 // WARNING: Do not edit - generated code. 104 // WARNING: Do not edit - generated code.
124 105
125 106
126 /// @domName AudioBufferSourceNode 107 @DomName("AudioBufferSourceNode")
127 class AudioBufferSourceNode extends AudioSourceNode { 108 class AudioBufferSourceNode extends AudioSourceNode {
128 AudioBufferSourceNode.internal() : super.internal(); 109 AudioBufferSourceNode.internal() : super.internal();
129 110
130 static const int FINISHED_STATE = 3; 111 static const int FINISHED_STATE = 3;
131 112
132 static const int PLAYING_STATE = 2; 113 static const int PLAYING_STATE = 2;
133 114
134 static const int SCHEDULED_STATE = 1; 115 static const int SCHEDULED_STATE = 1;
135 116
136 static const int UNSCHEDULED_STATE = 0; 117 static const int UNSCHEDULED_STATE = 0;
137 118
138 119 @DomName("AudioBufferSourceNode.buffer")
139 /** @domName AudioBufferSourceNode.buffer */
140 AudioBuffer get buffer native "AudioBufferSourceNode_buffer_Getter"; 120 AudioBuffer get buffer native "AudioBufferSourceNode_buffer_Getter";
141 121
142 122 @DomName("AudioBufferSourceNode.buffer")
143 /** @domName AudioBufferSourceNode.buffer */
144 void set buffer(AudioBuffer value) native "AudioBufferSourceNode_buffer_Setter "; 123 void set buffer(AudioBuffer value) native "AudioBufferSourceNode_buffer_Setter ";
145 124
146 125 @DomName("AudioBufferSourceNode.gain")
147 /** @domName AudioBufferSourceNode.gain */
148 AudioGain get gain native "AudioBufferSourceNode_gain_Getter"; 126 AudioGain get gain native "AudioBufferSourceNode_gain_Getter";
149 127
150 128 @DomName("AudioBufferSourceNode.loop")
151 /** @domName AudioBufferSourceNode.loop */
152 bool get loop native "AudioBufferSourceNode_loop_Getter"; 129 bool get loop native "AudioBufferSourceNode_loop_Getter";
153 130
154 131 @DomName("AudioBufferSourceNode.loop")
155 /** @domName AudioBufferSourceNode.loop */
156 void set loop(bool value) native "AudioBufferSourceNode_loop_Setter"; 132 void set loop(bool value) native "AudioBufferSourceNode_loop_Setter";
157 133
158 134 @DomName("AudioBufferSourceNode.loopEnd")
159 /** @domName AudioBufferSourceNode.loopEnd */
160 num get loopEnd native "AudioBufferSourceNode_loopEnd_Getter"; 135 num get loopEnd native "AudioBufferSourceNode_loopEnd_Getter";
161 136
162 137 @DomName("AudioBufferSourceNode.loopEnd")
163 /** @domName AudioBufferSourceNode.loopEnd */
164 void set loopEnd(num value) native "AudioBufferSourceNode_loopEnd_Setter"; 138 void set loopEnd(num value) native "AudioBufferSourceNode_loopEnd_Setter";
165 139
166 140 @DomName("AudioBufferSourceNode.loopStart")
167 /** @domName AudioBufferSourceNode.loopStart */
168 num get loopStart native "AudioBufferSourceNode_loopStart_Getter"; 141 num get loopStart native "AudioBufferSourceNode_loopStart_Getter";
169 142
170 143 @DomName("AudioBufferSourceNode.loopStart")
171 /** @domName AudioBufferSourceNode.loopStart */
172 void set loopStart(num value) native "AudioBufferSourceNode_loopStart_Setter"; 144 void set loopStart(num value) native "AudioBufferSourceNode_loopStart_Setter";
173 145
174 146 @DomName("AudioBufferSourceNode.playbackRate")
175 /** @domName AudioBufferSourceNode.playbackRate */
176 AudioParam get playbackRate native "AudioBufferSourceNode_playbackRate_Getter" ; 147 AudioParam get playbackRate native "AudioBufferSourceNode_playbackRate_Getter" ;
177 148
178 149 @DomName("AudioBufferSourceNode.playbackState")
179 /** @domName AudioBufferSourceNode.playbackState */
180 int get playbackState native "AudioBufferSourceNode_playbackState_Getter"; 150 int get playbackState native "AudioBufferSourceNode_playbackState_Getter";
181 151
182 void start(/*double*/ when, [/*double*/ grainOffset, /*double*/ grainDuration] ) { 152 void start(/*double*/ when, [/*double*/ grainOffset, /*double*/ grainDuration] ) {
183 if ((when is num || when == null) && !?grainOffset && !?grainDuration) { 153 if ((when is num || when == null) && !?grainOffset && !?grainDuration) {
184 _start_1(when); 154 _start_1(when);
185 return; 155 return;
186 } 156 }
187 if ((when is num || when == null) && (grainOffset is num || grainOffset == n ull) && !?grainDuration) { 157 if ((when is num || when == null) && (grainOffset is num || grainOffset == n ull) && !?grainDuration) {
188 _start_2(when, grainOffset); 158 _start_2(when, grainOffset);
189 return; 159 return;
190 } 160 }
191 if ((when is num || when == null) && (grainOffset is num || grainOffset == n ull) && (grainDuration is num || grainDuration == null)) { 161 if ((when is num || when == null) && (grainOffset is num || grainOffset == n ull) && (grainDuration is num || grainDuration == null)) {
192 _start_3(when, grainOffset, grainDuration); 162 _start_3(when, grainOffset, grainDuration);
193 return; 163 return;
194 } 164 }
195 throw new ArgumentError("Incorrect number or type of arguments"); 165 throw new ArgumentError("Incorrect number or type of arguments");
196 } 166 }
197 167
198 168 @DomName("AudioBufferSourceNode.start_1")
199 /** @domName AudioBufferSourceNode.start_1 */
200 void _start_1(when) native "AudioBufferSourceNode_start_1_Callback"; 169 void _start_1(when) native "AudioBufferSourceNode_start_1_Callback";
201 170
202 171 @DomName("AudioBufferSourceNode.start_2")
203 /** @domName AudioBufferSourceNode.start_2 */
204 void _start_2(when, grainOffset) native "AudioBufferSourceNode_start_2_Callbac k"; 172 void _start_2(when, grainOffset) native "AudioBufferSourceNode_start_2_Callbac k";
205 173
206 174 @DomName("AudioBufferSourceNode.start_3")
207 /** @domName AudioBufferSourceNode.start_3 */
208 void _start_3(when, grainOffset, grainDuration) native "AudioBufferSourceNode_ start_3_Callback"; 175 void _start_3(when, grainOffset, grainDuration) native "AudioBufferSourceNode_ start_3_Callback";
209 176
210 177 @DomName("AudioBufferSourceNode.stop")
211 /** @domName AudioBufferSourceNode.stop */
212 void stop(num when) native "AudioBufferSourceNode_stop_Callback"; 178 void stop(num when) native "AudioBufferSourceNode_stop_Callback";
213 179
214 } 180 }
215 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 181 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
216 // for details. All rights reserved. Use of this source code is governed by a 182 // for details. All rights reserved. Use of this source code is governed by a
217 // BSD-style license that can be found in the LICENSE file. 183 // BSD-style license that can be found in the LICENSE file.
218 184
219 185
220 /// @domName AudioContext 186 @DomName("AudioContext")
221 class AudioContext extends EventTarget { 187 class AudioContext extends EventTarget {
222 AudioContext.internal() : super.internal(); 188 AudioContext.internal() : super.internal();
223 189
224 ///@docsEditable true 190 /// @docsEditable true
225 factory AudioContext() => AudioContext._create(); 191 factory AudioContext() => AudioContext._create();
226 static AudioContext _create() native "AudioContext_constructor_Callback"; 192 static AudioContext _create() native "AudioContext_constructor_Callback";
227 193
228 /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, Ev entTarget.dispatchEvent; @docsEditable true 194 /// @docsEditable true
195 @DomName("EventTarget.addEventListener, EventTarget.removeEventListener, Event Target.dispatchEvent")
229 AudioContextEvents get on => 196 AudioContextEvents get on =>
230 new AudioContextEvents(this); 197 new AudioContextEvents(this);
231 198
232 199 @DomName("AudioContext.activeSourceCount")
233 /** @domName AudioContext.activeSourceCount */
234 int get activeSourceCount native "AudioContext_activeSourceCount_Getter"; 200 int get activeSourceCount native "AudioContext_activeSourceCount_Getter";
235 201
236 202 @DomName("AudioContext.currentTime")
237 /** @domName AudioContext.currentTime */
238 num get currentTime native "AudioContext_currentTime_Getter"; 203 num get currentTime native "AudioContext_currentTime_Getter";
239 204
240 205 @DomName("AudioContext.destination")
241 /** @domName AudioContext.destination */
242 AudioDestinationNode get destination native "AudioContext_destination_Getter"; 206 AudioDestinationNode get destination native "AudioContext_destination_Getter";
243 207
244 208 @DomName("AudioContext.listener")
245 /** @domName AudioContext.listener */
246 AudioListener get listener native "AudioContext_listener_Getter"; 209 AudioListener get listener native "AudioContext_listener_Getter";
247 210
248 211 @DomName("AudioContext.sampleRate")
249 /** @domName AudioContext.sampleRate */
250 num get sampleRate native "AudioContext_sampleRate_Getter"; 212 num get sampleRate native "AudioContext_sampleRate_Getter";
251 213
252 214 @DomName("AudioContext.createAnalyser")
253 /** @domName AudioContext.createAnalyser */
254 AnalyserNode createAnalyser() native "AudioContext_createAnalyser_Callback"; 215 AnalyserNode createAnalyser() native "AudioContext_createAnalyser_Callback";
255 216
256 217 @DomName("AudioContext.createBiquadFilter")
257 /** @domName AudioContext.createBiquadFilter */
258 BiquadFilterNode createBiquadFilter() native "AudioContext_createBiquadFilter_ Callback"; 218 BiquadFilterNode createBiquadFilter() native "AudioContext_createBiquadFilter_ Callback";
259 219
260 AudioBuffer createBuffer(buffer_OR_numberOfChannels, mixToMono_OR_numberOfFram es, [/*float*/ sampleRate]) { 220 AudioBuffer createBuffer(buffer_OR_numberOfChannels, mixToMono_OR_numberOfFram es, [/*float*/ sampleRate]) {
261 if ((buffer_OR_numberOfChannels is int || buffer_OR_numberOfChannels == null ) && (mixToMono_OR_numberOfFrames is int || mixToMono_OR_numberOfFrames == null) && (sampleRate is num || sampleRate == null)) { 221 if ((buffer_OR_numberOfChannels is int || buffer_OR_numberOfChannels == null ) && (mixToMono_OR_numberOfFrames is int || mixToMono_OR_numberOfFrames == null) && (sampleRate is num || sampleRate == null)) {
262 return _createBuffer_1(buffer_OR_numberOfChannels, mixToMono_OR_numberOfFr ames, sampleRate); 222 return _createBuffer_1(buffer_OR_numberOfChannels, mixToMono_OR_numberOfFr ames, sampleRate);
263 } 223 }
264 if ((buffer_OR_numberOfChannels is ArrayBuffer || buffer_OR_numberOfChannels == null) && (mixToMono_OR_numberOfFrames is bool || mixToMono_OR_numberOfFrames == null) && !?sampleRate) { 224 if ((buffer_OR_numberOfChannels is ArrayBuffer || buffer_OR_numberOfChannels == null) && (mixToMono_OR_numberOfFrames is bool || mixToMono_OR_numberOfFrames == null) && !?sampleRate) {
265 return _createBuffer_2(buffer_OR_numberOfChannels, mixToMono_OR_numberOfFr ames); 225 return _createBuffer_2(buffer_OR_numberOfChannels, mixToMono_OR_numberOfFr ames);
266 } 226 }
267 throw new ArgumentError("Incorrect number or type of arguments"); 227 throw new ArgumentError("Incorrect number or type of arguments");
268 } 228 }
269 229
270 230 @DomName("AudioContext.createBuffer_1")
271 /** @domName AudioContext.createBuffer_1 */
272 AudioBuffer _createBuffer_1(buffer_OR_numberOfChannels, mixToMono_OR_numberOfF rames, sampleRate) native "AudioContext_createBuffer_1_Callback"; 231 AudioBuffer _createBuffer_1(buffer_OR_numberOfChannels, mixToMono_OR_numberOfF rames, sampleRate) native "AudioContext_createBuffer_1_Callback";
273 232
274 233 @DomName("AudioContext.createBuffer_2")
275 /** @domName AudioContext.createBuffer_2 */
276 AudioBuffer _createBuffer_2(buffer_OR_numberOfChannels, mixToMono_OR_numberOfF rames) native "AudioContext_createBuffer_2_Callback"; 234 AudioBuffer _createBuffer_2(buffer_OR_numberOfChannels, mixToMono_OR_numberOfF rames) native "AudioContext_createBuffer_2_Callback";
277 235
278 236 @DomName("AudioContext.createBufferSource")
279 /** @domName AudioContext.createBufferSource */
280 AudioBufferSourceNode createBufferSource() native "AudioContext_createBufferSo urce_Callback"; 237 AudioBufferSourceNode createBufferSource() native "AudioContext_createBufferSo urce_Callback";
281 238
282 ChannelMergerNode createChannelMerger([/*unsigned long*/ numberOfInputs]) { 239 ChannelMergerNode createChannelMerger([/*unsigned long*/ numberOfInputs]) {
283 if (?numberOfInputs) { 240 if (?numberOfInputs) {
284 return _createChannelMerger_1(numberOfInputs); 241 return _createChannelMerger_1(numberOfInputs);
285 } 242 }
286 return _createChannelMerger_2(); 243 return _createChannelMerger_2();
287 } 244 }
288 245
289 246 @DomName("AudioContext.createChannelMerger_1")
290 /** @domName AudioContext.createChannelMerger_1 */
291 ChannelMergerNode _createChannelMerger_1(numberOfInputs) native "AudioContext_ createChannelMerger_1_Callback"; 247 ChannelMergerNode _createChannelMerger_1(numberOfInputs) native "AudioContext_ createChannelMerger_1_Callback";
292 248
293 249 @DomName("AudioContext.createChannelMerger_2")
294 /** @domName AudioContext.createChannelMerger_2 */
295 ChannelMergerNode _createChannelMerger_2() native "AudioContext_createChannelM erger_2_Callback"; 250 ChannelMergerNode _createChannelMerger_2() native "AudioContext_createChannelM erger_2_Callback";
296 251
297 ChannelSplitterNode createChannelSplitter([/*unsigned long*/ numberOfOutputs]) { 252 ChannelSplitterNode createChannelSplitter([/*unsigned long*/ numberOfOutputs]) {
298 if (?numberOfOutputs) { 253 if (?numberOfOutputs) {
299 return _createChannelSplitter_1(numberOfOutputs); 254 return _createChannelSplitter_1(numberOfOutputs);
300 } 255 }
301 return _createChannelSplitter_2(); 256 return _createChannelSplitter_2();
302 } 257 }
303 258
304 259 @DomName("AudioContext.createChannelSplitter_1")
305 /** @domName AudioContext.createChannelSplitter_1 */
306 ChannelSplitterNode _createChannelSplitter_1(numberOfOutputs) native "AudioCon text_createChannelSplitter_1_Callback"; 260 ChannelSplitterNode _createChannelSplitter_1(numberOfOutputs) native "AudioCon text_createChannelSplitter_1_Callback";
307 261
308 262 @DomName("AudioContext.createChannelSplitter_2")
309 /** @domName AudioContext.createChannelSplitter_2 */
310 ChannelSplitterNode _createChannelSplitter_2() native "AudioContext_createChan nelSplitter_2_Callback"; 263 ChannelSplitterNode _createChannelSplitter_2() native "AudioContext_createChan nelSplitter_2_Callback";
311 264
312 265 @DomName("AudioContext.createConvolver")
313 /** @domName AudioContext.createConvolver */
314 ConvolverNode createConvolver() native "AudioContext_createConvolver_Callback" ; 266 ConvolverNode createConvolver() native "AudioContext_createConvolver_Callback" ;
315 267
316 DelayNode createDelay([/*double*/ maxDelayTime]) { 268 DelayNode createDelay([/*double*/ maxDelayTime]) {
317 if (?maxDelayTime) { 269 if (?maxDelayTime) {
318 return _createDelay_1(maxDelayTime); 270 return _createDelay_1(maxDelayTime);
319 } 271 }
320 return _createDelay_2(); 272 return _createDelay_2();
321 } 273 }
322 274
323 275 @DomName("AudioContext.createDelay_1")
324 /** @domName AudioContext.createDelay_1 */
325 DelayNode _createDelay_1(maxDelayTime) native "AudioContext_createDelay_1_Call back"; 276 DelayNode _createDelay_1(maxDelayTime) native "AudioContext_createDelay_1_Call back";
326 277
327 278 @DomName("AudioContext.createDelay_2")
328 /** @domName AudioContext.createDelay_2 */
329 DelayNode _createDelay_2() native "AudioContext_createDelay_2_Callback"; 279 DelayNode _createDelay_2() native "AudioContext_createDelay_2_Callback";
330 280
331 281 @DomName("AudioContext.createDynamicsCompressor")
332 /** @domName AudioContext.createDynamicsCompressor */
333 DynamicsCompressorNode createDynamicsCompressor() native "AudioContext_createD ynamicsCompressor_Callback"; 282 DynamicsCompressorNode createDynamicsCompressor() native "AudioContext_createD ynamicsCompressor_Callback";
334 283
335 284 @DomName("AudioContext.createGain")
336 /** @domName AudioContext.createGain */
337 GainNode createGain() native "AudioContext_createGain_Callback"; 285 GainNode createGain() native "AudioContext_createGain_Callback";
338 286
339 287 @DomName("AudioContext.createMediaElementSource")
340 /** @domName AudioContext.createMediaElementSource */
341 MediaElementAudioSourceNode createMediaElementSource(MediaElement mediaElement ) native "AudioContext_createMediaElementSource_Callback"; 288 MediaElementAudioSourceNode createMediaElementSource(MediaElement mediaElement ) native "AudioContext_createMediaElementSource_Callback";
342 289
343 290 @DomName("AudioContext.createMediaStreamDestination")
344 /** @domName AudioContext.createMediaStreamDestination */
345 MediaStreamAudioDestinationNode createMediaStreamDestination() native "AudioCo ntext_createMediaStreamDestination_Callback"; 291 MediaStreamAudioDestinationNode createMediaStreamDestination() native "AudioCo ntext_createMediaStreamDestination_Callback";
346 292
347 293 @DomName("AudioContext.createMediaStreamSource")
348 /** @domName AudioContext.createMediaStreamSource */
349 MediaStreamAudioSourceNode createMediaStreamSource(MediaStream mediaStream) na tive "AudioContext_createMediaStreamSource_Callback"; 294 MediaStreamAudioSourceNode createMediaStreamSource(MediaStream mediaStream) na tive "AudioContext_createMediaStreamSource_Callback";
350 295
351 296 @DomName("AudioContext.createOscillator")
352 /** @domName AudioContext.createOscillator */
353 OscillatorNode createOscillator() native "AudioContext_createOscillator_Callba ck"; 297 OscillatorNode createOscillator() native "AudioContext_createOscillator_Callba ck";
354 298
355 299 @DomName("AudioContext.createPanner")
356 /** @domName AudioContext.createPanner */
357 PannerNode createPanner() native "AudioContext_createPanner_Callback"; 300 PannerNode createPanner() native "AudioContext_createPanner_Callback";
358 301
359 ScriptProcessorNode createScriptProcessor(/*unsigned long*/ bufferSize, [/*uns igned long*/ numberOfInputChannels, /*unsigned long*/ numberOfOutputChannels]) { 302 ScriptProcessorNode createScriptProcessor(/*unsigned long*/ bufferSize, [/*uns igned long*/ numberOfInputChannels, /*unsigned long*/ numberOfOutputChannels]) {
360 if (?numberOfOutputChannels) { 303 if (?numberOfOutputChannels) {
361 return _createScriptProcessor_1(bufferSize, numberOfInputChannels, numberO fOutputChannels); 304 return _createScriptProcessor_1(bufferSize, numberOfInputChannels, numberO fOutputChannels);
362 } 305 }
363 if (?numberOfInputChannels) { 306 if (?numberOfInputChannels) {
364 return _createScriptProcessor_2(bufferSize, numberOfInputChannels); 307 return _createScriptProcessor_2(bufferSize, numberOfInputChannels);
365 } 308 }
366 return _createScriptProcessor_3(bufferSize); 309 return _createScriptProcessor_3(bufferSize);
367 } 310 }
368 311
369 312 @DomName("AudioContext.createScriptProcessor_1")
370 /** @domName AudioContext.createScriptProcessor_1 */
371 ScriptProcessorNode _createScriptProcessor_1(bufferSize, numberOfInputChannels , numberOfOutputChannels) native "AudioContext_createScriptProcessor_1_Callback" ; 313 ScriptProcessorNode _createScriptProcessor_1(bufferSize, numberOfInputChannels , numberOfOutputChannels) native "AudioContext_createScriptProcessor_1_Callback" ;
372 314
373 315 @DomName("AudioContext.createScriptProcessor_2")
374 /** @domName AudioContext.createScriptProcessor_2 */
375 ScriptProcessorNode _createScriptProcessor_2(bufferSize, numberOfInputChannels ) native "AudioContext_createScriptProcessor_2_Callback"; 316 ScriptProcessorNode _createScriptProcessor_2(bufferSize, numberOfInputChannels ) native "AudioContext_createScriptProcessor_2_Callback";
376 317
377 318 @DomName("AudioContext.createScriptProcessor_3")
378 /** @domName AudioContext.createScriptProcessor_3 */
379 ScriptProcessorNode _createScriptProcessor_3(bufferSize) native "AudioContext_ createScriptProcessor_3_Callback"; 319 ScriptProcessorNode _createScriptProcessor_3(bufferSize) native "AudioContext_ createScriptProcessor_3_Callback";
380 320
381 321 @DomName("AudioContext.createWaveShaper")
382 /** @domName AudioContext.createWaveShaper */
383 WaveShaperNode createWaveShaper() native "AudioContext_createWaveShaper_Callba ck"; 322 WaveShaperNode createWaveShaper() native "AudioContext_createWaveShaper_Callba ck";
384 323
385 324 @DomName("AudioContext.createWaveTable")
386 /** @domName AudioContext.createWaveTable */
387 WaveTable createWaveTable(Float32Array real, Float32Array imag) native "AudioC ontext_createWaveTable_Callback"; 325 WaveTable createWaveTable(Float32Array real, Float32Array imag) native "AudioC ontext_createWaveTable_Callback";
388 326
389 327 @DomName("AudioContext.decodeAudioData")
390 /** @domName AudioContext.decodeAudioData */
391 void decodeAudioData(ArrayBuffer audioData, AudioBufferCallback successCallbac k, [AudioBufferCallback errorCallback]) native "AudioContext_decodeAudioData_Cal lback"; 328 void decodeAudioData(ArrayBuffer audioData, AudioBufferCallback successCallbac k, [AudioBufferCallback errorCallback]) native "AudioContext_decodeAudioData_Cal lback";
392 329
393 330 @DomName("AudioContext.startRendering")
394 /** @domName AudioContext.startRendering */
395 void startRendering() native "AudioContext_startRendering_Callback"; 331 void startRendering() native "AudioContext_startRendering_Callback";
396 332
397 } 333 }
398 334
399 /// @docsEditable true 335 /// @docsEditable true
400 class AudioContextEvents extends Events { 336 class AudioContextEvents extends Events {
401 /// @docsEditable true 337 /// @docsEditable true
402 AudioContextEvents(EventTarget _ptr) : super(_ptr); 338 AudioContextEvents(EventTarget _ptr) : super(_ptr);
403 339
404 /// @docsEditable true 340 /// @docsEditable true
405 EventListenerList get complete => this['complete']; 341 EventListenerList get complete => this['complete'];
406 } 342 }
407 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 343 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
408 // for details. All rights reserved. Use of this source code is governed by a 344 // for details. All rights reserved. Use of this source code is governed by a
409 // BSD-style license that can be found in the LICENSE file. 345 // BSD-style license that can be found in the LICENSE file.
410 346
411 // WARNING: Do not edit - generated code. 347 // WARNING: Do not edit - generated code.
412 348
413 349
414 /// @domName AudioDestinationNode 350 @DomName("AudioDestinationNode")
415 class AudioDestinationNode extends AudioNode { 351 class AudioDestinationNode extends AudioNode {
416 AudioDestinationNode.internal() : super.internal(); 352 AudioDestinationNode.internal() : super.internal();
417 353
418 354 @DomName("AudioDestinationNode.numberOfChannels")
419 /** @domName AudioDestinationNode.numberOfChannels */
420 int get numberOfChannels native "AudioDestinationNode_numberOfChannels_Getter" ; 355 int get numberOfChannels native "AudioDestinationNode_numberOfChannels_Getter" ;
421 356
422 } 357 }
423 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 358 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
424 // for details. All rights reserved. Use of this source code is governed by a 359 // for details. All rights reserved. Use of this source code is governed by a
425 // BSD-style license that can be found in the LICENSE file. 360 // BSD-style license that can be found in the LICENSE file.
426 361
427 // WARNING: Do not edit - generated code. 362 // WARNING: Do not edit - generated code.
428 363
429 364
430 /// @domName AudioGain 365 @DomName("AudioGain")
431 class AudioGain extends AudioParam { 366 class AudioGain extends AudioParam {
432 AudioGain.internal() : super.internal(); 367 AudioGain.internal() : super.internal();
433 368
434 } 369 }
435 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 370 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
436 // for details. All rights reserved. Use of this source code is governed by a 371 // for details. All rights reserved. Use of this source code is governed by a
437 // BSD-style license that can be found in the LICENSE file. 372 // BSD-style license that can be found in the LICENSE file.
438 373
439 // WARNING: Do not edit - generated code. 374 // WARNING: Do not edit - generated code.
440 375
441 376
442 /// @domName AudioListener 377 @DomName("AudioListener")
443 class AudioListener extends NativeFieldWrapperClass1 { 378 class AudioListener extends NativeFieldWrapperClass1 {
444 AudioListener.internal(); 379 AudioListener.internal();
445 380
446 381 @DomName("AudioListener.dopplerFactor")
447 /** @domName AudioListener.dopplerFactor */
448 num get dopplerFactor native "AudioListener_dopplerFactor_Getter"; 382 num get dopplerFactor native "AudioListener_dopplerFactor_Getter";
449 383
450 384 @DomName("AudioListener.dopplerFactor")
451 /** @domName AudioListener.dopplerFactor */
452 void set dopplerFactor(num value) native "AudioListener_dopplerFactor_Setter"; 385 void set dopplerFactor(num value) native "AudioListener_dopplerFactor_Setter";
453 386
454 387 @DomName("AudioListener.speedOfSound")
455 /** @domName AudioListener.speedOfSound */
456 num get speedOfSound native "AudioListener_speedOfSound_Getter"; 388 num get speedOfSound native "AudioListener_speedOfSound_Getter";
457 389
458 390 @DomName("AudioListener.speedOfSound")
459 /** @domName AudioListener.speedOfSound */
460 void set speedOfSound(num value) native "AudioListener_speedOfSound_Setter"; 391 void set speedOfSound(num value) native "AudioListener_speedOfSound_Setter";
461 392
462 393 @DomName("AudioListener.setOrientation")
463 /** @domName AudioListener.setOrientation */
464 void setOrientation(num x, num y, num z, num xUp, num yUp, num zUp) native "Au dioListener_setOrientation_Callback"; 394 void setOrientation(num x, num y, num z, num xUp, num yUp, num zUp) native "Au dioListener_setOrientation_Callback";
465 395
466 396 @DomName("AudioListener.setPosition")
467 /** @domName AudioListener.setPosition */
468 void setPosition(num x, num y, num z) native "AudioListener_setPosition_Callba ck"; 397 void setPosition(num x, num y, num z) native "AudioListener_setPosition_Callba ck";
469 398
470 399 @DomName("AudioListener.setVelocity")
471 /** @domName AudioListener.setVelocity */
472 void setVelocity(num x, num y, num z) native "AudioListener_setVelocity_Callba ck"; 400 void setVelocity(num x, num y, num z) native "AudioListener_setVelocity_Callba ck";
473 401
474 } 402 }
475 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 403 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
476 // for details. All rights reserved. Use of this source code is governed by a 404 // for details. All rights reserved. Use of this source code is governed by a
477 // BSD-style license that can be found in the LICENSE file. 405 // BSD-style license that can be found in the LICENSE file.
478 406
479 // WARNING: Do not edit - generated code. 407 // WARNING: Do not edit - generated code.
480 408
481 409
482 /// @domName AudioNode 410 @DomName("AudioNode")
483 class AudioNode extends NativeFieldWrapperClass1 { 411 class AudioNode extends NativeFieldWrapperClass1 {
484 AudioNode.internal(); 412 AudioNode.internal();
485 413
486 414 @DomName("AudioNode.context")
487 /** @domName AudioNode.context */
488 AudioContext get context native "AudioNode_context_Getter"; 415 AudioContext get context native "AudioNode_context_Getter";
489 416
490 417 @DomName("AudioNode.numberOfInputs")
491 /** @domName AudioNode.numberOfInputs */
492 int get numberOfInputs native "AudioNode_numberOfInputs_Getter"; 418 int get numberOfInputs native "AudioNode_numberOfInputs_Getter";
493 419
494 420 @DomName("AudioNode.numberOfOutputs")
495 /** @domName AudioNode.numberOfOutputs */
496 int get numberOfOutputs native "AudioNode_numberOfOutputs_Getter"; 421 int get numberOfOutputs native "AudioNode_numberOfOutputs_Getter";
497 422
498 void connect(destination, /*unsigned long*/ output, [/*unsigned long*/ input]) { 423 void connect(destination, /*unsigned long*/ output, [/*unsigned long*/ input]) {
499 if ((destination is AudioNode || destination == null) && (output is int || o utput == null) && (input is int || input == null)) { 424 if ((destination is AudioNode || destination == null) && (output is int || o utput == null) && (input is int || input == null)) {
500 _connect_1(destination, output, input); 425 _connect_1(destination, output, input);
501 return; 426 return;
502 } 427 }
503 if ((destination is AudioParam || destination == null) && (output is int || output == null) && !?input) { 428 if ((destination is AudioParam || destination == null) && (output is int || output == null) && !?input) {
504 _connect_2(destination, output); 429 _connect_2(destination, output);
505 return; 430 return;
506 } 431 }
507 throw new ArgumentError("Incorrect number or type of arguments"); 432 throw new ArgumentError("Incorrect number or type of arguments");
508 } 433 }
509 434
510 435 @DomName("AudioNode.connect_1")
511 /** @domName AudioNode.connect_1 */
512 void _connect_1(destination, output, input) native "AudioNode_connect_1_Callba ck"; 436 void _connect_1(destination, output, input) native "AudioNode_connect_1_Callba ck";
513 437
514 438 @DomName("AudioNode.connect_2")
515 /** @domName AudioNode.connect_2 */
516 void _connect_2(destination, output) native "AudioNode_connect_2_Callback"; 439 void _connect_2(destination, output) native "AudioNode_connect_2_Callback";
517 440
518 441 @DomName("AudioNode.disconnect")
519 /** @domName AudioNode.disconnect */
520 void disconnect(int output) native "AudioNode_disconnect_Callback"; 442 void disconnect(int output) native "AudioNode_disconnect_Callback";
521 443
522 } 444 }
523 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 445 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
524 // for details. All rights reserved. Use of this source code is governed by a 446 // for details. All rights reserved. Use of this source code is governed by a
525 // BSD-style license that can be found in the LICENSE file. 447 // BSD-style license that can be found in the LICENSE file.
526 448
527 // WARNING: Do not edit - generated code. 449 // WARNING: Do not edit - generated code.
528 450
529 451
530 /// @domName AudioParam 452 @DomName("AudioParam")
531 class AudioParam extends NativeFieldWrapperClass1 { 453 class AudioParam extends NativeFieldWrapperClass1 {
532 AudioParam.internal(); 454 AudioParam.internal();
533 455
534 456 @DomName("AudioParam.defaultValue")
535 /** @domName AudioParam.defaultValue */
536 num get defaultValue native "AudioParam_defaultValue_Getter"; 457 num get defaultValue native "AudioParam_defaultValue_Getter";
537 458
538 459 @DomName("AudioParam.maxValue")
539 /** @domName AudioParam.maxValue */
540 num get maxValue native "AudioParam_maxValue_Getter"; 460 num get maxValue native "AudioParam_maxValue_Getter";
541 461
542 462 @DomName("AudioParam.minValue")
543 /** @domName AudioParam.minValue */
544 num get minValue native "AudioParam_minValue_Getter"; 463 num get minValue native "AudioParam_minValue_Getter";
545 464
546 465 @DomName("AudioParam.name")
547 /** @domName AudioParam.name */
548 String get name native "AudioParam_name_Getter"; 466 String get name native "AudioParam_name_Getter";
549 467
550 468 @DomName("AudioParam.units")
551 /** @domName AudioParam.units */
552 int get units native "AudioParam_units_Getter"; 469 int get units native "AudioParam_units_Getter";
553 470
554 471 @DomName("AudioParam.value")
555 /** @domName AudioParam.value */
556 num get value native "AudioParam_value_Getter"; 472 num get value native "AudioParam_value_Getter";
557 473
558 474 @DomName("AudioParam.value")
559 /** @domName AudioParam.value */
560 void set value(num value) native "AudioParam_value_Setter"; 475 void set value(num value) native "AudioParam_value_Setter";
561 476
562 477 @DomName("AudioParam.cancelScheduledValues")
563 /** @domName AudioParam.cancelScheduledValues */
564 void cancelScheduledValues(num startTime) native "AudioParam_cancelScheduledVa lues_Callback"; 478 void cancelScheduledValues(num startTime) native "AudioParam_cancelScheduledVa lues_Callback";
565 479
566 480 @DomName("AudioParam.exponentialRampToValueAtTime")
567 /** @domName AudioParam.exponentialRampToValueAtTime */
568 void exponentialRampToValueAtTime(num value, num time) native "AudioParam_expo nentialRampToValueAtTime_Callback"; 481 void exponentialRampToValueAtTime(num value, num time) native "AudioParam_expo nentialRampToValueAtTime_Callback";
569 482
570 483 @DomName("AudioParam.linearRampToValueAtTime")
571 /** @domName AudioParam.linearRampToValueAtTime */
572 void linearRampToValueAtTime(num value, num time) native "AudioParam_linearRam pToValueAtTime_Callback"; 484 void linearRampToValueAtTime(num value, num time) native "AudioParam_linearRam pToValueAtTime_Callback";
573 485
574 486 @DomName("AudioParam.setTargetAtTime")
575 /** @domName AudioParam.setTargetAtTime */
576 void setTargetAtTime(num target, num time, num timeConstant) native "AudioPara m_setTargetAtTime_Callback"; 487 void setTargetAtTime(num target, num time, num timeConstant) native "AudioPara m_setTargetAtTime_Callback";
577 488
578 489 @DomName("AudioParam.setValueAtTime")
579 /** @domName AudioParam.setValueAtTime */
580 void setValueAtTime(num value, num time) native "AudioParam_setValueAtTime_Cal lback"; 490 void setValueAtTime(num value, num time) native "AudioParam_setValueAtTime_Cal lback";
581 491
582 492 @DomName("AudioParam.setValueCurveAtTime")
583 /** @domName AudioParam.setValueCurveAtTime */
584 void setValueCurveAtTime(Float32Array values, num time, num duration) native " AudioParam_setValueCurveAtTime_Callback"; 493 void setValueCurveAtTime(Float32Array values, num time, num duration) native " AudioParam_setValueCurveAtTime_Callback";
585 494
586 } 495 }
587 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 496 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
588 // for details. All rights reserved. Use of this source code is governed by a 497 // for details. All rights reserved. Use of this source code is governed by a
589 // BSD-style license that can be found in the LICENSE file. 498 // BSD-style license that can be found in the LICENSE file.
590 499
591 // WARNING: Do not edit - generated code. 500 // WARNING: Do not edit - generated code.
592 501
593 502
594 /// @domName AudioProcessingEvent 503 @DomName("AudioProcessingEvent")
595 class AudioProcessingEvent extends Event { 504 class AudioProcessingEvent extends Event {
596 AudioProcessingEvent.internal() : super.internal(); 505 AudioProcessingEvent.internal() : super.internal();
597 506
598 507 @DomName("AudioProcessingEvent.inputBuffer")
599 /** @domName AudioProcessingEvent.inputBuffer */
600 AudioBuffer get inputBuffer native "AudioProcessingEvent_inputBuffer_Getter"; 508 AudioBuffer get inputBuffer native "AudioProcessingEvent_inputBuffer_Getter";
601 509
602 510 @DomName("AudioProcessingEvent.outputBuffer")
603 /** @domName AudioProcessingEvent.outputBuffer */
604 AudioBuffer get outputBuffer native "AudioProcessingEvent_outputBuffer_Getter" ; 511 AudioBuffer get outputBuffer native "AudioProcessingEvent_outputBuffer_Getter" ;
605 512
606 } 513 }
607 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 514 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
608 // for details. All rights reserved. Use of this source code is governed by a 515 // for details. All rights reserved. Use of this source code is governed by a
609 // BSD-style license that can be found in the LICENSE file. 516 // BSD-style license that can be found in the LICENSE file.
610 517
611 // WARNING: Do not edit - generated code. 518 // WARNING: Do not edit - generated code.
612 519
613 520
614 /// @domName AudioSourceNode 521 @DomName("AudioSourceNode")
615 class AudioSourceNode extends AudioNode { 522 class AudioSourceNode extends AudioNode {
616 AudioSourceNode.internal() : super.internal(); 523 AudioSourceNode.internal() : super.internal();
617 524
618 } 525 }
619 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 526 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
620 // for details. All rights reserved. Use of this source code is governed by a 527 // for details. All rights reserved. Use of this source code is governed by a
621 // BSD-style license that can be found in the LICENSE file. 528 // BSD-style license that can be found in the LICENSE file.
622 529
623 // WARNING: Do not edit - generated code. 530 // WARNING: Do not edit - generated code.
624 531
625 532
626 /// @domName BiquadFilterNode 533 @DomName("BiquadFilterNode")
627 class BiquadFilterNode extends AudioNode { 534 class BiquadFilterNode extends AudioNode {
628 BiquadFilterNode.internal() : super.internal(); 535 BiquadFilterNode.internal() : super.internal();
629 536
630 static const int ALLPASS = 7; 537 static const int ALLPASS = 7;
631 538
632 static const int BANDPASS = 2; 539 static const int BANDPASS = 2;
633 540
634 static const int HIGHPASS = 1; 541 static const int HIGHPASS = 1;
635 542
636 static const int HIGHSHELF = 4; 543 static const int HIGHSHELF = 4;
637 544
638 static const int LOWPASS = 0; 545 static const int LOWPASS = 0;
639 546
640 static const int LOWSHELF = 3; 547 static const int LOWSHELF = 3;
641 548
642 static const int NOTCH = 6; 549 static const int NOTCH = 6;
643 550
644 static const int PEAKING = 5; 551 static const int PEAKING = 5;
645 552
646 553 @DomName("BiquadFilterNode.Q")
647 /** @domName BiquadFilterNode.Q */
648 AudioParam get Q native "BiquadFilterNode_Q_Getter"; 554 AudioParam get Q native "BiquadFilterNode_Q_Getter";
649 555
650 556 @DomName("BiquadFilterNode.detune")
651 /** @domName BiquadFilterNode.detune */
652 AudioParam get detune native "BiquadFilterNode_detune_Getter"; 557 AudioParam get detune native "BiquadFilterNode_detune_Getter";
653 558
654 559 @DomName("BiquadFilterNode.frequency")
655 /** @domName BiquadFilterNode.frequency */
656 AudioParam get frequency native "BiquadFilterNode_frequency_Getter"; 560 AudioParam get frequency native "BiquadFilterNode_frequency_Getter";
657 561
658 562 @DomName("BiquadFilterNode.gain")
659 /** @domName BiquadFilterNode.gain */
660 AudioParam get gain native "BiquadFilterNode_gain_Getter"; 563 AudioParam get gain native "BiquadFilterNode_gain_Getter";
661 564
662 565 @DomName("BiquadFilterNode.type")
663 /** @domName BiquadFilterNode.type */
664 int get type native "BiquadFilterNode_type_Getter"; 566 int get type native "BiquadFilterNode_type_Getter";
665 567
666 568 @DomName("BiquadFilterNode.type")
667 /** @domName BiquadFilterNode.type */
668 void set type(int value) native "BiquadFilterNode_type_Setter"; 569 void set type(int value) native "BiquadFilterNode_type_Setter";
669 570
670 571 @DomName("BiquadFilterNode.getFrequencyResponse")
671 /** @domName BiquadFilterNode.getFrequencyResponse */
672 void getFrequencyResponse(Float32Array frequencyHz, Float32Array magResponse, Float32Array phaseResponse) native "BiquadFilterNode_getFrequencyResponse_Callba ck"; 572 void getFrequencyResponse(Float32Array frequencyHz, Float32Array magResponse, Float32Array phaseResponse) native "BiquadFilterNode_getFrequencyResponse_Callba ck";
673 573
674 } 574 }
675 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 575 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
676 // for details. All rights reserved. Use of this source code is governed by a 576 // for details. All rights reserved. Use of this source code is governed by a
677 // BSD-style license that can be found in the LICENSE file. 577 // BSD-style license that can be found in the LICENSE file.
678 578
679 // WARNING: Do not edit - generated code. 579 // WARNING: Do not edit - generated code.
680 580
681 581
682 /// @domName ChannelMergerNode 582 @DomName("ChannelMergerNode")
683 class ChannelMergerNode extends AudioNode { 583 class ChannelMergerNode extends AudioNode {
684 ChannelMergerNode.internal() : super.internal(); 584 ChannelMergerNode.internal() : super.internal();
685 585
686 } 586 }
687 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 587 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
688 // for details. All rights reserved. Use of this source code is governed by a 588 // for details. All rights reserved. Use of this source code is governed by a
689 // BSD-style license that can be found in the LICENSE file. 589 // BSD-style license that can be found in the LICENSE file.
690 590
691 // WARNING: Do not edit - generated code. 591 // WARNING: Do not edit - generated code.
692 592
693 593
694 /// @domName ChannelSplitterNode 594 @DomName("ChannelSplitterNode")
695 class ChannelSplitterNode extends AudioNode { 595 class ChannelSplitterNode extends AudioNode {
696 ChannelSplitterNode.internal() : super.internal(); 596 ChannelSplitterNode.internal() : super.internal();
697 597
698 } 598 }
699 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 599 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
700 // for details. All rights reserved. Use of this source code is governed by a 600 // for details. All rights reserved. Use of this source code is governed by a
701 // BSD-style license that can be found in the LICENSE file. 601 // BSD-style license that can be found in the LICENSE file.
702 602
703 // WARNING: Do not edit - generated code. 603 // WARNING: Do not edit - generated code.
704 604
705 605
706 /// @domName ConvolverNode 606 @DomName("ConvolverNode")
707 class ConvolverNode extends AudioNode { 607 class ConvolverNode extends AudioNode {
708 ConvolverNode.internal() : super.internal(); 608 ConvolverNode.internal() : super.internal();
709 609
710 610 @DomName("ConvolverNode.buffer")
711 /** @domName ConvolverNode.buffer */
712 AudioBuffer get buffer native "ConvolverNode_buffer_Getter"; 611 AudioBuffer get buffer native "ConvolverNode_buffer_Getter";
713 612
714 613 @DomName("ConvolverNode.buffer")
715 /** @domName ConvolverNode.buffer */
716 void set buffer(AudioBuffer value) native "ConvolverNode_buffer_Setter"; 614 void set buffer(AudioBuffer value) native "ConvolverNode_buffer_Setter";
717 615
718 616 @DomName("ConvolverNode.normalize")
719 /** @domName ConvolverNode.normalize */
720 bool get normalize native "ConvolverNode_normalize_Getter"; 617 bool get normalize native "ConvolverNode_normalize_Getter";
721 618
722 619 @DomName("ConvolverNode.normalize")
723 /** @domName ConvolverNode.normalize */
724 void set normalize(bool value) native "ConvolverNode_normalize_Setter"; 620 void set normalize(bool value) native "ConvolverNode_normalize_Setter";
725 621
726 } 622 }
727 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 623 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
728 // for details. All rights reserved. Use of this source code is governed by a 624 // for details. All rights reserved. Use of this source code is governed by a
729 // BSD-style license that can be found in the LICENSE file. 625 // BSD-style license that can be found in the LICENSE file.
730 626
731 // WARNING: Do not edit - generated code. 627 // WARNING: Do not edit - generated code.
732 628
733 629
734 /// @domName DelayNode 630 @DomName("DelayNode")
735 class DelayNode extends AudioNode { 631 class DelayNode extends AudioNode {
736 DelayNode.internal() : super.internal(); 632 DelayNode.internal() : super.internal();
737 633
738 634 @DomName("DelayNode.delayTime")
739 /** @domName DelayNode.delayTime */
740 AudioParam get delayTime native "DelayNode_delayTime_Getter"; 635 AudioParam get delayTime native "DelayNode_delayTime_Getter";
741 636
742 } 637 }
743 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 638 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
744 // for details. All rights reserved. Use of this source code is governed by a 639 // for details. All rights reserved. Use of this source code is governed by a
745 // BSD-style license that can be found in the LICENSE file. 640 // BSD-style license that can be found in the LICENSE file.
746 641
747 // WARNING: Do not edit - generated code. 642 // WARNING: Do not edit - generated code.
748 643
749 644
750 /// @domName DynamicsCompressorNode 645 @DomName("DynamicsCompressorNode")
751 class DynamicsCompressorNode extends AudioNode { 646 class DynamicsCompressorNode extends AudioNode {
752 DynamicsCompressorNode.internal() : super.internal(); 647 DynamicsCompressorNode.internal() : super.internal();
753 648
754 649 @DomName("DynamicsCompressorNode.attack")
755 /** @domName DynamicsCompressorNode.attack */
756 AudioParam get attack native "DynamicsCompressorNode_attack_Getter"; 650 AudioParam get attack native "DynamicsCompressorNode_attack_Getter";
757 651
758 652 @DomName("DynamicsCompressorNode.knee")
759 /** @domName DynamicsCompressorNode.knee */
760 AudioParam get knee native "DynamicsCompressorNode_knee_Getter"; 653 AudioParam get knee native "DynamicsCompressorNode_knee_Getter";
761 654
762 655 @DomName("DynamicsCompressorNode.ratio")
763 /** @domName DynamicsCompressorNode.ratio */
764 AudioParam get ratio native "DynamicsCompressorNode_ratio_Getter"; 656 AudioParam get ratio native "DynamicsCompressorNode_ratio_Getter";
765 657
766 658 @DomName("DynamicsCompressorNode.reduction")
767 /** @domName DynamicsCompressorNode.reduction */
768 AudioParam get reduction native "DynamicsCompressorNode_reduction_Getter"; 659 AudioParam get reduction native "DynamicsCompressorNode_reduction_Getter";
769 660
770 661 @DomName("DynamicsCompressorNode.release")
771 /** @domName DynamicsCompressorNode.release */
772 AudioParam get release native "DynamicsCompressorNode_release_Getter"; 662 AudioParam get release native "DynamicsCompressorNode_release_Getter";
773 663
774 664 @DomName("DynamicsCompressorNode.threshold")
775 /** @domName DynamicsCompressorNode.threshold */
776 AudioParam get threshold native "DynamicsCompressorNode_threshold_Getter"; 665 AudioParam get threshold native "DynamicsCompressorNode_threshold_Getter";
777 666
778 } 667 }
779 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 668 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
780 // for details. All rights reserved. Use of this source code is governed by a 669 // for details. All rights reserved. Use of this source code is governed by a
781 // BSD-style license that can be found in the LICENSE file. 670 // BSD-style license that can be found in the LICENSE file.
782 671
783 // WARNING: Do not edit - generated code. 672 // WARNING: Do not edit - generated code.
784 673
785 674
786 /// @domName GainNode 675 @DomName("GainNode")
787 class GainNode extends AudioNode { 676 class GainNode extends AudioNode {
788 GainNode.internal() : super.internal(); 677 GainNode.internal() : super.internal();
789 678
790 679 @DomName("GainNode.gain")
791 /** @domName GainNode.gain */
792 AudioGain get gain native "GainNode_gain_Getter"; 680 AudioGain get gain native "GainNode_gain_Getter";
793 681
794 } 682 }
795 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 683 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
796 // for details. All rights reserved. Use of this source code is governed by a 684 // for details. All rights reserved. Use of this source code is governed by a
797 // BSD-style license that can be found in the LICENSE file. 685 // BSD-style license that can be found in the LICENSE file.
798 686
799 // WARNING: Do not edit - generated code. 687 // WARNING: Do not edit - generated code.
800 688
801 689
802 /// @domName MediaElementAudioSourceNode 690 @DomName("MediaElementAudioSourceNode")
803 class MediaElementAudioSourceNode extends AudioSourceNode { 691 class MediaElementAudioSourceNode extends AudioSourceNode {
804 MediaElementAudioSourceNode.internal() : super.internal(); 692 MediaElementAudioSourceNode.internal() : super.internal();
805 693
806 694 @DomName("MediaElementAudioSourceNode.mediaElement")
807 /** @domName MediaElementAudioSourceNode.mediaElement */
808 MediaElement get mediaElement native "MediaElementAudioSourceNode_mediaElement _Getter"; 695 MediaElement get mediaElement native "MediaElementAudioSourceNode_mediaElement _Getter";
809 696
810 } 697 }
811 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 698 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
812 // for details. All rights reserved. Use of this source code is governed by a 699 // for details. All rights reserved. Use of this source code is governed by a
813 // BSD-style license that can be found in the LICENSE file. 700 // BSD-style license that can be found in the LICENSE file.
814 701
815 // WARNING: Do not edit - generated code. 702 // WARNING: Do not edit - generated code.
816 703
817 704
818 /// @domName MediaStreamAudioDestinationNode 705 @DomName("MediaStreamAudioDestinationNode")
819 class MediaStreamAudioDestinationNode extends AudioSourceNode { 706 class MediaStreamAudioDestinationNode extends AudioSourceNode {
820 MediaStreamAudioDestinationNode.internal() : super.internal(); 707 MediaStreamAudioDestinationNode.internal() : super.internal();
821 708
822 709 @DomName("MediaStreamAudioDestinationNode.stream")
823 /** @domName MediaStreamAudioDestinationNode.stream */
824 MediaStream get stream native "MediaStreamAudioDestinationNode_stream_Getter"; 710 MediaStream get stream native "MediaStreamAudioDestinationNode_stream_Getter";
825 711
826 } 712 }
827 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 713 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
828 // for details. All rights reserved. Use of this source code is governed by a 714 // for details. All rights reserved. Use of this source code is governed by a
829 // BSD-style license that can be found in the LICENSE file. 715 // BSD-style license that can be found in the LICENSE file.
830 716
831 // WARNING: Do not edit - generated code. 717 // WARNING: Do not edit - generated code.
832 718
833 719
834 /// @domName MediaStreamAudioSourceNode 720 @DomName("MediaStreamAudioSourceNode")
835 class MediaStreamAudioSourceNode extends AudioSourceNode { 721 class MediaStreamAudioSourceNode extends AudioSourceNode {
836 MediaStreamAudioSourceNode.internal() : super.internal(); 722 MediaStreamAudioSourceNode.internal() : super.internal();
837 723
838 724 @DomName("MediaStreamAudioSourceNode.mediaStream")
839 /** @domName MediaStreamAudioSourceNode.mediaStream */
840 MediaStream get mediaStream native "MediaStreamAudioSourceNode_mediaStream_Get ter"; 725 MediaStream get mediaStream native "MediaStreamAudioSourceNode_mediaStream_Get ter";
841 726
842 } 727 }
843 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 728 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
844 // for details. All rights reserved. Use of this source code is governed by a 729 // for details. All rights reserved. Use of this source code is governed by a
845 // BSD-style license that can be found in the LICENSE file. 730 // BSD-style license that can be found in the LICENSE file.
846 731
847 // WARNING: Do not edit - generated code. 732 // WARNING: Do not edit - generated code.
848 733
849 734
850 /// @domName OfflineAudioCompletionEvent 735 @DomName("OfflineAudioCompletionEvent")
851 class OfflineAudioCompletionEvent extends Event { 736 class OfflineAudioCompletionEvent extends Event {
852 OfflineAudioCompletionEvent.internal() : super.internal(); 737 OfflineAudioCompletionEvent.internal() : super.internal();
853 738
854 739 @DomName("OfflineAudioCompletionEvent.renderedBuffer")
855 /** @domName OfflineAudioCompletionEvent.renderedBuffer */
856 AudioBuffer get renderedBuffer native "OfflineAudioCompletionEvent_renderedBuf fer_Getter"; 740 AudioBuffer get renderedBuffer native "OfflineAudioCompletionEvent_renderedBuf fer_Getter";
857 741
858 } 742 }
859 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 743 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
860 // for details. All rights reserved. Use of this source code is governed by a 744 // for details. All rights reserved. Use of this source code is governed by a
861 // BSD-style license that can be found in the LICENSE file. 745 // BSD-style license that can be found in the LICENSE file.
862 746
863 // WARNING: Do not edit - generated code. 747 // WARNING: Do not edit - generated code.
864 748
865 749
866 /// @domName OfflineAudioContext 750 @DomName("OfflineAudioContext")
867 class OfflineAudioContext extends AudioContext implements EventTarget { 751 class OfflineAudioContext extends AudioContext implements EventTarget {
868 OfflineAudioContext.internal() : super.internal(); 752 OfflineAudioContext.internal() : super.internal();
869 753
870 ///@docsEditable true 754 /// @docsEditable true
871 factory OfflineAudioContext(int numberOfChannels, int numberOfFrames, num samp leRate) => OfflineAudioContext._create(numberOfChannels, numberOfFrames, sampleR ate); 755 factory OfflineAudioContext(int numberOfChannels, int numberOfFrames, num samp leRate) => OfflineAudioContext._create(numberOfChannels, numberOfFrames, sampleR ate);
872 static OfflineAudioContext _create(int numberOfChannels, int numberOfFrames, n um sampleRate) native "OfflineAudioContext_constructor_Callback"; 756 static OfflineAudioContext _create(int numberOfChannels, int numberOfFrames, n um sampleRate) native "OfflineAudioContext_constructor_Callback";
873 757
874 } 758 }
875 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 759 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
876 // for details. All rights reserved. Use of this source code is governed by a 760 // for details. All rights reserved. Use of this source code is governed by a
877 // BSD-style license that can be found in the LICENSE file. 761 // BSD-style license that can be found in the LICENSE file.
878 762
879 // WARNING: Do not edit - generated code. 763 // WARNING: Do not edit - generated code.
880 764
881 765
882 /// @domName OscillatorNode 766 @DomName("OscillatorNode")
883 class OscillatorNode extends AudioSourceNode { 767 class OscillatorNode extends AudioSourceNode {
884 OscillatorNode.internal() : super.internal(); 768 OscillatorNode.internal() : super.internal();
885 769
886 static const int CUSTOM = 4; 770 static const int CUSTOM = 4;
887 771
888 static const int FINISHED_STATE = 3; 772 static const int FINISHED_STATE = 3;
889 773
890 static const int PLAYING_STATE = 2; 774 static const int PLAYING_STATE = 2;
891 775
892 static const int SAWTOOTH = 2; 776 static const int SAWTOOTH = 2;
893 777
894 static const int SCHEDULED_STATE = 1; 778 static const int SCHEDULED_STATE = 1;
895 779
896 static const int SINE = 0; 780 static const int SINE = 0;
897 781
898 static const int SQUARE = 1; 782 static const int SQUARE = 1;
899 783
900 static const int TRIANGLE = 3; 784 static const int TRIANGLE = 3;
901 785
902 static const int UNSCHEDULED_STATE = 0; 786 static const int UNSCHEDULED_STATE = 0;
903 787
904 788 @DomName("OscillatorNode.detune")
905 /** @domName OscillatorNode.detune */
906 AudioParam get detune native "OscillatorNode_detune_Getter"; 789 AudioParam get detune native "OscillatorNode_detune_Getter";
907 790
908 791 @DomName("OscillatorNode.frequency")
909 /** @domName OscillatorNode.frequency */
910 AudioParam get frequency native "OscillatorNode_frequency_Getter"; 792 AudioParam get frequency native "OscillatorNode_frequency_Getter";
911 793
912 794 @DomName("OscillatorNode.playbackState")
913 /** @domName OscillatorNode.playbackState */
914 int get playbackState native "OscillatorNode_playbackState_Getter"; 795 int get playbackState native "OscillatorNode_playbackState_Getter";
915 796
916 797 @DomName("OscillatorNode.type")
917 /** @domName OscillatorNode.type */
918 int get type native "OscillatorNode_type_Getter"; 798 int get type native "OscillatorNode_type_Getter";
919 799
920 800 @DomName("OscillatorNode.type")
921 /** @domName OscillatorNode.type */
922 void set type(int value) native "OscillatorNode_type_Setter"; 801 void set type(int value) native "OscillatorNode_type_Setter";
923 802
924 803 @DomName("OscillatorNode.setWaveTable")
925 /** @domName OscillatorNode.setWaveTable */
926 void setWaveTable(WaveTable waveTable) native "OscillatorNode_setWaveTable_Cal lback"; 804 void setWaveTable(WaveTable waveTable) native "OscillatorNode_setWaveTable_Cal lback";
927 805
928 806 @DomName("OscillatorNode.start")
929 /** @domName OscillatorNode.start */
930 void start(num when) native "OscillatorNode_start_Callback"; 807 void start(num when) native "OscillatorNode_start_Callback";
931 808
932 809 @DomName("OscillatorNode.stop")
933 /** @domName OscillatorNode.stop */
934 void stop(num when) native "OscillatorNode_stop_Callback"; 810 void stop(num when) native "OscillatorNode_stop_Callback";
935 811
936 } 812 }
937 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 813 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
938 // for details. All rights reserved. Use of this source code is governed by a 814 // for details. All rights reserved. Use of this source code is governed by a
939 // BSD-style license that can be found in the LICENSE file. 815 // BSD-style license that can be found in the LICENSE file.
940 816
941 // WARNING: Do not edit - generated code. 817 // WARNING: Do not edit - generated code.
942 818
943 819
944 /// @domName PannerNode 820 @DomName("PannerNode")
945 class PannerNode extends AudioNode { 821 class PannerNode extends AudioNode {
946 PannerNode.internal() : super.internal(); 822 PannerNode.internal() : super.internal();
947 823
948 static const int EQUALPOWER = 0; 824 static const int EQUALPOWER = 0;
949 825
950 static const int EXPONENTIAL_DISTANCE = 2; 826 static const int EXPONENTIAL_DISTANCE = 2;
951 827
952 static const int HRTF = 1; 828 static const int HRTF = 1;
953 829
954 static const int INVERSE_DISTANCE = 1; 830 static const int INVERSE_DISTANCE = 1;
955 831
956 static const int LINEAR_DISTANCE = 0; 832 static const int LINEAR_DISTANCE = 0;
957 833
958 static const int SOUNDFIELD = 2; 834 static const int SOUNDFIELD = 2;
959 835
960 836 @DomName("PannerNode.coneInnerAngle")
961 /** @domName PannerNode.coneInnerAngle */
962 num get coneInnerAngle native "PannerNode_coneInnerAngle_Getter"; 837 num get coneInnerAngle native "PannerNode_coneInnerAngle_Getter";
963 838
964 839 @DomName("PannerNode.coneInnerAngle")
965 /** @domName PannerNode.coneInnerAngle */
966 void set coneInnerAngle(num value) native "PannerNode_coneInnerAngle_Setter"; 840 void set coneInnerAngle(num value) native "PannerNode_coneInnerAngle_Setter";
967 841
968 842 @DomName("PannerNode.coneOuterAngle")
969 /** @domName PannerNode.coneOuterAngle */
970 num get coneOuterAngle native "PannerNode_coneOuterAngle_Getter"; 843 num get coneOuterAngle native "PannerNode_coneOuterAngle_Getter";
971 844
972 845 @DomName("PannerNode.coneOuterAngle")
973 /** @domName PannerNode.coneOuterAngle */
974 void set coneOuterAngle(num value) native "PannerNode_coneOuterAngle_Setter"; 846 void set coneOuterAngle(num value) native "PannerNode_coneOuterAngle_Setter";
975 847
976 848 @DomName("PannerNode.coneOuterGain")
977 /** @domName PannerNode.coneOuterGain */
978 num get coneOuterGain native "PannerNode_coneOuterGain_Getter"; 849 num get coneOuterGain native "PannerNode_coneOuterGain_Getter";
979 850
980 851 @DomName("PannerNode.coneOuterGain")
981 /** @domName PannerNode.coneOuterGain */
982 void set coneOuterGain(num value) native "PannerNode_coneOuterGain_Setter"; 852 void set coneOuterGain(num value) native "PannerNode_coneOuterGain_Setter";
983 853
984 854 @DomName("PannerNode.distanceModel")
985 /** @domName PannerNode.distanceModel */
986 int get distanceModel native "PannerNode_distanceModel_Getter"; 855 int get distanceModel native "PannerNode_distanceModel_Getter";
987 856
988 857 @DomName("PannerNode.distanceModel")
989 /** @domName PannerNode.distanceModel */
990 void set distanceModel(int value) native "PannerNode_distanceModel_Setter"; 858 void set distanceModel(int value) native "PannerNode_distanceModel_Setter";
991 859
992 860 @DomName("PannerNode.maxDistance")
993 /** @domName PannerNode.maxDistance */
994 num get maxDistance native "PannerNode_maxDistance_Getter"; 861 num get maxDistance native "PannerNode_maxDistance_Getter";
995 862
996 863 @DomName("PannerNode.maxDistance")
997 /** @domName PannerNode.maxDistance */
998 void set maxDistance(num value) native "PannerNode_maxDistance_Setter"; 864 void set maxDistance(num value) native "PannerNode_maxDistance_Setter";
999 865
1000 866 @DomName("PannerNode.panningModel")
1001 /** @domName PannerNode.panningModel */
1002 int get panningModel native "PannerNode_panningModel_Getter"; 867 int get panningModel native "PannerNode_panningModel_Getter";
1003 868
1004 869 @DomName("PannerNode.panningModel")
1005 /** @domName PannerNode.panningModel */
1006 void set panningModel(int value) native "PannerNode_panningModel_Setter"; 870 void set panningModel(int value) native "PannerNode_panningModel_Setter";
1007 871
1008 872 @DomName("PannerNode.refDistance")
1009 /** @domName PannerNode.refDistance */
1010 num get refDistance native "PannerNode_refDistance_Getter"; 873 num get refDistance native "PannerNode_refDistance_Getter";
1011 874
1012 875 @DomName("PannerNode.refDistance")
1013 /** @domName PannerNode.refDistance */
1014 void set refDistance(num value) native "PannerNode_refDistance_Setter"; 876 void set refDistance(num value) native "PannerNode_refDistance_Setter";
1015 877
1016 878 @DomName("PannerNode.rolloffFactor")
1017 /** @domName PannerNode.rolloffFactor */
1018 num get rolloffFactor native "PannerNode_rolloffFactor_Getter"; 879 num get rolloffFactor native "PannerNode_rolloffFactor_Getter";
1019 880
1020 881 @DomName("PannerNode.rolloffFactor")
1021 /** @domName PannerNode.rolloffFactor */
1022 void set rolloffFactor(num value) native "PannerNode_rolloffFactor_Setter"; 882 void set rolloffFactor(num value) native "PannerNode_rolloffFactor_Setter";
1023 883
1024 884 @DomName("PannerNode.setOrientation")
1025 /** @domName PannerNode.setOrientation */
1026 void setOrientation(num x, num y, num z) native "PannerNode_setOrientation_Cal lback"; 885 void setOrientation(num x, num y, num z) native "PannerNode_setOrientation_Cal lback";
1027 886
1028 887 @DomName("PannerNode.setPosition")
1029 /** @domName PannerNode.setPosition */
1030 void setPosition(num x, num y, num z) native "PannerNode_setPosition_Callback" ; 888 void setPosition(num x, num y, num z) native "PannerNode_setPosition_Callback" ;
1031 889
1032 890 @DomName("PannerNode.setVelocity")
1033 /** @domName PannerNode.setVelocity */
1034 void setVelocity(num x, num y, num z) native "PannerNode_setVelocity_Callback" ; 891 void setVelocity(num x, num y, num z) native "PannerNode_setVelocity_Callback" ;
1035 892
1036 } 893 }
1037 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 894 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1038 // for details. All rights reserved. Use of this source code is governed by a 895 // for details. All rights reserved. Use of this source code is governed by a
1039 // BSD-style license that can be found in the LICENSE file. 896 // BSD-style license that can be found in the LICENSE file.
1040 897
1041 // WARNING: Do not edit - generated code. 898 // WARNING: Do not edit - generated code.
1042 899
1043 900
1044 /// @domName ScriptProcessorNode 901 @DomName("ScriptProcessorNode")
1045 class ScriptProcessorNode extends AudioNode implements EventTarget { 902 class ScriptProcessorNode extends AudioNode implements EventTarget {
1046 ScriptProcessorNode.internal() : super.internal(); 903 ScriptProcessorNode.internal() : super.internal();
1047 904
1048 905 @DomName("ScriptProcessorNode.bufferSize")
1049 /** @domName ScriptProcessorNode.bufferSize */
1050 int get bufferSize native "ScriptProcessorNode_bufferSize_Getter"; 906 int get bufferSize native "ScriptProcessorNode_bufferSize_Getter";
1051 907
1052 } 908 }
1053 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 909 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1054 // for details. All rights reserved. Use of this source code is governed by a 910 // for details. All rights reserved. Use of this source code is governed by a
1055 // BSD-style license that can be found in the LICENSE file. 911 // BSD-style license that can be found in the LICENSE file.
1056 912
1057 // WARNING: Do not edit - generated code. 913 // WARNING: Do not edit - generated code.
1058 914
1059 915
1060 /// @domName WaveShaperNode 916 @DomName("WaveShaperNode")
1061 class WaveShaperNode extends AudioNode { 917 class WaveShaperNode extends AudioNode {
1062 WaveShaperNode.internal() : super.internal(); 918 WaveShaperNode.internal() : super.internal();
1063 919
1064 920 @DomName("WaveShaperNode.curve")
1065 /** @domName WaveShaperNode.curve */
1066 Float32Array get curve native "WaveShaperNode_curve_Getter"; 921 Float32Array get curve native "WaveShaperNode_curve_Getter";
1067 922
1068 923 @DomName("WaveShaperNode.curve")
1069 /** @domName WaveShaperNode.curve */
1070 void set curve(Float32Array value) native "WaveShaperNode_curve_Setter"; 924 void set curve(Float32Array value) native "WaveShaperNode_curve_Setter";
1071 925
1072 } 926 }
1073 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 927 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1074 // for details. All rights reserved. Use of this source code is governed by a 928 // for details. All rights reserved. Use of this source code is governed by a
1075 // BSD-style license that can be found in the LICENSE file. 929 // BSD-style license that can be found in the LICENSE file.
1076 930
1077 // WARNING: Do not edit - generated code. 931 // WARNING: Do not edit - generated code.
1078 932
1079 933
1080 /// @domName WaveTable 934 @DomName("WaveTable")
1081 class WaveTable extends NativeFieldWrapperClass1 { 935 class WaveTable extends NativeFieldWrapperClass1 {
1082 WaveTable.internal(); 936 WaveTable.internal();
1083 937
1084 } 938 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698