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

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

Issue 259773004: Generate dart:blink in the SDK (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Adding dart:blink to SDK Created 6 years, 7 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
« no previous file with comments | « sdk/lib/svg/dartium/svg_dartium.dart ('k') | sdk/lib/web_gl/dartium/web_gl_dartium.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 library dart.dom.web_audio; 1 library dart.dom.web_audio;
2 2
3 import 'dart:async'; 3 import 'dart:async';
4 import 'dart:collection'; 4 import 'dart:collection';
5 import 'dart:_internal' hide deprecated; 5 import 'dart:_internal' hide deprecated;
6 import 'dart:html'; 6 import 'dart:html';
7 import 'dart:html_common'; 7 import 'dart:html_common';
8 import 'dart:nativewrappers'; 8 import 'dart:nativewrappers';
9 import 'dart:typed_data'; 9 import 'dart:typed_data';
10 import 'dart:blink' as blink;
10 // DO NOT EDIT 11 // DO NOT EDIT
11 // Auto-generated dart:audio library. 12 // Auto-generated dart:audio library.
12 13
13 14
14 15
15 16
16 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 17 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
17 // for details. All rights reserved. Use of this source code is governed by a 18 // for details. All rights reserved. Use of this source code is governed by a
18 // BSD-style license that can be found in the LICENSE file. 19 // BSD-style license that can be found in the LICENSE file.
19 20
20 // WARNING: Do not edit - generated code. 21 // WARNING: Do not edit - generated code.
21 22
22 23
23 @DocsEditable() 24 @DocsEditable()
24 @DomName('AnalyserNode') 25 @DomName('AnalyserNode')
25 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Analyse rNode 26 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Analyse rNode
26 @Experimental() 27 @Experimental()
27 class AnalyserNode extends AudioNode { 28 class AnalyserNode extends AudioNode {
28 // To suppress missing implicit constructor warnings. 29 // To suppress missing implicit constructor warnings.
29 factory AnalyserNode._() { throw new UnsupportedError("Not supported"); } 30 factory AnalyserNode._() { throw new UnsupportedError("Not supported"); }
30 31
31 @DomName('AnalyserNode.fftSize') 32 @DomName('AnalyserNode.fftSize')
32 @DocsEditable() 33 @DocsEditable()
33 int get fftSize native "AnalyserNode_fftSize_Getter"; 34 int get fftSize => blink.Native_AnalyserNode_fftSize_Getter(this);
34 35
35 @DomName('AnalyserNode.fftSize') 36 @DomName('AnalyserNode.fftSize')
36 @DocsEditable() 37 @DocsEditable()
37 void set fftSize(int value) native "AnalyserNode_fftSize_Setter"; 38 void set fftSize(int value) => blink.Native_AnalyserNode_fftSize_Setter(this, value);
38 39
39 @DomName('AnalyserNode.frequencyBinCount') 40 @DomName('AnalyserNode.frequencyBinCount')
40 @DocsEditable() 41 @DocsEditable()
41 int get frequencyBinCount native "AnalyserNode_frequencyBinCount_Getter"; 42 int get frequencyBinCount => blink.Native_AnalyserNode_frequencyBinCount_Gette r(this);
42 43
43 @DomName('AnalyserNode.maxDecibels') 44 @DomName('AnalyserNode.maxDecibels')
44 @DocsEditable() 45 @DocsEditable()
45 num get maxDecibels native "AnalyserNode_maxDecibels_Getter"; 46 num get maxDecibels => blink.Native_AnalyserNode_maxDecibels_Getter(this);
46 47
47 @DomName('AnalyserNode.maxDecibels') 48 @DomName('AnalyserNode.maxDecibels')
48 @DocsEditable() 49 @DocsEditable()
49 void set maxDecibels(num value) native "AnalyserNode_maxDecibels_Setter"; 50 void set maxDecibels(num value) => blink.Native_AnalyserNode_maxDecibels_Sette r(this, value);
50 51
51 @DomName('AnalyserNode.minDecibels') 52 @DomName('AnalyserNode.minDecibels')
52 @DocsEditable() 53 @DocsEditable()
53 num get minDecibels native "AnalyserNode_minDecibels_Getter"; 54 num get minDecibels => blink.Native_AnalyserNode_minDecibels_Getter(this);
54 55
55 @DomName('AnalyserNode.minDecibels') 56 @DomName('AnalyserNode.minDecibels')
56 @DocsEditable() 57 @DocsEditable()
57 void set minDecibels(num value) native "AnalyserNode_minDecibels_Setter"; 58 void set minDecibels(num value) => blink.Native_AnalyserNode_minDecibels_Sette r(this, value);
58 59
59 @DomName('AnalyserNode.smoothingTimeConstant') 60 @DomName('AnalyserNode.smoothingTimeConstant')
60 @DocsEditable() 61 @DocsEditable()
61 num get smoothingTimeConstant native "AnalyserNode_smoothingTimeConstant_Gette r"; 62 num get smoothingTimeConstant => blink.Native_AnalyserNode_smoothingTimeConsta nt_Getter(this);
62 63
63 @DomName('AnalyserNode.smoothingTimeConstant') 64 @DomName('AnalyserNode.smoothingTimeConstant')
64 @DocsEditable() 65 @DocsEditable()
65 void set smoothingTimeConstant(num value) native "AnalyserNode_smoothingTimeCo nstant_Setter"; 66 void set smoothingTimeConstant(num value) => blink.Native_AnalyserNode_smoothi ngTimeConstant_Setter(this, value);
66 67
67 @DomName('AnalyserNode.getByteFrequencyData') 68 @DomName('AnalyserNode.getByteFrequencyData')
68 @DocsEditable() 69 @DocsEditable()
69 void getByteFrequencyData(Uint8List array) native "AnalyserNode_getByteFrequen cyData_Callback"; 70 void getByteFrequencyData(Uint8List array) => blink.Native_AnalyserNode_getByt eFrequencyData_Callback(this, array);
70 71
71 @DomName('AnalyserNode.getByteTimeDomainData') 72 @DomName('AnalyserNode.getByteTimeDomainData')
72 @DocsEditable() 73 @DocsEditable()
73 void getByteTimeDomainData(Uint8List array) native "AnalyserNode_getByteTimeDo mainData_Callback"; 74 void getByteTimeDomainData(Uint8List array) => blink.Native_AnalyserNode_getBy teTimeDomainData_Callback(this, array);
74 75
75 @DomName('AnalyserNode.getFloatFrequencyData') 76 @DomName('AnalyserNode.getFloatFrequencyData')
76 @DocsEditable() 77 @DocsEditable()
77 void getFloatFrequencyData(Float32List array) native "AnalyserNode_getFloatFre quencyData_Callback"; 78 void getFloatFrequencyData(Float32List array) => blink.Native_AnalyserNode_get FloatFrequencyData_Callback(this, array);
78 79
79 } 80 }
80 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 81 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
81 // for details. All rights reserved. Use of this source code is governed by a 82 // for details. All rights reserved. Use of this source code is governed by a
82 // BSD-style license that can be found in the LICENSE file. 83 // BSD-style license that can be found in the LICENSE file.
83 84
84 // WARNING: Do not edit - generated code. 85 // WARNING: Do not edit - generated code.
85 86
86 87
87 @DocsEditable() 88 @DocsEditable()
88 @DomName('AudioBuffer') 89 @DomName('AudioBuffer')
89 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioBu ffer-section 90 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioBu ffer-section
90 @Experimental() 91 @Experimental()
91 class AudioBuffer extends NativeFieldWrapperClass2 { 92 class AudioBuffer extends NativeFieldWrapperClass2 {
92 // To suppress missing implicit constructor warnings. 93 // To suppress missing implicit constructor warnings.
93 factory AudioBuffer._() { throw new UnsupportedError("Not supported"); } 94 factory AudioBuffer._() { throw new UnsupportedError("Not supported"); }
94 95
95 @DomName('AudioBuffer.duration') 96 @DomName('AudioBuffer.duration')
96 @DocsEditable() 97 @DocsEditable()
97 double get duration native "AudioBuffer_duration_Getter"; 98 double get duration => blink.Native_AudioBuffer_duration_Getter(this);
98 99
99 @DomName('AudioBuffer.gain') 100 @DomName('AudioBuffer.gain')
100 @DocsEditable() 101 @DocsEditable()
101 num get gain native "AudioBuffer_gain_Getter"; 102 num get gain => blink.Native_AudioBuffer_gain_Getter(this);
102 103
103 @DomName('AudioBuffer.gain') 104 @DomName('AudioBuffer.gain')
104 @DocsEditable() 105 @DocsEditable()
105 void set gain(num value) native "AudioBuffer_gain_Setter"; 106 void set gain(num value) => blink.Native_AudioBuffer_gain_Setter(this, value);
106 107
107 @DomName('AudioBuffer.length') 108 @DomName('AudioBuffer.length')
108 @DocsEditable() 109 @DocsEditable()
109 int get length native "AudioBuffer_length_Getter"; 110 int get length => blink.Native_AudioBuffer_length_Getter(this);
110 111
111 @DomName('AudioBuffer.numberOfChannels') 112 @DomName('AudioBuffer.numberOfChannels')
112 @DocsEditable() 113 @DocsEditable()
113 int get numberOfChannels native "AudioBuffer_numberOfChannels_Getter"; 114 int get numberOfChannels => blink.Native_AudioBuffer_numberOfChannels_Getter(t his);
114 115
115 @DomName('AudioBuffer.sampleRate') 116 @DomName('AudioBuffer.sampleRate')
116 @DocsEditable() 117 @DocsEditable()
117 double get sampleRate native "AudioBuffer_sampleRate_Getter"; 118 double get sampleRate => blink.Native_AudioBuffer_sampleRate_Getter(this);
118 119
119 @DomName('AudioBuffer.getChannelData') 120 @DomName('AudioBuffer.getChannelData')
120 @DocsEditable() 121 @DocsEditable()
121 Float32List getChannelData(int channelIndex) native "AudioBuffer_getChannelDat a_Callback"; 122 Float32List getChannelData(int channelIndex) => blink.Native_AudioBuffer_getCh annelData_Callback(this, channelIndex);
122 123
123 } 124 }
124 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 125 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
125 // for details. All rights reserved. Use of this source code is governed by a 126 // for details. All rights reserved. Use of this source code is governed by a
126 // BSD-style license that can be found in the LICENSE file. 127 // BSD-style license that can be found in the LICENSE file.
127 128
128 // WARNING: Do not edit - generated code. 129 // WARNING: Do not edit - generated code.
129 130
130 131
131 @DomName('AudioBufferCallback') 132 @DomName('AudioBufferCallback')
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
169 @DomName('AudioBufferSourceNode.SCHEDULED_STATE') 170 @DomName('AudioBufferSourceNode.SCHEDULED_STATE')
170 @DocsEditable() 171 @DocsEditable()
171 static const int SCHEDULED_STATE = 1; 172 static const int SCHEDULED_STATE = 1;
172 173
173 @DomName('AudioBufferSourceNode.UNSCHEDULED_STATE') 174 @DomName('AudioBufferSourceNode.UNSCHEDULED_STATE')
174 @DocsEditable() 175 @DocsEditable()
175 static const int UNSCHEDULED_STATE = 0; 176 static const int UNSCHEDULED_STATE = 0;
176 177
177 @DomName('AudioBufferSourceNode.buffer') 178 @DomName('AudioBufferSourceNode.buffer')
178 @DocsEditable() 179 @DocsEditable()
179 AudioBuffer get buffer native "AudioBufferSourceNode_buffer_Getter"; 180 AudioBuffer get buffer => blink.Native_AudioBufferSourceNode_buffer_Getter(thi s);
180 181
181 @DomName('AudioBufferSourceNode.buffer') 182 @DomName('AudioBufferSourceNode.buffer')
182 @DocsEditable() 183 @DocsEditable()
183 void set buffer(AudioBuffer value) native "AudioBufferSourceNode_buffer_Setter "; 184 void set buffer(AudioBuffer value) => blink.Native_AudioBufferSourceNode_buffe r_Setter(this, value);
184 185
185 @DomName('AudioBufferSourceNode.gain') 186 @DomName('AudioBufferSourceNode.gain')
186 @DocsEditable() 187 @DocsEditable()
187 AudioParam get gain native "AudioBufferSourceNode_gain_Getter"; 188 AudioParam get gain => blink.Native_AudioBufferSourceNode_gain_Getter(this);
188 189
189 @DomName('AudioBufferSourceNode.loop') 190 @DomName('AudioBufferSourceNode.loop')
190 @DocsEditable() 191 @DocsEditable()
191 bool get loop native "AudioBufferSourceNode_loop_Getter"; 192 bool get loop => blink.Native_AudioBufferSourceNode_loop_Getter(this);
192 193
193 @DomName('AudioBufferSourceNode.loop') 194 @DomName('AudioBufferSourceNode.loop')
194 @DocsEditable() 195 @DocsEditable()
195 void set loop(bool value) native "AudioBufferSourceNode_loop_Setter"; 196 void set loop(bool value) => blink.Native_AudioBufferSourceNode_loop_Setter(th is, value);
196 197
197 @DomName('AudioBufferSourceNode.loopEnd') 198 @DomName('AudioBufferSourceNode.loopEnd')
198 @DocsEditable() 199 @DocsEditable()
199 num get loopEnd native "AudioBufferSourceNode_loopEnd_Getter"; 200 num get loopEnd => blink.Native_AudioBufferSourceNode_loopEnd_Getter(this);
200 201
201 @DomName('AudioBufferSourceNode.loopEnd') 202 @DomName('AudioBufferSourceNode.loopEnd')
202 @DocsEditable() 203 @DocsEditable()
203 void set loopEnd(num value) native "AudioBufferSourceNode_loopEnd_Setter"; 204 void set loopEnd(num value) => blink.Native_AudioBufferSourceNode_loopEnd_Sett er(this, value);
204 205
205 @DomName('AudioBufferSourceNode.loopStart') 206 @DomName('AudioBufferSourceNode.loopStart')
206 @DocsEditable() 207 @DocsEditable()
207 num get loopStart native "AudioBufferSourceNode_loopStart_Getter"; 208 num get loopStart => blink.Native_AudioBufferSourceNode_loopStart_Getter(this) ;
208 209
209 @DomName('AudioBufferSourceNode.loopStart') 210 @DomName('AudioBufferSourceNode.loopStart')
210 @DocsEditable() 211 @DocsEditable()
211 void set loopStart(num value) native "AudioBufferSourceNode_loopStart_Setter"; 212 void set loopStart(num value) => blink.Native_AudioBufferSourceNode_loopStart_ Setter(this, value);
212 213
213 @DomName('AudioBufferSourceNode.playbackRate') 214 @DomName('AudioBufferSourceNode.playbackRate')
214 @DocsEditable() 215 @DocsEditable()
215 AudioParam get playbackRate native "AudioBufferSourceNode_playbackRate_Getter" ; 216 AudioParam get playbackRate => blink.Native_AudioBufferSourceNode_playbackRate _Getter(this);
216 217
217 @DomName('AudioBufferSourceNode.playbackState') 218 @DomName('AudioBufferSourceNode.playbackState')
218 @DocsEditable() 219 @DocsEditable()
219 int get playbackState native "AudioBufferSourceNode_playbackState_Getter"; 220 int get playbackState => blink.Native_AudioBufferSourceNode_playbackState_Gett er(this);
220 221
221 @DomName('AudioBufferSourceNode.noteGrainOn') 222 @DomName('AudioBufferSourceNode.noteGrainOn')
222 @DocsEditable() 223 @DocsEditable()
223 void noteGrainOn(num when, num grainOffset, num grainDuration) native "AudioBu fferSourceNode_noteGrainOn_Callback"; 224 void noteGrainOn(num when, num grainOffset, num grainDuration) => blink.Native _AudioBufferSourceNode_noteGrainOn_Callback(this, when, grainOffset, grainDurati on);
224 225
225 @DomName('AudioBufferSourceNode.noteOff') 226 @DomName('AudioBufferSourceNode.noteOff')
226 @DocsEditable() 227 @DocsEditable()
227 void noteOff(num when) native "AudioBufferSourceNode_noteOff_Callback"; 228 void noteOff(num when) => blink.Native_AudioBufferSourceNode_noteOff_Callback( this, when);
228 229
229 @DomName('AudioBufferSourceNode.noteOn') 230 @DomName('AudioBufferSourceNode.noteOn')
230 @DocsEditable() 231 @DocsEditable()
231 void noteOn(num when) native "AudioBufferSourceNode_noteOn_Callback"; 232 void noteOn(num when) => blink.Native_AudioBufferSourceNode_noteOn_Callback(th is, when);
232 233
233 void start([num when, num grainOffset, num grainDuration]) { 234 void start([num when, num grainOffset, num grainDuration]) {
234 if (grainDuration != null) { 235 if (grainDuration != null) {
235 _start_1(when, grainOffset, grainDuration); 236 _start_1(when, grainOffset, grainDuration);
236 return; 237 return;
237 } 238 }
238 if (grainOffset != null) { 239 if (grainOffset != null) {
239 _start_2(when, grainOffset); 240 _start_2(when, grainOffset);
240 return; 241 return;
241 } 242 }
242 if (when != null) { 243 if (when != null) {
243 _start_3(when); 244 _start_3(when);
244 return; 245 return;
245 } 246 }
246 _start_4(); 247 _start_4();
247 return; 248 return;
248 } 249 }
249 250
250 void _start_1(when, grainOffset, grainDuration) native "AudioBufferSourceNode_ _start_1_Callback"; 251 void _start_1(when, grainOffset, grainDuration) => blink.Native_AudioBufferSou rceNode__start_1_Callback(this, when, grainOffset, grainDuration);
251 252
252 void _start_2(when, grainOffset) native "AudioBufferSourceNode__start_2_Callba ck"; 253 void _start_2(when, grainOffset) => blink.Native_AudioBufferSourceNode__start_ 2_Callback(this, when, grainOffset);
253 254
254 void _start_3(when) native "AudioBufferSourceNode__start_3_Callback"; 255 void _start_3(when) => blink.Native_AudioBufferSourceNode__start_3_Callback(th is, when);
255 256
256 void _start_4() native "AudioBufferSourceNode__start_4_Callback"; 257 void _start_4() => blink.Native_AudioBufferSourceNode__start_4_Callback(this);
257 258
258 void stop([num when]) { 259 void stop([num when]) {
259 if (when != null) { 260 if (when != null) {
260 _stop_1(when); 261 _stop_1(when);
261 return; 262 return;
262 } 263 }
263 _stop_2(); 264 _stop_2();
264 return; 265 return;
265 } 266 }
266 267
267 void _stop_1(when) native "AudioBufferSourceNode__stop_1_Callback"; 268 void _stop_1(when) => blink.Native_AudioBufferSourceNode__stop_1_Callback(this , when);
268 269
269 void _stop_2() native "AudioBufferSourceNode__stop_2_Callback"; 270 void _stop_2() => blink.Native_AudioBufferSourceNode__stop_2_Callback(this);
270 271
271 /// Stream of `ended` events handled by this [AudioBufferSourceNode]. 272 /// Stream of `ended` events handled by this [AudioBufferSourceNode].
272 @DomName('AudioBufferSourceNode.onended') 273 @DomName('AudioBufferSourceNode.onended')
273 @DocsEditable() 274 @DocsEditable()
274 @Experimental() // untriaged 275 @Experimental() // untriaged
275 Stream<Event> get onEnded => endedEvent.forTarget(this); 276 Stream<Event> get onEnded => endedEvent.forTarget(this);
276 277
277 } 278 }
278 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 279 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
279 // for details. All rights reserved. Use of this source code is governed by a 280 // for details. All rights reserved. Use of this source code is governed by a
(...skipping 17 matching lines...) Expand all
297 @DocsEditable() 298 @DocsEditable()
298 static const EventStreamProvider<Event> completeEvent = const EventStreamProvi der<Event>('complete'); 299 static const EventStreamProvider<Event> completeEvent = const EventStreamProvi der<Event>('complete');
299 300
300 @DomName('AudioContext.AudioContext') 301 @DomName('AudioContext.AudioContext')
301 @DocsEditable() 302 @DocsEditable()
302 factory AudioContext() { 303 factory AudioContext() {
303 return AudioContext._create_1(); 304 return AudioContext._create_1();
304 } 305 }
305 306
306 @DocsEditable() 307 @DocsEditable()
307 static AudioContext _create_1() native "AudioContext__create_1constructorCallb ack"; 308 static AudioContext _create_1() => blink.Native_AudioContext__create_1construc torCallback();
308 309
309 /// Checks if this type is supported on the current platform. 310 /// Checks if this type is supported on the current platform.
310 static bool get supported => true; 311 static bool get supported => true;
311 312
312 @DomName('AudioContext.activeSourceCount') 313 @DomName('AudioContext.activeSourceCount')
313 @DocsEditable() 314 @DocsEditable()
314 int get activeSourceCount native "AudioContext_activeSourceCount_Getter"; 315 int get activeSourceCount => blink.Native_AudioContext_activeSourceCount_Gette r(this);
315 316
316 @DomName('AudioContext.currentTime') 317 @DomName('AudioContext.currentTime')
317 @DocsEditable() 318 @DocsEditable()
318 double get currentTime native "AudioContext_currentTime_Getter"; 319 double get currentTime => blink.Native_AudioContext_currentTime_Getter(this);
319 320
320 @DomName('AudioContext.destination') 321 @DomName('AudioContext.destination')
321 @DocsEditable() 322 @DocsEditable()
322 AudioDestinationNode get destination native "AudioContext_destination_Getter"; 323 AudioDestinationNode get destination => blink.Native_AudioContext_destination_ Getter(this);
323 324
324 @DomName('AudioContext.listener') 325 @DomName('AudioContext.listener')
325 @DocsEditable() 326 @DocsEditable()
326 AudioListener get listener native "AudioContext_listener_Getter"; 327 AudioListener get listener => blink.Native_AudioContext_listener_Getter(this);
327 328
328 @DomName('AudioContext.sampleRate') 329 @DomName('AudioContext.sampleRate')
329 @DocsEditable() 330 @DocsEditable()
330 double get sampleRate native "AudioContext_sampleRate_Getter"; 331 double get sampleRate => blink.Native_AudioContext_sampleRate_Getter(this);
331 332
332 @DomName('AudioContext.createAnalyser') 333 @DomName('AudioContext.createAnalyser')
333 @DocsEditable() 334 @DocsEditable()
334 AnalyserNode createAnalyser() native "AudioContext_createAnalyser_Callback"; 335 AnalyserNode createAnalyser() => blink.Native_AudioContext_createAnalyser_Call back(this);
335 336
336 @DomName('AudioContext.createBiquadFilter') 337 @DomName('AudioContext.createBiquadFilter')
337 @DocsEditable() 338 @DocsEditable()
338 BiquadFilterNode createBiquadFilter() native "AudioContext_createBiquadFilter_ Callback"; 339 BiquadFilterNode createBiquadFilter() => blink.Native_AudioContext_createBiqua dFilter_Callback(this);
339 340
340 @DomName('AudioContext.createBuffer') 341 @DomName('AudioContext.createBuffer')
341 @DocsEditable() 342 @DocsEditable()
342 AudioBuffer createBuffer(int numberOfChannels, int numberOfFrames, num sampleR ate) native "AudioContext_createBuffer_Callback"; 343 AudioBuffer createBuffer(int numberOfChannels, int numberOfFrames, num sampleR ate) => blink.Native_AudioContext_createBuffer_Callback(this, numberOfChannels, numberOfFrames, sampleRate);
343 344
344 @DomName('AudioContext.createBufferFromBuffer') 345 @DomName('AudioContext.createBufferFromBuffer')
345 @DocsEditable() 346 @DocsEditable()
346 AudioBuffer createBufferFromBuffer(ByteBuffer buffer, bool mixToMono) native " AudioContext_createBufferFromBuffer_Callback"; 347 AudioBuffer createBufferFromBuffer(ByteBuffer buffer, bool mixToMono) => blink .Native_AudioContext_createBufferFromBuffer_Callback(this, buffer, mixToMono);
347 348
348 @DomName('AudioContext.createBufferSource') 349 @DomName('AudioContext.createBufferSource')
349 @DocsEditable() 350 @DocsEditable()
350 AudioBufferSourceNode createBufferSource() native "AudioContext_createBufferSo urce_Callback"; 351 AudioBufferSourceNode createBufferSource() => blink.Native_AudioContext_create BufferSource_Callback(this);
351 352
352 ChannelMergerNode createChannelMerger([int numberOfInputs]) { 353 ChannelMergerNode createChannelMerger([int numberOfInputs]) {
353 if (numberOfInputs != null) { 354 if (numberOfInputs != null) {
354 return _createChannelMerger_1(numberOfInputs); 355 return _createChannelMerger_1(numberOfInputs);
355 } 356 }
356 return _createChannelMerger_2(); 357 return _createChannelMerger_2();
357 } 358 }
358 359
359 ChannelMergerNode _createChannelMerger_1(numberOfInputs) native "AudioContext_ _createChannelMerger_1_Callback"; 360 ChannelMergerNode _createChannelMerger_1(numberOfInputs) => blink.Native_Audio Context__createChannelMerger_1_Callback(this, numberOfInputs);
360 361
361 ChannelMergerNode _createChannelMerger_2() native "AudioContext__createChannel Merger_2_Callback"; 362 ChannelMergerNode _createChannelMerger_2() => blink.Native_AudioContext__creat eChannelMerger_2_Callback(this);
362 363
363 ChannelSplitterNode createChannelSplitter([int numberOfOutputs]) { 364 ChannelSplitterNode createChannelSplitter([int numberOfOutputs]) {
364 if (numberOfOutputs != null) { 365 if (numberOfOutputs != null) {
365 return _createChannelSplitter_1(numberOfOutputs); 366 return _createChannelSplitter_1(numberOfOutputs);
366 } 367 }
367 return _createChannelSplitter_2(); 368 return _createChannelSplitter_2();
368 } 369 }
369 370
370 ChannelSplitterNode _createChannelSplitter_1(numberOfOutputs) native "AudioCon text__createChannelSplitter_1_Callback"; 371 ChannelSplitterNode _createChannelSplitter_1(numberOfOutputs) => blink.Native_ AudioContext__createChannelSplitter_1_Callback(this, numberOfOutputs);
371 372
372 ChannelSplitterNode _createChannelSplitter_2() native "AudioContext__createCha nnelSplitter_2_Callback"; 373 ChannelSplitterNode _createChannelSplitter_2() => blink.Native_AudioContext__c reateChannelSplitter_2_Callback(this);
373 374
374 @DomName('AudioContext.createConvolver') 375 @DomName('AudioContext.createConvolver')
375 @DocsEditable() 376 @DocsEditable()
376 ConvolverNode createConvolver() native "AudioContext_createConvolver_Callback" ; 377 ConvolverNode createConvolver() => blink.Native_AudioContext_createConvolver_C allback(this);
377 378
378 DelayNode createDelay([num maxDelayTime]) { 379 DelayNode createDelay([num maxDelayTime]) {
379 if (maxDelayTime != null) { 380 if (maxDelayTime != null) {
380 return _createDelay_1(maxDelayTime); 381 return _createDelay_1(maxDelayTime);
381 } 382 }
382 return _createDelay_2(); 383 return _createDelay_2();
383 } 384 }
384 385
385 DelayNode _createDelay_1(maxDelayTime) native "AudioContext__createDelay_1_Cal lback"; 386 DelayNode _createDelay_1(maxDelayTime) => blink.Native_AudioContext__createDel ay_1_Callback(this, maxDelayTime);
386 387
387 DelayNode _createDelay_2() native "AudioContext__createDelay_2_Callback"; 388 DelayNode _createDelay_2() => blink.Native_AudioContext__createDelay_2_Callbac k(this);
388 389
389 DelayNode createDelayNode([num maxDelayTime]) { 390 DelayNode createDelayNode([num maxDelayTime]) {
390 if (maxDelayTime != null) { 391 if (maxDelayTime != null) {
391 return _createDelayNode_1(maxDelayTime); 392 return _createDelayNode_1(maxDelayTime);
392 } 393 }
393 return _createDelayNode_2(); 394 return _createDelayNode_2();
394 } 395 }
395 396
396 DelayNode _createDelayNode_1(maxDelayTime) native "AudioContext__createDelayNo de_1_Callback"; 397 DelayNode _createDelayNode_1(maxDelayTime) => blink.Native_AudioContext__creat eDelayNode_1_Callback(this, maxDelayTime);
397 398
398 DelayNode _createDelayNode_2() native "AudioContext__createDelayNode_2_Callbac k"; 399 DelayNode _createDelayNode_2() => blink.Native_AudioContext__createDelayNode_2 _Callback(this);
399 400
400 @DomName('AudioContext.createDynamicsCompressor') 401 @DomName('AudioContext.createDynamicsCompressor')
401 @DocsEditable() 402 @DocsEditable()
402 DynamicsCompressorNode createDynamicsCompressor() native "AudioContext_createD ynamicsCompressor_Callback"; 403 DynamicsCompressorNode createDynamicsCompressor() => blink.Native_AudioContext _createDynamicsCompressor_Callback(this);
403 404
404 @DomName('AudioContext.createGain') 405 @DomName('AudioContext.createGain')
405 @DocsEditable() 406 @DocsEditable()
406 GainNode createGain() native "AudioContext_createGain_Callback"; 407 GainNode createGain() => blink.Native_AudioContext_createGain_Callback(this);
407 408
408 @DomName('AudioContext.createGainNode') 409 @DomName('AudioContext.createGainNode')
409 @DocsEditable() 410 @DocsEditable()
410 GainNode createGainNode() native "AudioContext_createGainNode_Callback"; 411 GainNode createGainNode() => blink.Native_AudioContext_createGainNode_Callback (this);
411 412
412 ScriptProcessorNode createJavaScriptNode(int bufferSize, [int numberOfInputCha nnels, int numberOfOutputChannels]) { 413 ScriptProcessorNode createJavaScriptNode(int bufferSize, [int numberOfInputCha nnels, int numberOfOutputChannels]) {
413 if (numberOfOutputChannels != null) { 414 if (numberOfOutputChannels != null) {
414 return _createJavaScriptNode_1(bufferSize, numberOfInputChannels, numberOf OutputChannels); 415 return _createJavaScriptNode_1(bufferSize, numberOfInputChannels, numberOf OutputChannels);
415 } 416 }
416 if (numberOfInputChannels != null) { 417 if (numberOfInputChannels != null) {
417 return _createJavaScriptNode_2(bufferSize, numberOfInputChannels); 418 return _createJavaScriptNode_2(bufferSize, numberOfInputChannels);
418 } 419 }
419 return _createJavaScriptNode_3(bufferSize); 420 return _createJavaScriptNode_3(bufferSize);
420 } 421 }
421 422
422 ScriptProcessorNode _createJavaScriptNode_1(bufferSize, numberOfInputChannels, numberOfOutputChannels) native "AudioContext__createJavaScriptNode_1_Callback"; 423 ScriptProcessorNode _createJavaScriptNode_1(bufferSize, numberOfInputChannels, numberOfOutputChannels) => blink.Native_AudioContext__createJavaScriptNode_1_Ca llback(this, bufferSize, numberOfInputChannels, numberOfOutputChannels);
423 424
424 ScriptProcessorNode _createJavaScriptNode_2(bufferSize, numberOfInputChannels) native "AudioContext__createJavaScriptNode_2_Callback"; 425 ScriptProcessorNode _createJavaScriptNode_2(bufferSize, numberOfInputChannels) => blink.Native_AudioContext__createJavaScriptNode_2_Callback(this, bufferSize, numberOfInputChannels);
425 426
426 ScriptProcessorNode _createJavaScriptNode_3(bufferSize) native "AudioContext__ createJavaScriptNode_3_Callback"; 427 ScriptProcessorNode _createJavaScriptNode_3(bufferSize) => blink.Native_AudioC ontext__createJavaScriptNode_3_Callback(this, bufferSize);
427 428
428 @DomName('AudioContext.createMediaElementSource') 429 @DomName('AudioContext.createMediaElementSource')
429 @DocsEditable() 430 @DocsEditable()
430 MediaElementAudioSourceNode createMediaElementSource(MediaElement mediaElement ) native "AudioContext_createMediaElementSource_Callback"; 431 MediaElementAudioSourceNode createMediaElementSource(MediaElement mediaElement ) => blink.Native_AudioContext_createMediaElementSource_Callback(this, mediaElem ent);
431 432
432 @DomName('AudioContext.createMediaStreamDestination') 433 @DomName('AudioContext.createMediaStreamDestination')
433 @DocsEditable() 434 @DocsEditable()
434 MediaStreamAudioDestinationNode createMediaStreamDestination() native "AudioCo ntext_createMediaStreamDestination_Callback"; 435 MediaStreamAudioDestinationNode createMediaStreamDestination() => blink.Native _AudioContext_createMediaStreamDestination_Callback(this);
435 436
436 @DomName('AudioContext.createMediaStreamSource') 437 @DomName('AudioContext.createMediaStreamSource')
437 @DocsEditable() 438 @DocsEditable()
438 MediaStreamAudioSourceNode createMediaStreamSource(MediaStream mediaStream) na tive "AudioContext_createMediaStreamSource_Callback"; 439 MediaStreamAudioSourceNode createMediaStreamSource(MediaStream mediaStream) => blink.Native_AudioContext_createMediaStreamSource_Callback(this, mediaStream);
439 440
440 @DomName('AudioContext.createOscillator') 441 @DomName('AudioContext.createOscillator')
441 @DocsEditable() 442 @DocsEditable()
442 OscillatorNode createOscillator() native "AudioContext_createOscillator_Callba ck"; 443 OscillatorNode createOscillator() => blink.Native_AudioContext_createOscillato r_Callback(this);
443 444
444 @DomName('AudioContext.createPanner') 445 @DomName('AudioContext.createPanner')
445 @DocsEditable() 446 @DocsEditable()
446 PannerNode createPanner() native "AudioContext_createPanner_Callback"; 447 PannerNode createPanner() => blink.Native_AudioContext_createPanner_Callback(t his);
447 448
448 @DomName('AudioContext.createPeriodicWave') 449 @DomName('AudioContext.createPeriodicWave')
449 @DocsEditable() 450 @DocsEditable()
450 @Experimental() // untriaged 451 @Experimental() // untriaged
451 PeriodicWave createPeriodicWave(Float32List real, Float32List imag) native "Au dioContext_createPeriodicWave_Callback"; 452 PeriodicWave createPeriodicWave(Float32List real, Float32List imag) => blink.N ative_AudioContext_createPeriodicWave_Callback(this, real, imag);
452 453
453 ScriptProcessorNode createScriptProcessor([int bufferSize, int numberOfInputCh annels, int numberOfOutputChannels]) { 454 ScriptProcessorNode createScriptProcessor([int bufferSize, int numberOfInputCh annels, int numberOfOutputChannels]) {
454 if (numberOfOutputChannels != null) { 455 if (numberOfOutputChannels != null) {
455 return _createScriptProcessor_1(bufferSize, numberOfInputChannels, numberO fOutputChannels); 456 return _createScriptProcessor_1(bufferSize, numberOfInputChannels, numberO fOutputChannels);
456 } 457 }
457 if (numberOfInputChannels != null) { 458 if (numberOfInputChannels != null) {
458 return _createScriptProcessor_2(bufferSize, numberOfInputChannels); 459 return _createScriptProcessor_2(bufferSize, numberOfInputChannels);
459 } 460 }
460 if (bufferSize != null) { 461 if (bufferSize != null) {
461 return _createScriptProcessor_3(bufferSize); 462 return _createScriptProcessor_3(bufferSize);
462 } 463 }
463 return _createScriptProcessor_4(); 464 return _createScriptProcessor_4();
464 } 465 }
465 466
466 ScriptProcessorNode _createScriptProcessor_1(bufferSize, numberOfInputChannels , numberOfOutputChannels) native "AudioContext__createScriptProcessor_1_Callback "; 467 ScriptProcessorNode _createScriptProcessor_1(bufferSize, numberOfInputChannels , numberOfOutputChannels) => blink.Native_AudioContext__createScriptProcessor_1_ Callback(this, bufferSize, numberOfInputChannels, numberOfOutputChannels);
467 468
468 ScriptProcessorNode _createScriptProcessor_2(bufferSize, numberOfInputChannels ) native "AudioContext__createScriptProcessor_2_Callback"; 469 ScriptProcessorNode _createScriptProcessor_2(bufferSize, numberOfInputChannels ) => blink.Native_AudioContext__createScriptProcessor_2_Callback(this, bufferSiz e, numberOfInputChannels);
469 470
470 ScriptProcessorNode _createScriptProcessor_3(bufferSize) native "AudioContext_ _createScriptProcessor_3_Callback"; 471 ScriptProcessorNode _createScriptProcessor_3(bufferSize) => blink.Native_Audio Context__createScriptProcessor_3_Callback(this, bufferSize);
471 472
472 ScriptProcessorNode _createScriptProcessor_4() native "AudioContext__createScr iptProcessor_4_Callback"; 473 ScriptProcessorNode _createScriptProcessor_4() => blink.Native_AudioContext__c reateScriptProcessor_4_Callback(this);
473 474
474 @DomName('AudioContext.createWaveShaper') 475 @DomName('AudioContext.createWaveShaper')
475 @DocsEditable() 476 @DocsEditable()
476 WaveShaperNode createWaveShaper() native "AudioContext_createWaveShaper_Callba ck"; 477 WaveShaperNode createWaveShaper() => blink.Native_AudioContext_createWaveShape r_Callback(this);
477 478
478 @DomName('AudioContext.decodeAudioData') 479 @DomName('AudioContext.decodeAudioData')
479 @DocsEditable() 480 @DocsEditable()
480 void _decodeAudioData(ByteBuffer audioData, AudioBufferCallback successCallbac k, [AudioBufferCallback errorCallback]) native "AudioContext_decodeAudioData_Cal lback"; 481 void _decodeAudioData(ByteBuffer audioData, AudioBufferCallback successCallbac k, [AudioBufferCallback errorCallback]) => blink.Native_AudioContext_decodeAudio Data_Callback(this, audioData, successCallback, errorCallback);
481 482
482 @DomName('AudioContext.startRendering') 483 @DomName('AudioContext.startRendering')
483 @DocsEditable() 484 @DocsEditable()
484 void startRendering() native "AudioContext_startRendering_Callback"; 485 void startRendering() => blink.Native_AudioContext_startRendering_Callback(thi s);
485 486
486 @DomName('AudioContext.addEventListener') 487 @DomName('AudioContext.addEventListener')
487 @DocsEditable() 488 @DocsEditable()
488 @Experimental() // untriaged 489 @Experimental() // untriaged
489 void addEventListener(String type, EventListener listener, [bool useCapture]) native "AudioContext_addEventListener_Callback"; 490 void addEventListener(String type, EventListener listener, [bool useCapture]) => blink.Native_AudioContext_addEventListener_Callback(this, type, listener, use Capture);
490 491
491 @DomName('AudioContext.dispatchEvent') 492 @DomName('AudioContext.dispatchEvent')
492 @DocsEditable() 493 @DocsEditable()
493 @Experimental() // untriaged 494 @Experimental() // untriaged
494 bool dispatchEvent(Event event) native "AudioContext_dispatchEvent_Callback"; 495 bool dispatchEvent(Event event) => blink.Native_AudioContext_dispatchEvent_Cal lback(this, event);
495 496
496 @DomName('AudioContext.removeEventListener') 497 @DomName('AudioContext.removeEventListener')
497 @DocsEditable() 498 @DocsEditable()
498 @Experimental() // untriaged 499 @Experimental() // untriaged
499 void removeEventListener(String type, EventListener listener, [bool useCapture ]) native "AudioContext_removeEventListener_Callback"; 500 void removeEventListener(String type, EventListener listener, [bool useCapture ]) => blink.Native_AudioContext_removeEventListener_Callback(this, type, listene r, useCapture);
500 501
501 /// Stream of `complete` events handled by this [AudioContext]. 502 /// Stream of `complete` events handled by this [AudioContext].
502 @DomName('AudioContext.oncomplete') 503 @DomName('AudioContext.oncomplete')
503 @DocsEditable() 504 @DocsEditable()
504 Stream<Event> get onComplete => completeEvent.forTarget(this); 505 Stream<Event> get onComplete => completeEvent.forTarget(this);
505 506
506 @DomName('AudioContext.decodeAudioData') 507 @DomName('AudioContext.decodeAudioData')
507 Future<AudioBuffer> decodeAudioData(ByteBuffer audioData) { 508 Future<AudioBuffer> decodeAudioData(ByteBuffer audioData) {
508 var completer = new Completer<AudioBuffer>(); 509 var completer = new Completer<AudioBuffer>();
509 _decodeAudioData(audioData, 510 _decodeAudioData(audioData,
(...skipping 18 matching lines...) Expand all
528 @DocsEditable() 529 @DocsEditable()
529 @DomName('AudioDestinationNode') 530 @DomName('AudioDestinationNode')
530 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioDe stinationNode-section 531 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioDe stinationNode-section
531 @Experimental() 532 @Experimental()
532 class AudioDestinationNode extends AudioNode { 533 class AudioDestinationNode extends AudioNode {
533 // To suppress missing implicit constructor warnings. 534 // To suppress missing implicit constructor warnings.
534 factory AudioDestinationNode._() { throw new UnsupportedError("Not supported") ; } 535 factory AudioDestinationNode._() { throw new UnsupportedError("Not supported") ; }
535 536
536 @DomName('AudioDestinationNode.maxChannelCount') 537 @DomName('AudioDestinationNode.maxChannelCount')
537 @DocsEditable() 538 @DocsEditable()
538 int get maxChannelCount native "AudioDestinationNode_maxChannelCount_Getter"; 539 int get maxChannelCount => blink.Native_AudioDestinationNode_maxChannelCount_G etter(this);
539 540
540 } 541 }
541 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 542 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
542 // for details. All rights reserved. Use of this source code is governed by a 543 // for details. All rights reserved. Use of this source code is governed by a
543 // BSD-style license that can be found in the LICENSE file. 544 // BSD-style license that can be found in the LICENSE file.
544 545
545 // WARNING: Do not edit - generated code. 546 // WARNING: Do not edit - generated code.
546 547
547 548
548 @DocsEditable() 549 @DocsEditable()
549 @DomName('AudioListener') 550 @DomName('AudioListener')
550 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioLi stener-section 551 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioLi stener-section
551 @Experimental() 552 @Experimental()
552 class AudioListener extends NativeFieldWrapperClass2 { 553 class AudioListener extends NativeFieldWrapperClass2 {
553 // To suppress missing implicit constructor warnings. 554 // To suppress missing implicit constructor warnings.
554 factory AudioListener._() { throw new UnsupportedError("Not supported"); } 555 factory AudioListener._() { throw new UnsupportedError("Not supported"); }
555 556
556 @DomName('AudioListener.dopplerFactor') 557 @DomName('AudioListener.dopplerFactor')
557 @DocsEditable() 558 @DocsEditable()
558 num get dopplerFactor native "AudioListener_dopplerFactor_Getter"; 559 num get dopplerFactor => blink.Native_AudioListener_dopplerFactor_Getter(this) ;
559 560
560 @DomName('AudioListener.dopplerFactor') 561 @DomName('AudioListener.dopplerFactor')
561 @DocsEditable() 562 @DocsEditable()
562 void set dopplerFactor(num value) native "AudioListener_dopplerFactor_Setter"; 563 void set dopplerFactor(num value) => blink.Native_AudioListener_dopplerFactor_ Setter(this, value);
563 564
564 @DomName('AudioListener.speedOfSound') 565 @DomName('AudioListener.speedOfSound')
565 @DocsEditable() 566 @DocsEditable()
566 num get speedOfSound native "AudioListener_speedOfSound_Getter"; 567 num get speedOfSound => blink.Native_AudioListener_speedOfSound_Getter(this);
567 568
568 @DomName('AudioListener.speedOfSound') 569 @DomName('AudioListener.speedOfSound')
569 @DocsEditable() 570 @DocsEditable()
570 void set speedOfSound(num value) native "AudioListener_speedOfSound_Setter"; 571 void set speedOfSound(num value) => blink.Native_AudioListener_speedOfSound_Se tter(this, value);
571 572
572 @DomName('AudioListener.setOrientation') 573 @DomName('AudioListener.setOrientation')
573 @DocsEditable() 574 @DocsEditable()
574 void setOrientation(num x, num y, num z, num xUp, num yUp, num zUp) native "Au dioListener_setOrientation_Callback"; 575 void setOrientation(num x, num y, num z, num xUp, num yUp, num zUp) => blink.N ative_AudioListener_setOrientation_Callback(this, x, y, z, xUp, yUp, zUp);
575 576
576 @DomName('AudioListener.setPosition') 577 @DomName('AudioListener.setPosition')
577 @DocsEditable() 578 @DocsEditable()
578 void setPosition(num x, num y, num z) native "AudioListener_setPosition_Callba ck"; 579 void setPosition(num x, num y, num z) => blink.Native_AudioListener_setPositio n_Callback(this, x, y, z);
579 580
580 @DomName('AudioListener.setVelocity') 581 @DomName('AudioListener.setVelocity')
581 @DocsEditable() 582 @DocsEditable()
582 void setVelocity(num x, num y, num z) native "AudioListener_setVelocity_Callba ck"; 583 void setVelocity(num x, num y, num z) => blink.Native_AudioListener_setVelocit y_Callback(this, x, y, z);
583 584
584 } 585 }
585 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 586 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
586 // for details. All rights reserved. Use of this source code is governed by a 587 // for details. All rights reserved. Use of this source code is governed by a
587 // BSD-style license that can be found in the LICENSE file. 588 // BSD-style license that can be found in the LICENSE file.
588 589
589 590
590 @DomName('AudioNode') 591 @DomName('AudioNode')
591 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioNo de-section 592 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioNo de-section
592 @Experimental() 593 @Experimental()
593 class AudioNode extends EventTarget { 594 class AudioNode extends EventTarget {
594 // To suppress missing implicit constructor warnings. 595 // To suppress missing implicit constructor warnings.
595 factory AudioNode._() { throw new UnsupportedError("Not supported"); } 596 factory AudioNode._() { throw new UnsupportedError("Not supported"); }
596 597
597 @DomName('AudioNode.channelCount') 598 @DomName('AudioNode.channelCount')
598 @DocsEditable() 599 @DocsEditable()
599 int get channelCount native "AudioNode_channelCount_Getter"; 600 int get channelCount => blink.Native_AudioNode_channelCount_Getter(this);
600 601
601 @DomName('AudioNode.channelCount') 602 @DomName('AudioNode.channelCount')
602 @DocsEditable() 603 @DocsEditable()
603 void set channelCount(int value) native "AudioNode_channelCount_Setter"; 604 void set channelCount(int value) => blink.Native_AudioNode_channelCount_Setter (this, value);
604 605
605 @DomName('AudioNode.channelCountMode') 606 @DomName('AudioNode.channelCountMode')
606 @DocsEditable() 607 @DocsEditable()
607 String get channelCountMode native "AudioNode_channelCountMode_Getter"; 608 String get channelCountMode => blink.Native_AudioNode_channelCountMode_Getter( this);
608 609
609 @DomName('AudioNode.channelCountMode') 610 @DomName('AudioNode.channelCountMode')
610 @DocsEditable() 611 @DocsEditable()
611 void set channelCountMode(String value) native "AudioNode_channelCountMode_Set ter"; 612 void set channelCountMode(String value) => blink.Native_AudioNode_channelCount Mode_Setter(this, value);
612 613
613 @DomName('AudioNode.channelInterpretation') 614 @DomName('AudioNode.channelInterpretation')
614 @DocsEditable() 615 @DocsEditable()
615 String get channelInterpretation native "AudioNode_channelInterpretation_Gette r"; 616 String get channelInterpretation => blink.Native_AudioNode_channelInterpretati on_Getter(this);
616 617
617 @DomName('AudioNode.channelInterpretation') 618 @DomName('AudioNode.channelInterpretation')
618 @DocsEditable() 619 @DocsEditable()
619 void set channelInterpretation(String value) native "AudioNode_channelInterpre tation_Setter"; 620 void set channelInterpretation(String value) => blink.Native_AudioNode_channel Interpretation_Setter(this, value);
620 621
621 @DomName('AudioNode.context') 622 @DomName('AudioNode.context')
622 @DocsEditable() 623 @DocsEditable()
623 AudioContext get context native "AudioNode_context_Getter"; 624 AudioContext get context => blink.Native_AudioNode_context_Getter(this);
624 625
625 @DomName('AudioNode.numberOfInputs') 626 @DomName('AudioNode.numberOfInputs')
626 @DocsEditable() 627 @DocsEditable()
627 int get numberOfInputs native "AudioNode_numberOfInputs_Getter"; 628 int get numberOfInputs => blink.Native_AudioNode_numberOfInputs_Getter(this);
628 629
629 @DomName('AudioNode.numberOfOutputs') 630 @DomName('AudioNode.numberOfOutputs')
630 @DocsEditable() 631 @DocsEditable()
631 int get numberOfOutputs native "AudioNode_numberOfOutputs_Getter"; 632 int get numberOfOutputs => blink.Native_AudioNode_numberOfOutputs_Getter(this) ;
632 633
633 void _connect(destination, int output, [int input]) { 634 void _connect(destination, int output, [int input]) {
634 if ((input is int || input == null) && (output is int || output == null) && (destination is AudioNode || destination == null)) { 635 if ((input is int || input == null) && (output is int || output == null) && (destination is AudioNode || destination == null)) {
635 _connect_1(destination, output, input); 636 _connect_1(destination, output, input);
636 return; 637 return;
637 } 638 }
638 if ((output is int || output == null) && (destination is AudioParam || desti nation == null) && input == null) { 639 if ((output is int || output == null) && (destination is AudioParam || desti nation == null) && input == null) {
639 _connect_2(destination, output); 640 _connect_2(destination, output);
640 return; 641 return;
641 } 642 }
642 throw new ArgumentError("Incorrect number or type of arguments"); 643 throw new ArgumentError("Incorrect number or type of arguments");
643 } 644 }
644 645
645 void _connect_1(destination, output, input) native "AudioNode__connect_1_Callb ack"; 646 void _connect_1(destination, output, input) => blink.Native_AudioNode__connect _1_Callback(this, destination, output, input);
646 647
647 void _connect_2(destination, output) native "AudioNode__connect_2_Callback"; 648 void _connect_2(destination, output) => blink.Native_AudioNode__connect_2_Call back(this, destination, output);
648 649
649 @DomName('AudioNode.disconnect') 650 @DomName('AudioNode.disconnect')
650 @DocsEditable() 651 @DocsEditable()
651 void disconnect(int output) native "AudioNode_disconnect_Callback"; 652 void disconnect(int output) => blink.Native_AudioNode_disconnect_Callback(this , output);
652 653
653 @DomName('AudioNode.addEventListener') 654 @DomName('AudioNode.addEventListener')
654 @DocsEditable() 655 @DocsEditable()
655 void addEventListener(String type, EventListener listener, [bool useCapture]) native "AudioNode_addEventListener_Callback"; 656 void addEventListener(String type, EventListener listener, [bool useCapture]) => blink.Native_AudioNode_addEventListener_Callback(this, type, listener, useCap ture);
656 657
657 @DomName('AudioNode.dispatchEvent') 658 @DomName('AudioNode.dispatchEvent')
658 @DocsEditable() 659 @DocsEditable()
659 bool dispatchEvent(Event event) native "AudioNode_dispatchEvent_Callback"; 660 bool dispatchEvent(Event event) => blink.Native_AudioNode_dispatchEvent_Callba ck(this, event);
660 661
661 @DomName('AudioNode.removeEventListener') 662 @DomName('AudioNode.removeEventListener')
662 @DocsEditable() 663 @DocsEditable()
663 void removeEventListener(String type, EventListener listener, [bool useCapture ]) native "AudioNode_removeEventListener_Callback"; 664 void removeEventListener(String type, EventListener listener, [bool useCapture ]) => blink.Native_AudioNode_removeEventListener_Callback(this, type, listener, useCapture);
664 665
665 @DomName('AudioNode.connect') 666 @DomName('AudioNode.connect')
666 void connectNode(AudioNode destination, [int output = 0, int input = 0]) => 667 void connectNode(AudioNode destination, [int output = 0, int input = 0]) =>
667 _connect(destination, output, input); 668 _connect(destination, output, input);
668 669
669 @DomName('AudioNode.connect') 670 @DomName('AudioNode.connect')
670 void connectParam(AudioParam destination, [int output = 0]) => 671 void connectParam(AudioParam destination, [int output = 0]) =>
671 _connect(destination, output); 672 _connect(destination, output);
672 } 673 }
673 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 674 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
674 // for details. All rights reserved. Use of this source code is governed by a 675 // for details. All rights reserved. Use of this source code is governed by a
675 // BSD-style license that can be found in the LICENSE file. 676 // BSD-style license that can be found in the LICENSE file.
676 677
677 // WARNING: Do not edit - generated code. 678 // WARNING: Do not edit - generated code.
678 679
679 680
680 @DocsEditable() 681 @DocsEditable()
681 @DomName('AudioParam') 682 @DomName('AudioParam')
682 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioPa ram 683 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioPa ram
683 @Experimental() 684 @Experimental()
684 class AudioParam extends NativeFieldWrapperClass2 { 685 class AudioParam extends NativeFieldWrapperClass2 {
685 // To suppress missing implicit constructor warnings. 686 // To suppress missing implicit constructor warnings.
686 factory AudioParam._() { throw new UnsupportedError("Not supported"); } 687 factory AudioParam._() { throw new UnsupportedError("Not supported"); }
687 688
688 @DomName('AudioParam.defaultValue') 689 @DomName('AudioParam.defaultValue')
689 @DocsEditable() 690 @DocsEditable()
690 double get defaultValue native "AudioParam_defaultValue_Getter"; 691 double get defaultValue => blink.Native_AudioParam_defaultValue_Getter(this);
691 692
692 @DomName('AudioParam.maxValue') 693 @DomName('AudioParam.maxValue')
693 @DocsEditable() 694 @DocsEditable()
694 double get maxValue native "AudioParam_maxValue_Getter"; 695 double get maxValue => blink.Native_AudioParam_maxValue_Getter(this);
695 696
696 @DomName('AudioParam.minValue') 697 @DomName('AudioParam.minValue')
697 @DocsEditable() 698 @DocsEditable()
698 double get minValue native "AudioParam_minValue_Getter"; 699 double get minValue => blink.Native_AudioParam_minValue_Getter(this);
699 700
700 @DomName('AudioParam.name') 701 @DomName('AudioParam.name')
701 @DocsEditable() 702 @DocsEditable()
702 String get name native "AudioParam_name_Getter"; 703 String get name => blink.Native_AudioParam_name_Getter(this);
703 704
704 @DomName('AudioParam.units') 705 @DomName('AudioParam.units')
705 @DocsEditable() 706 @DocsEditable()
706 int get units native "AudioParam_units_Getter"; 707 int get units => blink.Native_AudioParam_units_Getter(this);
707 708
708 @DomName('AudioParam.value') 709 @DomName('AudioParam.value')
709 @DocsEditable() 710 @DocsEditable()
710 num get value native "AudioParam_value_Getter"; 711 num get value => blink.Native_AudioParam_value_Getter(this);
711 712
712 @DomName('AudioParam.value') 713 @DomName('AudioParam.value')
713 @DocsEditable() 714 @DocsEditable()
714 void set value(num value) native "AudioParam_value_Setter"; 715 void set value(num value) => blink.Native_AudioParam_value_Setter(this, value) ;
715 716
716 @DomName('AudioParam.cancelScheduledValues') 717 @DomName('AudioParam.cancelScheduledValues')
717 @DocsEditable() 718 @DocsEditable()
718 void cancelScheduledValues(num startTime) native "AudioParam_cancelScheduledVa lues_Callback"; 719 void cancelScheduledValues(num startTime) => blink.Native_AudioParam_cancelSch eduledValues_Callback(this, startTime);
719 720
720 @DomName('AudioParam.exponentialRampToValueAtTime') 721 @DomName('AudioParam.exponentialRampToValueAtTime')
721 @DocsEditable() 722 @DocsEditable()
722 void exponentialRampToValueAtTime(num value, num time) native "AudioParam_expo nentialRampToValueAtTime_Callback"; 723 void exponentialRampToValueAtTime(num value, num time) => blink.Native_AudioPa ram_exponentialRampToValueAtTime_Callback(this, value, time);
723 724
724 @DomName('AudioParam.linearRampToValueAtTime') 725 @DomName('AudioParam.linearRampToValueAtTime')
725 @DocsEditable() 726 @DocsEditable()
726 void linearRampToValueAtTime(num value, num time) native "AudioParam_linearRam pToValueAtTime_Callback"; 727 void linearRampToValueAtTime(num value, num time) => blink.Native_AudioParam_l inearRampToValueAtTime_Callback(this, value, time);
727 728
728 @DomName('AudioParam.setTargetAtTime') 729 @DomName('AudioParam.setTargetAtTime')
729 @DocsEditable() 730 @DocsEditable()
730 void setTargetAtTime(num target, num time, num timeConstant) native "AudioPara m_setTargetAtTime_Callback"; 731 void setTargetAtTime(num target, num time, num timeConstant) => blink.Native_A udioParam_setTargetAtTime_Callback(this, target, time, timeConstant);
731 732
732 @DomName('AudioParam.setTargetValueAtTime') 733 @DomName('AudioParam.setTargetValueAtTime')
733 @DocsEditable() 734 @DocsEditable()
734 void setTargetValueAtTime(num targetValue, num time, num timeConstant) native "AudioParam_setTargetValueAtTime_Callback"; 735 void setTargetValueAtTime(num targetValue, num time, num timeConstant) => blin k.Native_AudioParam_setTargetValueAtTime_Callback(this, targetValue, time, timeC onstant);
735 736
736 @DomName('AudioParam.setValueAtTime') 737 @DomName('AudioParam.setValueAtTime')
737 @DocsEditable() 738 @DocsEditable()
738 void setValueAtTime(num value, num time) native "AudioParam_setValueAtTime_Cal lback"; 739 void setValueAtTime(num value, num time) => blink.Native_AudioParam_setValueAt Time_Callback(this, value, time);
739 740
740 @DomName('AudioParam.setValueCurveAtTime') 741 @DomName('AudioParam.setValueCurveAtTime')
741 @DocsEditable() 742 @DocsEditable()
742 void setValueCurveAtTime(Float32List values, num time, num duration) native "A udioParam_setValueCurveAtTime_Callback"; 743 void setValueCurveAtTime(Float32List values, num time, num duration) => blink. Native_AudioParam_setValueCurveAtTime_Callback(this, values, time, duration);
743 744
744 } 745 }
745 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 746 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
746 // for details. All rights reserved. Use of this source code is governed by a 747 // for details. All rights reserved. Use of this source code is governed by a
747 // BSD-style license that can be found in the LICENSE file. 748 // BSD-style license that can be found in the LICENSE file.
748 749
749 // WARNING: Do not edit - generated code. 750 // WARNING: Do not edit - generated code.
750 751
751 752
752 @DocsEditable() 753 @DocsEditable()
753 @DomName('AudioProcessingEvent') 754 @DomName('AudioProcessingEvent')
754 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioPr ocessingEvent-section 755 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioPr ocessingEvent-section
755 @Experimental() 756 @Experimental()
756 class AudioProcessingEvent extends Event { 757 class AudioProcessingEvent extends Event {
757 // To suppress missing implicit constructor warnings. 758 // To suppress missing implicit constructor warnings.
758 factory AudioProcessingEvent._() { throw new UnsupportedError("Not supported") ; } 759 factory AudioProcessingEvent._() { throw new UnsupportedError("Not supported") ; }
759 760
760 @DomName('AudioProcessingEvent.inputBuffer') 761 @DomName('AudioProcessingEvent.inputBuffer')
761 @DocsEditable() 762 @DocsEditable()
762 AudioBuffer get inputBuffer native "AudioProcessingEvent_inputBuffer_Getter"; 763 AudioBuffer get inputBuffer => blink.Native_AudioProcessingEvent_inputBuffer_G etter(this);
763 764
764 @DomName('AudioProcessingEvent.outputBuffer') 765 @DomName('AudioProcessingEvent.outputBuffer')
765 @DocsEditable() 766 @DocsEditable()
766 AudioBuffer get outputBuffer native "AudioProcessingEvent_outputBuffer_Getter" ; 767 AudioBuffer get outputBuffer => blink.Native_AudioProcessingEvent_outputBuffer _Getter(this);
767 768
768 } 769 }
769 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 770 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
770 // for details. All rights reserved. Use of this source code is governed by a 771 // for details. All rights reserved. Use of this source code is governed by a
771 // BSD-style license that can be found in the LICENSE file. 772 // BSD-style license that can be found in the LICENSE file.
772 773
773 // WARNING: Do not edit - generated code. 774 // WARNING: Do not edit - generated code.
774 775
775 776
776 @DocsEditable() 777 @DocsEditable()
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
824 @DomName('BiquadFilterNode.NOTCH') 825 @DomName('BiquadFilterNode.NOTCH')
825 @DocsEditable() 826 @DocsEditable()
826 static const int NOTCH = 6; 827 static const int NOTCH = 6;
827 828
828 @DomName('BiquadFilterNode.PEAKING') 829 @DomName('BiquadFilterNode.PEAKING')
829 @DocsEditable() 830 @DocsEditable()
830 static const int PEAKING = 5; 831 static const int PEAKING = 5;
831 832
832 @DomName('BiquadFilterNode.Q') 833 @DomName('BiquadFilterNode.Q')
833 @DocsEditable() 834 @DocsEditable()
834 AudioParam get Q native "BiquadFilterNode_Q_Getter"; 835 AudioParam get Q => blink.Native_BiquadFilterNode_Q_Getter(this);
835 836
836 @DomName('BiquadFilterNode.detune') 837 @DomName('BiquadFilterNode.detune')
837 @DocsEditable() 838 @DocsEditable()
838 AudioParam get detune native "BiquadFilterNode_detune_Getter"; 839 AudioParam get detune => blink.Native_BiquadFilterNode_detune_Getter(this);
839 840
840 @DomName('BiquadFilterNode.frequency') 841 @DomName('BiquadFilterNode.frequency')
841 @DocsEditable() 842 @DocsEditable()
842 AudioParam get frequency native "BiquadFilterNode_frequency_Getter"; 843 AudioParam get frequency => blink.Native_BiquadFilterNode_frequency_Getter(thi s);
843 844
844 @DomName('BiquadFilterNode.gain') 845 @DomName('BiquadFilterNode.gain')
845 @DocsEditable() 846 @DocsEditable()
846 AudioParam get gain native "BiquadFilterNode_gain_Getter"; 847 AudioParam get gain => blink.Native_BiquadFilterNode_gain_Getter(this);
847 848
848 @DomName('BiquadFilterNode.type') 849 @DomName('BiquadFilterNode.type')
849 @DocsEditable() 850 @DocsEditable()
850 String get type native "BiquadFilterNode_type_Getter"; 851 String get type => blink.Native_BiquadFilterNode_type_Getter(this);
851 852
852 @DomName('BiquadFilterNode.type') 853 @DomName('BiquadFilterNode.type')
853 @DocsEditable() 854 @DocsEditable()
854 void set type(String value) native "BiquadFilterNode_type_Setter"; 855 void set type(String value) => blink.Native_BiquadFilterNode_type_Setter(this, value);
855 856
856 @DomName('BiquadFilterNode.getFrequencyResponse') 857 @DomName('BiquadFilterNode.getFrequencyResponse')
857 @DocsEditable() 858 @DocsEditable()
858 void getFrequencyResponse(Float32List frequencyHz, Float32List magResponse, Fl oat32List phaseResponse) native "BiquadFilterNode_getFrequencyResponse_Callback" ; 859 void getFrequencyResponse(Float32List frequencyHz, Float32List magResponse, Fl oat32List phaseResponse) => blink.Native_BiquadFilterNode_getFrequencyResponse_C allback(this, frequencyHz, magResponse, phaseResponse);
859 860
860 } 861 }
861 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 862 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
862 // for details. All rights reserved. Use of this source code is governed by a 863 // for details. All rights reserved. Use of this source code is governed by a
863 // BSD-style license that can be found in the LICENSE file. 864 // BSD-style license that can be found in the LICENSE file.
864 865
865 // WARNING: Do not edit - generated code. 866 // WARNING: Do not edit - generated code.
866 867
867 868
868 @DocsEditable() 869 @DocsEditable()
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
900 @DocsEditable() 901 @DocsEditable()
901 @DomName('ConvolverNode') 902 @DomName('ConvolverNode')
902 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Convolv erNode 903 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Convolv erNode
903 @Experimental() 904 @Experimental()
904 class ConvolverNode extends AudioNode { 905 class ConvolverNode extends AudioNode {
905 // To suppress missing implicit constructor warnings. 906 // To suppress missing implicit constructor warnings.
906 factory ConvolverNode._() { throw new UnsupportedError("Not supported"); } 907 factory ConvolverNode._() { throw new UnsupportedError("Not supported"); }
907 908
908 @DomName('ConvolverNode.buffer') 909 @DomName('ConvolverNode.buffer')
909 @DocsEditable() 910 @DocsEditable()
910 AudioBuffer get buffer native "ConvolverNode_buffer_Getter"; 911 AudioBuffer get buffer => blink.Native_ConvolverNode_buffer_Getter(this);
911 912
912 @DomName('ConvolverNode.buffer') 913 @DomName('ConvolverNode.buffer')
913 @DocsEditable() 914 @DocsEditable()
914 void set buffer(AudioBuffer value) native "ConvolverNode_buffer_Setter"; 915 void set buffer(AudioBuffer value) => blink.Native_ConvolverNode_buffer_Setter (this, value);
915 916
916 @DomName('ConvolverNode.normalize') 917 @DomName('ConvolverNode.normalize')
917 @DocsEditable() 918 @DocsEditable()
918 bool get normalize native "ConvolverNode_normalize_Getter"; 919 bool get normalize => blink.Native_ConvolverNode_normalize_Getter(this);
919 920
920 @DomName('ConvolverNode.normalize') 921 @DomName('ConvolverNode.normalize')
921 @DocsEditable() 922 @DocsEditable()
922 void set normalize(bool value) native "ConvolverNode_normalize_Setter"; 923 void set normalize(bool value) => blink.Native_ConvolverNode_normalize_Setter( this, value);
923 924
924 } 925 }
925 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 926 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
926 // for details. All rights reserved. Use of this source code is governed by a 927 // for details. All rights reserved. Use of this source code is governed by a
927 // BSD-style license that can be found in the LICENSE file. 928 // BSD-style license that can be found in the LICENSE file.
928 929
929 // WARNING: Do not edit - generated code. 930 // WARNING: Do not edit - generated code.
930 931
931 932
932 @DocsEditable() 933 @DocsEditable()
933 @DomName('DelayNode') 934 @DomName('DelayNode')
934 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#DelayNo de 935 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#DelayNo de
935 @Experimental() 936 @Experimental()
936 class DelayNode extends AudioNode { 937 class DelayNode extends AudioNode {
937 // To suppress missing implicit constructor warnings. 938 // To suppress missing implicit constructor warnings.
938 factory DelayNode._() { throw new UnsupportedError("Not supported"); } 939 factory DelayNode._() { throw new UnsupportedError("Not supported"); }
939 940
940 @DomName('DelayNode.delayTime') 941 @DomName('DelayNode.delayTime')
941 @DocsEditable() 942 @DocsEditable()
942 AudioParam get delayTime native "DelayNode_delayTime_Getter"; 943 AudioParam get delayTime => blink.Native_DelayNode_delayTime_Getter(this);
943 944
944 } 945 }
945 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 946 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
946 // for details. All rights reserved. Use of this source code is governed by a 947 // for details. All rights reserved. Use of this source code is governed by a
947 // BSD-style license that can be found in the LICENSE file. 948 // BSD-style license that can be found in the LICENSE file.
948 949
949 // WARNING: Do not edit - generated code. 950 // WARNING: Do not edit - generated code.
950 951
951 952
952 @DocsEditable() 953 @DocsEditable()
953 @DomName('DynamicsCompressorNode') 954 @DomName('DynamicsCompressorNode')
954 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Dynamic sCompressorNode 955 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Dynamic sCompressorNode
955 @Experimental() 956 @Experimental()
956 class DynamicsCompressorNode extends AudioNode { 957 class DynamicsCompressorNode extends AudioNode {
957 // To suppress missing implicit constructor warnings. 958 // To suppress missing implicit constructor warnings.
958 factory DynamicsCompressorNode._() { throw new UnsupportedError("Not supported "); } 959 factory DynamicsCompressorNode._() { throw new UnsupportedError("Not supported "); }
959 960
960 @DomName('DynamicsCompressorNode.attack') 961 @DomName('DynamicsCompressorNode.attack')
961 @DocsEditable() 962 @DocsEditable()
962 AudioParam get attack native "DynamicsCompressorNode_attack_Getter"; 963 AudioParam get attack => blink.Native_DynamicsCompressorNode_attack_Getter(thi s);
963 964
964 @DomName('DynamicsCompressorNode.knee') 965 @DomName('DynamicsCompressorNode.knee')
965 @DocsEditable() 966 @DocsEditable()
966 AudioParam get knee native "DynamicsCompressorNode_knee_Getter"; 967 AudioParam get knee => blink.Native_DynamicsCompressorNode_knee_Getter(this);
967 968
968 @DomName('DynamicsCompressorNode.ratio') 969 @DomName('DynamicsCompressorNode.ratio')
969 @DocsEditable() 970 @DocsEditable()
970 AudioParam get ratio native "DynamicsCompressorNode_ratio_Getter"; 971 AudioParam get ratio => blink.Native_DynamicsCompressorNode_ratio_Getter(this) ;
971 972
972 @DomName('DynamicsCompressorNode.reduction') 973 @DomName('DynamicsCompressorNode.reduction')
973 @DocsEditable() 974 @DocsEditable()
974 AudioParam get reduction native "DynamicsCompressorNode_reduction_Getter"; 975 AudioParam get reduction => blink.Native_DynamicsCompressorNode_reduction_Gett er(this);
975 976
976 @DomName('DynamicsCompressorNode.release') 977 @DomName('DynamicsCompressorNode.release')
977 @DocsEditable() 978 @DocsEditable()
978 AudioParam get release native "DynamicsCompressorNode_release_Getter"; 979 AudioParam get release => blink.Native_DynamicsCompressorNode_release_Getter(t his);
979 980
980 @DomName('DynamicsCompressorNode.threshold') 981 @DomName('DynamicsCompressorNode.threshold')
981 @DocsEditable() 982 @DocsEditable()
982 AudioParam get threshold native "DynamicsCompressorNode_threshold_Getter"; 983 AudioParam get threshold => blink.Native_DynamicsCompressorNode_threshold_Gett er(this);
983 984
984 } 985 }
985 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 986 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
986 // for details. All rights reserved. Use of this source code is governed by a 987 // for details. All rights reserved. Use of this source code is governed by a
987 // BSD-style license that can be found in the LICENSE file. 988 // BSD-style license that can be found in the LICENSE file.
988 989
989 // WARNING: Do not edit - generated code. 990 // WARNING: Do not edit - generated code.
990 991
991 992
992 @DocsEditable() 993 @DocsEditable()
993 @DomName('GainNode') 994 @DomName('GainNode')
994 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#GainNod e 995 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#GainNod e
995 @Experimental() 996 @Experimental()
996 class GainNode extends AudioNode { 997 class GainNode extends AudioNode {
997 // To suppress missing implicit constructor warnings. 998 // To suppress missing implicit constructor warnings.
998 factory GainNode._() { throw new UnsupportedError("Not supported"); } 999 factory GainNode._() { throw new UnsupportedError("Not supported"); }
999 1000
1000 @DomName('GainNode.gain') 1001 @DomName('GainNode.gain')
1001 @DocsEditable() 1002 @DocsEditable()
1002 AudioParam get gain native "GainNode_gain_Getter"; 1003 AudioParam get gain => blink.Native_GainNode_gain_Getter(this);
1003 1004
1004 } 1005 }
1005 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1006 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1006 // for details. All rights reserved. Use of this source code is governed by a 1007 // for details. All rights reserved. Use of this source code is governed by a
1007 // BSD-style license that can be found in the LICENSE file. 1008 // BSD-style license that can be found in the LICENSE file.
1008 1009
1009 // WARNING: Do not edit - generated code. 1010 // WARNING: Do not edit - generated code.
1010 1011
1011 1012
1012 @DocsEditable() 1013 @DocsEditable()
1013 @DomName('MediaElementAudioSourceNode') 1014 @DomName('MediaElementAudioSourceNode')
1014 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#MediaEl ementAudioSourceNode 1015 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#MediaEl ementAudioSourceNode
1015 @Experimental() 1016 @Experimental()
1016 class MediaElementAudioSourceNode extends AudioSourceNode { 1017 class MediaElementAudioSourceNode extends AudioSourceNode {
1017 // To suppress missing implicit constructor warnings. 1018 // To suppress missing implicit constructor warnings.
1018 factory MediaElementAudioSourceNode._() { throw new UnsupportedError("Not supp orted"); } 1019 factory MediaElementAudioSourceNode._() { throw new UnsupportedError("Not supp orted"); }
1019 1020
1020 @DomName('MediaElementAudioSourceNode.mediaElement') 1021 @DomName('MediaElementAudioSourceNode.mediaElement')
1021 @DocsEditable() 1022 @DocsEditable()
1022 @Experimental() // non-standard 1023 @Experimental() // non-standard
1023 MediaElement get mediaElement native "MediaElementAudioSourceNode_mediaElement _Getter"; 1024 MediaElement get mediaElement => blink.Native_MediaElementAudioSourceNode_medi aElement_Getter(this);
1024 1025
1025 } 1026 }
1026 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1027 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1027 // for details. All rights reserved. Use of this source code is governed by a 1028 // for details. All rights reserved. Use of this source code is governed by a
1028 // BSD-style license that can be found in the LICENSE file. 1029 // BSD-style license that can be found in the LICENSE file.
1029 1030
1030 // WARNING: Do not edit - generated code. 1031 // WARNING: Do not edit - generated code.
1031 1032
1032 1033
1033 @DocsEditable() 1034 @DocsEditable()
1034 @DomName('MediaStreamAudioDestinationNode') 1035 @DomName('MediaStreamAudioDestinationNode')
1035 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#MediaSt reamAudioDestinationNode 1036 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#MediaSt reamAudioDestinationNode
1036 @Experimental() 1037 @Experimental()
1037 class MediaStreamAudioDestinationNode extends AudioNode { 1038 class MediaStreamAudioDestinationNode extends AudioNode {
1038 // To suppress missing implicit constructor warnings. 1039 // To suppress missing implicit constructor warnings.
1039 factory MediaStreamAudioDestinationNode._() { throw new UnsupportedError("Not supported"); } 1040 factory MediaStreamAudioDestinationNode._() { throw new UnsupportedError("Not supported"); }
1040 1041
1041 @DomName('MediaStreamAudioDestinationNode.stream') 1042 @DomName('MediaStreamAudioDestinationNode.stream')
1042 @DocsEditable() 1043 @DocsEditable()
1043 MediaStream get stream native "MediaStreamAudioDestinationNode_stream_Getter"; 1044 MediaStream get stream => blink.Native_MediaStreamAudioDestinationNode_stream_ Getter(this);
1044 1045
1045 } 1046 }
1046 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1047 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1047 // for details. All rights reserved. Use of this source code is governed by a 1048 // for details. All rights reserved. Use of this source code is governed by a
1048 // BSD-style license that can be found in the LICENSE file. 1049 // BSD-style license that can be found in the LICENSE file.
1049 1050
1050 // WARNING: Do not edit - generated code. 1051 // WARNING: Do not edit - generated code.
1051 1052
1052 1053
1053 @DocsEditable() 1054 @DocsEditable()
1054 @DomName('MediaStreamAudioSourceNode') 1055 @DomName('MediaStreamAudioSourceNode')
1055 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#MediaSt reamAudioSourceNode 1056 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#MediaSt reamAudioSourceNode
1056 @Experimental() 1057 @Experimental()
1057 class MediaStreamAudioSourceNode extends AudioSourceNode { 1058 class MediaStreamAudioSourceNode extends AudioSourceNode {
1058 // To suppress missing implicit constructor warnings. 1059 // To suppress missing implicit constructor warnings.
1059 factory MediaStreamAudioSourceNode._() { throw new UnsupportedError("Not suppo rted"); } 1060 factory MediaStreamAudioSourceNode._() { throw new UnsupportedError("Not suppo rted"); }
1060 1061
1061 @DomName('MediaStreamAudioSourceNode.mediaStream') 1062 @DomName('MediaStreamAudioSourceNode.mediaStream')
1062 @DocsEditable() 1063 @DocsEditable()
1063 MediaStream get mediaStream native "MediaStreamAudioSourceNode_mediaStream_Get ter"; 1064 MediaStream get mediaStream => blink.Native_MediaStreamAudioSourceNode_mediaSt ream_Getter(this);
1064 1065
1065 } 1066 }
1066 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1067 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1067 // for details. All rights reserved. Use of this source code is governed by a 1068 // for details. All rights reserved. Use of this source code is governed by a
1068 // BSD-style license that can be found in the LICENSE file. 1069 // BSD-style license that can be found in the LICENSE file.
1069 1070
1070 // WARNING: Do not edit - generated code. 1071 // WARNING: Do not edit - generated code.
1071 1072
1072 1073
1073 @DocsEditable() 1074 @DocsEditable()
1074 @DomName('OfflineAudioCompletionEvent') 1075 @DomName('OfflineAudioCompletionEvent')
1075 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Offline AudioCompletionEvent-section 1076 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Offline AudioCompletionEvent-section
1076 @Experimental() 1077 @Experimental()
1077 class OfflineAudioCompletionEvent extends Event { 1078 class OfflineAudioCompletionEvent extends Event {
1078 // To suppress missing implicit constructor warnings. 1079 // To suppress missing implicit constructor warnings.
1079 factory OfflineAudioCompletionEvent._() { throw new UnsupportedError("Not supp orted"); } 1080 factory OfflineAudioCompletionEvent._() { throw new UnsupportedError("Not supp orted"); }
1080 1081
1081 @DomName('OfflineAudioCompletionEvent.renderedBuffer') 1082 @DomName('OfflineAudioCompletionEvent.renderedBuffer')
1082 @DocsEditable() 1083 @DocsEditable()
1083 AudioBuffer get renderedBuffer native "OfflineAudioCompletionEvent_renderedBuf fer_Getter"; 1084 AudioBuffer get renderedBuffer => blink.Native_OfflineAudioCompletionEvent_ren deredBuffer_Getter(this);
1084 1085
1085 } 1086 }
1086 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1087 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1087 // for details. All rights reserved. Use of this source code is governed by a 1088 // for details. All rights reserved. Use of this source code is governed by a
1088 // BSD-style license that can be found in the LICENSE file. 1089 // BSD-style license that can be found in the LICENSE file.
1089 1090
1090 // WARNING: Do not edit - generated code. 1091 // WARNING: Do not edit - generated code.
1091 1092
1092 1093
1093 @DocsEditable() 1094 @DocsEditable()
1094 @DomName('OfflineAudioContext') 1095 @DomName('OfflineAudioContext')
1095 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Offline AudioContext-section 1096 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Offline AudioContext-section
1096 @Experimental() 1097 @Experimental()
1097 class OfflineAudioContext extends AudioContext { 1098 class OfflineAudioContext extends AudioContext {
1098 // To suppress missing implicit constructor warnings. 1099 // To suppress missing implicit constructor warnings.
1099 factory OfflineAudioContext._() { throw new UnsupportedError("Not supported"); } 1100 factory OfflineAudioContext._() { throw new UnsupportedError("Not supported"); }
1100 1101
1101 @DomName('OfflineAudioContext.OfflineAudioContext') 1102 @DomName('OfflineAudioContext.OfflineAudioContext')
1102 @DocsEditable() 1103 @DocsEditable()
1103 factory OfflineAudioContext(int numberOfChannels, int numberOfFrames, num samp leRate) { 1104 factory OfflineAudioContext(int numberOfChannels, int numberOfFrames, num samp leRate) {
1104 return OfflineAudioContext._create_1(numberOfChannels, numberOfFrames, sampl eRate); 1105 return OfflineAudioContext._create_1(numberOfChannels, numberOfFrames, sampl eRate);
1105 } 1106 }
1106 1107
1107 @DocsEditable() 1108 @DocsEditable()
1108 static OfflineAudioContext _create_1(numberOfChannels, numberOfFrames, sampleR ate) native "OfflineAudioContext__create_1constructorCallback"; 1109 static OfflineAudioContext _create_1(numberOfChannels, numberOfFrames, sampleR ate) => blink.Native_OfflineAudioContext__create_1constructorCallback(numberOfCh annels, numberOfFrames, sampleRate);
1109 1110
1110 } 1111 }
1111 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1112 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1112 // for details. All rights reserved. Use of this source code is governed by a 1113 // for details. All rights reserved. Use of this source code is governed by a
1113 // BSD-style license that can be found in the LICENSE file. 1114 // BSD-style license that can be found in the LICENSE file.
1114 1115
1115 // WARNING: Do not edit - generated code. 1116 // WARNING: Do not edit - generated code.
1116 1117
1117 1118
1118 @DocsEditable() 1119 @DocsEditable()
(...skipping 26 matching lines...) Expand all
1145 @DomName('OscillatorNode.SCHEDULED_STATE') 1146 @DomName('OscillatorNode.SCHEDULED_STATE')
1146 @DocsEditable() 1147 @DocsEditable()
1147 static const int SCHEDULED_STATE = 1; 1148 static const int SCHEDULED_STATE = 1;
1148 1149
1149 @DomName('OscillatorNode.UNSCHEDULED_STATE') 1150 @DomName('OscillatorNode.UNSCHEDULED_STATE')
1150 @DocsEditable() 1151 @DocsEditable()
1151 static const int UNSCHEDULED_STATE = 0; 1152 static const int UNSCHEDULED_STATE = 0;
1152 1153
1153 @DomName('OscillatorNode.detune') 1154 @DomName('OscillatorNode.detune')
1154 @DocsEditable() 1155 @DocsEditable()
1155 AudioParam get detune native "OscillatorNode_detune_Getter"; 1156 AudioParam get detune => blink.Native_OscillatorNode_detune_Getter(this);
1156 1157
1157 @DomName('OscillatorNode.frequency') 1158 @DomName('OscillatorNode.frequency')
1158 @DocsEditable() 1159 @DocsEditable()
1159 AudioParam get frequency native "OscillatorNode_frequency_Getter"; 1160 AudioParam get frequency => blink.Native_OscillatorNode_frequency_Getter(this) ;
1160 1161
1161 @DomName('OscillatorNode.playbackState') 1162 @DomName('OscillatorNode.playbackState')
1162 @DocsEditable() 1163 @DocsEditable()
1163 int get playbackState native "OscillatorNode_playbackState_Getter"; 1164 int get playbackState => blink.Native_OscillatorNode_playbackState_Getter(this );
1164 1165
1165 @DomName('OscillatorNode.type') 1166 @DomName('OscillatorNode.type')
1166 @DocsEditable() 1167 @DocsEditable()
1167 String get type native "OscillatorNode_type_Getter"; 1168 String get type => blink.Native_OscillatorNode_type_Getter(this);
1168 1169
1169 @DomName('OscillatorNode.type') 1170 @DomName('OscillatorNode.type')
1170 @DocsEditable() 1171 @DocsEditable()
1171 void set type(String value) native "OscillatorNode_type_Setter"; 1172 void set type(String value) => blink.Native_OscillatorNode_type_Setter(this, v alue);
1172 1173
1173 @DomName('OscillatorNode.noteOff') 1174 @DomName('OscillatorNode.noteOff')
1174 @DocsEditable() 1175 @DocsEditable()
1175 void noteOff(num when) native "OscillatorNode_noteOff_Callback"; 1176 void noteOff(num when) => blink.Native_OscillatorNode_noteOff_Callback(this, w hen);
1176 1177
1177 @DomName('OscillatorNode.noteOn') 1178 @DomName('OscillatorNode.noteOn')
1178 @DocsEditable() 1179 @DocsEditable()
1179 void noteOn(num when) native "OscillatorNode_noteOn_Callback"; 1180 void noteOn(num when) => blink.Native_OscillatorNode_noteOn_Callback(this, whe n);
1180 1181
1181 @DomName('OscillatorNode.setPeriodicWave') 1182 @DomName('OscillatorNode.setPeriodicWave')
1182 @DocsEditable() 1183 @DocsEditable()
1183 @Experimental() // untriaged 1184 @Experimental() // untriaged
1184 void setPeriodicWave(PeriodicWave periodicWave) native "OscillatorNode_setPeri odicWave_Callback"; 1185 void setPeriodicWave(PeriodicWave periodicWave) => blink.Native_OscillatorNode _setPeriodicWave_Callback(this, periodicWave);
1185 1186
1186 void start([num when]) { 1187 void start([num when]) {
1187 if (when != null) { 1188 if (when != null) {
1188 _start_1(when); 1189 _start_1(when);
1189 return; 1190 return;
1190 } 1191 }
1191 _start_2(); 1192 _start_2();
1192 return; 1193 return;
1193 } 1194 }
1194 1195
1195 void _start_1(when) native "OscillatorNode__start_1_Callback"; 1196 void _start_1(when) => blink.Native_OscillatorNode__start_1_Callback(this, whe n);
1196 1197
1197 void _start_2() native "OscillatorNode__start_2_Callback"; 1198 void _start_2() => blink.Native_OscillatorNode__start_2_Callback(this);
1198 1199
1199 void stop([num when]) { 1200 void stop([num when]) {
1200 if (when != null) { 1201 if (when != null) {
1201 _stop_1(when); 1202 _stop_1(when);
1202 return; 1203 return;
1203 } 1204 }
1204 _stop_2(); 1205 _stop_2();
1205 return; 1206 return;
1206 } 1207 }
1207 1208
1208 void _stop_1(when) native "OscillatorNode__stop_1_Callback"; 1209 void _stop_1(when) => blink.Native_OscillatorNode__stop_1_Callback(this, when) ;
1209 1210
1210 void _stop_2() native "OscillatorNode__stop_2_Callback"; 1211 void _stop_2() => blink.Native_OscillatorNode__stop_2_Callback(this);
1211 1212
1212 /// Stream of `ended` events handled by this [OscillatorNode]. 1213 /// Stream of `ended` events handled by this [OscillatorNode].
1213 @DomName('OscillatorNode.onended') 1214 @DomName('OscillatorNode.onended')
1214 @DocsEditable() 1215 @DocsEditable()
1215 @Experimental() // untriaged 1216 @Experimental() // untriaged
1216 Stream<Event> get onEnded => endedEvent.forTarget(this); 1217 Stream<Event> get onEnded => endedEvent.forTarget(this);
1217 1218
1218 } 1219 }
1219 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1220 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1220 // for details. All rights reserved. Use of this source code is governed by a 1221 // for details. All rights reserved. Use of this source code is governed by a
1221 // BSD-style license that can be found in the LICENSE file. 1222 // BSD-style license that can be found in the LICENSE file.
1222 1223
1223 // WARNING: Do not edit - generated code. 1224 // WARNING: Do not edit - generated code.
1224 1225
1225 1226
1226 @DocsEditable() 1227 @DocsEditable()
1227 @DomName('PannerNode') 1228 @DomName('PannerNode')
1228 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#PannerN ode 1229 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#PannerN ode
1229 @Experimental() 1230 @Experimental()
1230 class PannerNode extends AudioNode { 1231 class PannerNode extends AudioNode {
1231 // To suppress missing implicit constructor warnings. 1232 // To suppress missing implicit constructor warnings.
1232 factory PannerNode._() { throw new UnsupportedError("Not supported"); } 1233 factory PannerNode._() { throw new UnsupportedError("Not supported"); }
1233 1234
1234 @DomName('PannerNode.coneInnerAngle') 1235 @DomName('PannerNode.coneInnerAngle')
1235 @DocsEditable() 1236 @DocsEditable()
1236 num get coneInnerAngle native "PannerNode_coneInnerAngle_Getter"; 1237 num get coneInnerAngle => blink.Native_PannerNode_coneInnerAngle_Getter(this);
1237 1238
1238 @DomName('PannerNode.coneInnerAngle') 1239 @DomName('PannerNode.coneInnerAngle')
1239 @DocsEditable() 1240 @DocsEditable()
1240 void set coneInnerAngle(num value) native "PannerNode_coneInnerAngle_Setter"; 1241 void set coneInnerAngle(num value) => blink.Native_PannerNode_coneInnerAngle_S etter(this, value);
1241 1242
1242 @DomName('PannerNode.coneOuterAngle') 1243 @DomName('PannerNode.coneOuterAngle')
1243 @DocsEditable() 1244 @DocsEditable()
1244 num get coneOuterAngle native "PannerNode_coneOuterAngle_Getter"; 1245 num get coneOuterAngle => blink.Native_PannerNode_coneOuterAngle_Getter(this);
1245 1246
1246 @DomName('PannerNode.coneOuterAngle') 1247 @DomName('PannerNode.coneOuterAngle')
1247 @DocsEditable() 1248 @DocsEditable()
1248 void set coneOuterAngle(num value) native "PannerNode_coneOuterAngle_Setter"; 1249 void set coneOuterAngle(num value) => blink.Native_PannerNode_coneOuterAngle_S etter(this, value);
1249 1250
1250 @DomName('PannerNode.coneOuterGain') 1251 @DomName('PannerNode.coneOuterGain')
1251 @DocsEditable() 1252 @DocsEditable()
1252 num get coneOuterGain native "PannerNode_coneOuterGain_Getter"; 1253 num get coneOuterGain => blink.Native_PannerNode_coneOuterGain_Getter(this);
1253 1254
1254 @DomName('PannerNode.coneOuterGain') 1255 @DomName('PannerNode.coneOuterGain')
1255 @DocsEditable() 1256 @DocsEditable()
1256 void set coneOuterGain(num value) native "PannerNode_coneOuterGain_Setter"; 1257 void set coneOuterGain(num value) => blink.Native_PannerNode_coneOuterGain_Set ter(this, value);
1257 1258
1258 @DomName('PannerNode.distanceModel') 1259 @DomName('PannerNode.distanceModel')
1259 @DocsEditable() 1260 @DocsEditable()
1260 String get distanceModel native "PannerNode_distanceModel_Getter"; 1261 String get distanceModel => blink.Native_PannerNode_distanceModel_Getter(this) ;
1261 1262
1262 @DomName('PannerNode.distanceModel') 1263 @DomName('PannerNode.distanceModel')
1263 @DocsEditable() 1264 @DocsEditable()
1264 void set distanceModel(String value) native "PannerNode_distanceModel_Setter"; 1265 void set distanceModel(String value) => blink.Native_PannerNode_distanceModel_ Setter(this, value);
1265 1266
1266 @DomName('PannerNode.maxDistance') 1267 @DomName('PannerNode.maxDistance')
1267 @DocsEditable() 1268 @DocsEditable()
1268 num get maxDistance native "PannerNode_maxDistance_Getter"; 1269 num get maxDistance => blink.Native_PannerNode_maxDistance_Getter(this);
1269 1270
1270 @DomName('PannerNode.maxDistance') 1271 @DomName('PannerNode.maxDistance')
1271 @DocsEditable() 1272 @DocsEditable()
1272 void set maxDistance(num value) native "PannerNode_maxDistance_Setter"; 1273 void set maxDistance(num value) => blink.Native_PannerNode_maxDistance_Setter( this, value);
1273 1274
1274 @DomName('PannerNode.panningModel') 1275 @DomName('PannerNode.panningModel')
1275 @DocsEditable() 1276 @DocsEditable()
1276 String get panningModel native "PannerNode_panningModel_Getter"; 1277 String get panningModel => blink.Native_PannerNode_panningModel_Getter(this);
1277 1278
1278 @DomName('PannerNode.panningModel') 1279 @DomName('PannerNode.panningModel')
1279 @DocsEditable() 1280 @DocsEditable()
1280 void set panningModel(String value) native "PannerNode_panningModel_Setter"; 1281 void set panningModel(String value) => blink.Native_PannerNode_panningModel_Se tter(this, value);
1281 1282
1282 @DomName('PannerNode.refDistance') 1283 @DomName('PannerNode.refDistance')
1283 @DocsEditable() 1284 @DocsEditable()
1284 num get refDistance native "PannerNode_refDistance_Getter"; 1285 num get refDistance => blink.Native_PannerNode_refDistance_Getter(this);
1285 1286
1286 @DomName('PannerNode.refDistance') 1287 @DomName('PannerNode.refDistance')
1287 @DocsEditable() 1288 @DocsEditable()
1288 void set refDistance(num value) native "PannerNode_refDistance_Setter"; 1289 void set refDistance(num value) => blink.Native_PannerNode_refDistance_Setter( this, value);
1289 1290
1290 @DomName('PannerNode.rolloffFactor') 1291 @DomName('PannerNode.rolloffFactor')
1291 @DocsEditable() 1292 @DocsEditable()
1292 num get rolloffFactor native "PannerNode_rolloffFactor_Getter"; 1293 num get rolloffFactor => blink.Native_PannerNode_rolloffFactor_Getter(this);
1293 1294
1294 @DomName('PannerNode.rolloffFactor') 1295 @DomName('PannerNode.rolloffFactor')
1295 @DocsEditable() 1296 @DocsEditable()
1296 void set rolloffFactor(num value) native "PannerNode_rolloffFactor_Setter"; 1297 void set rolloffFactor(num value) => blink.Native_PannerNode_rolloffFactor_Set ter(this, value);
1297 1298
1298 @DomName('PannerNode.setOrientation') 1299 @DomName('PannerNode.setOrientation')
1299 @DocsEditable() 1300 @DocsEditable()
1300 void setOrientation(num x, num y, num z) native "PannerNode_setOrientation_Cal lback"; 1301 void setOrientation(num x, num y, num z) => blink.Native_PannerNode_setOrienta tion_Callback(this, x, y, z);
1301 1302
1302 @DomName('PannerNode.setPosition') 1303 @DomName('PannerNode.setPosition')
1303 @DocsEditable() 1304 @DocsEditable()
1304 void setPosition(num x, num y, num z) native "PannerNode_setPosition_Callback" ; 1305 void setPosition(num x, num y, num z) => blink.Native_PannerNode_setPosition_C allback(this, x, y, z);
1305 1306
1306 @DomName('PannerNode.setVelocity') 1307 @DomName('PannerNode.setVelocity')
1307 @DocsEditable() 1308 @DocsEditable()
1308 void setVelocity(num x, num y, num z) native "PannerNode_setVelocity_Callback" ; 1309 void setVelocity(num x, num y, num z) => blink.Native_PannerNode_setVelocity_C allback(this, x, y, z);
1309 1310
1310 } 1311 }
1311 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1312 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1312 // for details. All rights reserved. Use of this source code is governed by a 1313 // for details. All rights reserved. Use of this source code is governed by a
1313 // BSD-style license that can be found in the LICENSE file. 1314 // BSD-style license that can be found in the LICENSE file.
1314 1315
1315 // WARNING: Do not edit - generated code. 1316 // WARNING: Do not edit - generated code.
1316 1317
1317 1318
1318 @DocsEditable() 1319 @DocsEditable()
(...skipping 25 matching lines...) Expand all
1344 * 1345 *
1345 * See [EventStreamProvider] for usage information. 1346 * See [EventStreamProvider] for usage information.
1346 */ 1347 */
1347 @DomName('ScriptProcessorNode.audioprocessEvent') 1348 @DomName('ScriptProcessorNode.audioprocessEvent')
1348 @DocsEditable() 1349 @DocsEditable()
1349 @Experimental() // untriaged 1350 @Experimental() // untriaged
1350 static const EventStreamProvider<AudioProcessingEvent> audioProcessEvent = con st EventStreamProvider<AudioProcessingEvent>('audioprocess'); 1351 static const EventStreamProvider<AudioProcessingEvent> audioProcessEvent = con st EventStreamProvider<AudioProcessingEvent>('audioprocess');
1351 1352
1352 @DomName('ScriptProcessorNode.bufferSize') 1353 @DomName('ScriptProcessorNode.bufferSize')
1353 @DocsEditable() 1354 @DocsEditable()
1354 int get bufferSize native "ScriptProcessorNode_bufferSize_Getter"; 1355 int get bufferSize => blink.Native_ScriptProcessorNode_bufferSize_Getter(this) ;
1355 1356
1356 @DomName('ScriptProcessorNode._setEventListener') 1357 @DomName('ScriptProcessorNode._setEventListener')
1357 @DocsEditable() 1358 @DocsEditable()
1358 @Experimental() // non-standard 1359 @Experimental() // non-standard
1359 void _setEventListener(EventListener eventListener) native "ScriptProcessorNod e__setEventListener_Callback"; 1360 void _setEventListener(EventListener eventListener) => blink.Native_ScriptProc essorNode__setEventListener_Callback(this, eventListener);
1360 1361
1361 /// Stream of `audioprocess` events handled by this [ScriptProcessorNode]. 1362 /// Stream of `audioprocess` events handled by this [ScriptProcessorNode].
1362 /** 1363 /**
1363 * Get a Stream that fires events when AudioProcessingEvents occur. 1364 * Get a Stream that fires events when AudioProcessingEvents occur.
1364 * This particular stream is special in that it only allows one listener to a 1365 * This particular stream is special in that it only allows one listener to a
1365 * given stream. Converting the returned Stream [asBroadcast] will likely ruin 1366 * given stream. Converting the returned Stream [asBroadcast] will likely ruin
1366 * the soft-real-time properties which which these events are fired and can 1367 * the soft-real-time properties which which these events are fired and can
1367 * be processed. 1368 * be processed.
1368 */ 1369 */
1369 @DomName('ScriptProcessorNode.onaudioprocess') 1370 @DomName('ScriptProcessorNode.onaudioprocess')
(...skipping 12 matching lines...) Expand all
1382 @DocsEditable() 1383 @DocsEditable()
1383 @DomName('WaveShaperNode') 1384 @DomName('WaveShaperNode')
1384 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#dfn-Wav eShaperNode 1385 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#dfn-Wav eShaperNode
1385 @Experimental() 1386 @Experimental()
1386 class WaveShaperNode extends AudioNode { 1387 class WaveShaperNode extends AudioNode {
1387 // To suppress missing implicit constructor warnings. 1388 // To suppress missing implicit constructor warnings.
1388 factory WaveShaperNode._() { throw new UnsupportedError("Not supported"); } 1389 factory WaveShaperNode._() { throw new UnsupportedError("Not supported"); }
1389 1390
1390 @DomName('WaveShaperNode.curve') 1391 @DomName('WaveShaperNode.curve')
1391 @DocsEditable() 1392 @DocsEditable()
1392 Float32List get curve native "WaveShaperNode_curve_Getter"; 1393 Float32List get curve => blink.Native_WaveShaperNode_curve_Getter(this);
1393 1394
1394 @DomName('WaveShaperNode.curve') 1395 @DomName('WaveShaperNode.curve')
1395 @DocsEditable() 1396 @DocsEditable()
1396 void set curve(Float32List value) native "WaveShaperNode_curve_Setter"; 1397 void set curve(Float32List value) => blink.Native_WaveShaperNode_curve_Setter( this, value);
1397 1398
1398 @DomName('WaveShaperNode.oversample') 1399 @DomName('WaveShaperNode.oversample')
1399 @DocsEditable() 1400 @DocsEditable()
1400 String get oversample native "WaveShaperNode_oversample_Getter"; 1401 String get oversample => blink.Native_WaveShaperNode_oversample_Getter(this);
1401 1402
1402 @DomName('WaveShaperNode.oversample') 1403 @DomName('WaveShaperNode.oversample')
1403 @DocsEditable() 1404 @DocsEditable()
1404 void set oversample(String value) native "WaveShaperNode_oversample_Setter"; 1405 void set oversample(String value) => blink.Native_WaveShaperNode_oversample_Se tter(this, value);
1405 1406
1406 } 1407 }
OLDNEW
« no previous file with comments | « sdk/lib/svg/dartium/svg_dartium.dart ('k') | sdk/lib/web_gl/dartium/web_gl_dartium.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698