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

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

Issue 319283003: Refactor dart:_blink into classes to improve startup time (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Rebase Created 6 years, 6 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 import 'dart:_blink' as _blink;
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 @DocsEditable() 55 @DocsEditable()
56 @DomName('AnalyserNode') 56 @DomName('AnalyserNode')
57 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Analyse rNode 57 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Analyse rNode
58 @Experimental() 58 @Experimental()
59 class AnalyserNode extends AudioNode { 59 class AnalyserNode extends AudioNode {
60 // To suppress missing implicit constructor warnings. 60 // To suppress missing implicit constructor warnings.
61 factory AnalyserNode._() { throw new UnsupportedError("Not supported"); } 61 factory AnalyserNode._() { throw new UnsupportedError("Not supported"); }
62 62
63 @DomName('AnalyserNode.fftSize') 63 @DomName('AnalyserNode.fftSize')
64 @DocsEditable() 64 @DocsEditable()
65 int get fftSize => _blink.Native_AnalyserNode_fftSize_Getter(this); 65 int get fftSize => _blink.BlinkAnalyserNode.$fftSize_Getter(this);
66 66
67 @DomName('AnalyserNode.fftSize') 67 @DomName('AnalyserNode.fftSize')
68 @DocsEditable() 68 @DocsEditable()
69 void set fftSize(int value) => _blink.Native_AnalyserNode_fftSize_Setter(this, value); 69 void set fftSize(int value) => _blink.BlinkAnalyserNode.$fftSize_Setter(this, value);
70 70
71 @DomName('AnalyserNode.frequencyBinCount') 71 @DomName('AnalyserNode.frequencyBinCount')
72 @DocsEditable() 72 @DocsEditable()
73 int get frequencyBinCount => _blink.Native_AnalyserNode_frequencyBinCount_Gett er(this); 73 int get frequencyBinCount => _blink.BlinkAnalyserNode.$frequencyBinCount_Gette r(this);
74 74
75 @DomName('AnalyserNode.maxDecibels') 75 @DomName('AnalyserNode.maxDecibels')
76 @DocsEditable() 76 @DocsEditable()
77 num get maxDecibels => _blink.Native_AnalyserNode_maxDecibels_Getter(this); 77 num get maxDecibels => _blink.BlinkAnalyserNode.$maxDecibels_Getter(this);
78 78
79 @DomName('AnalyserNode.maxDecibels') 79 @DomName('AnalyserNode.maxDecibels')
80 @DocsEditable() 80 @DocsEditable()
81 void set maxDecibels(num value) => _blink.Native_AnalyserNode_maxDecibels_Sett er(this, value); 81 void set maxDecibels(num value) => _blink.BlinkAnalyserNode.$maxDecibels_Sette r(this, value);
82 82
83 @DomName('AnalyserNode.minDecibels') 83 @DomName('AnalyserNode.minDecibels')
84 @DocsEditable() 84 @DocsEditable()
85 num get minDecibels => _blink.Native_AnalyserNode_minDecibels_Getter(this); 85 num get minDecibels => _blink.BlinkAnalyserNode.$minDecibels_Getter(this);
86 86
87 @DomName('AnalyserNode.minDecibels') 87 @DomName('AnalyserNode.minDecibels')
88 @DocsEditable() 88 @DocsEditable()
89 void set minDecibels(num value) => _blink.Native_AnalyserNode_minDecibels_Sett er(this, value); 89 void set minDecibels(num value) => _blink.BlinkAnalyserNode.$minDecibels_Sette r(this, value);
90 90
91 @DomName('AnalyserNode.smoothingTimeConstant') 91 @DomName('AnalyserNode.smoothingTimeConstant')
92 @DocsEditable() 92 @DocsEditable()
93 num get smoothingTimeConstant => _blink.Native_AnalyserNode_smoothingTimeConst ant_Getter(this); 93 num get smoothingTimeConstant => _blink.BlinkAnalyserNode.$smoothingTimeConsta nt_Getter(this);
94 94
95 @DomName('AnalyserNode.smoothingTimeConstant') 95 @DomName('AnalyserNode.smoothingTimeConstant')
96 @DocsEditable() 96 @DocsEditable()
97 void set smoothingTimeConstant(num value) => _blink.Native_AnalyserNode_smooth ingTimeConstant_Setter(this, value); 97 void set smoothingTimeConstant(num value) => _blink.BlinkAnalyserNode.$smoothi ngTimeConstant_Setter(this, value);
98 98
99 @DomName('AnalyserNode.getByteFrequencyData') 99 @DomName('AnalyserNode.getByteFrequencyData')
100 @DocsEditable() 100 @DocsEditable()
101 void getByteFrequencyData(Uint8List array) => _blink.Native_AnalyserNode_getBy teFrequencyData_Callback(this, array); 101 void getByteFrequencyData(Uint8List array) => _blink.BlinkAnalyserNode.$getByt eFrequencyData_Callback(this, array);
102 102
103 @DomName('AnalyserNode.getByteTimeDomainData') 103 @DomName('AnalyserNode.getByteTimeDomainData')
104 @DocsEditable() 104 @DocsEditable()
105 void getByteTimeDomainData(Uint8List array) => _blink.Native_AnalyserNode_getB yteTimeDomainData_Callback(this, array); 105 void getByteTimeDomainData(Uint8List array) => _blink.BlinkAnalyserNode.$getBy teTimeDomainData_Callback(this, array);
106 106
107 @DomName('AnalyserNode.getFloatFrequencyData') 107 @DomName('AnalyserNode.getFloatFrequencyData')
108 @DocsEditable() 108 @DocsEditable()
109 void getFloatFrequencyData(Float32List array) => _blink.Native_AnalyserNode_ge tFloatFrequencyData_Callback(this, array); 109 void getFloatFrequencyData(Float32List array) => _blink.BlinkAnalyserNode.$get FloatFrequencyData_Callback(this, array);
110 110
111 } 111 }
112 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 112 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
113 // for details. All rights reserved. Use of this source code is governed by a 113 // for details. All rights reserved. Use of this source code is governed by a
114 // BSD-style license that can be found in the LICENSE file. 114 // BSD-style license that can be found in the LICENSE file.
115 115
116 // WARNING: Do not edit - generated code. 116 // WARNING: Do not edit - generated code.
117 117
118 118
119 @DocsEditable() 119 @DocsEditable()
120 @DomName('AudioBuffer') 120 @DomName('AudioBuffer')
121 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioBu ffer-section 121 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioBu ffer-section
122 @Experimental() 122 @Experimental()
123 class AudioBuffer extends NativeFieldWrapperClass2 { 123 class AudioBuffer extends NativeFieldWrapperClass2 {
124 // To suppress missing implicit constructor warnings. 124 // To suppress missing implicit constructor warnings.
125 factory AudioBuffer._() { throw new UnsupportedError("Not supported"); } 125 factory AudioBuffer._() { throw new UnsupportedError("Not supported"); }
126 126
127 @DomName('AudioBuffer.duration') 127 @DomName('AudioBuffer.duration')
128 @DocsEditable() 128 @DocsEditable()
129 double get duration => _blink.Native_AudioBuffer_duration_Getter(this); 129 double get duration => _blink.BlinkAudioBuffer.$duration_Getter(this);
130 130
131 @DomName('AudioBuffer.length') 131 @DomName('AudioBuffer.length')
132 @DocsEditable() 132 @DocsEditable()
133 int get length => _blink.Native_AudioBuffer_length_Getter(this); 133 int get length => _blink.BlinkAudioBuffer.$length_Getter(this);
134 134
135 @DomName('AudioBuffer.numberOfChannels') 135 @DomName('AudioBuffer.numberOfChannels')
136 @DocsEditable() 136 @DocsEditable()
137 int get numberOfChannels => _blink.Native_AudioBuffer_numberOfChannels_Getter( this); 137 int get numberOfChannels => _blink.BlinkAudioBuffer.$numberOfChannels_Getter(t his);
138 138
139 @DomName('AudioBuffer.sampleRate') 139 @DomName('AudioBuffer.sampleRate')
140 @DocsEditable() 140 @DocsEditable()
141 double get sampleRate => _blink.Native_AudioBuffer_sampleRate_Getter(this); 141 double get sampleRate => _blink.BlinkAudioBuffer.$sampleRate_Getter(this);
142 142
143 @DomName('AudioBuffer.getChannelData') 143 @DomName('AudioBuffer.getChannelData')
144 @DocsEditable() 144 @DocsEditable()
145 Float32List getChannelData(int channelIndex) => _blink.Native_AudioBuffer_getC hannelData_Callback(this, channelIndex); 145 Float32List getChannelData(int channelIndex) => _blink.BlinkAudioBuffer.$getCh annelData_Callback(this, channelIndex);
146 146
147 } 147 }
148 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 148 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
149 // for details. All rights reserved. Use of this source code is governed by a 149 // for details. All rights reserved. Use of this source code is governed by a
150 // BSD-style license that can be found in the LICENSE file. 150 // BSD-style license that can be found in the LICENSE file.
151 151
152 // WARNING: Do not edit - generated code. 152 // WARNING: Do not edit - generated code.
153 153
154 154
155 @DomName('AudioBufferCallback') 155 @DomName('AudioBufferCallback')
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
193 @DomName('AudioBufferSourceNode.SCHEDULED_STATE') 193 @DomName('AudioBufferSourceNode.SCHEDULED_STATE')
194 @DocsEditable() 194 @DocsEditable()
195 static const int SCHEDULED_STATE = 1; 195 static const int SCHEDULED_STATE = 1;
196 196
197 @DomName('AudioBufferSourceNode.UNSCHEDULED_STATE') 197 @DomName('AudioBufferSourceNode.UNSCHEDULED_STATE')
198 @DocsEditable() 198 @DocsEditable()
199 static const int UNSCHEDULED_STATE = 0; 199 static const int UNSCHEDULED_STATE = 0;
200 200
201 @DomName('AudioBufferSourceNode.buffer') 201 @DomName('AudioBufferSourceNode.buffer')
202 @DocsEditable() 202 @DocsEditable()
203 AudioBuffer get buffer => _blink.Native_AudioBufferSourceNode_buffer_Getter(th is); 203 AudioBuffer get buffer => _blink.BlinkAudioBufferSourceNode.$buffer_Getter(thi s);
204 204
205 @DomName('AudioBufferSourceNode.buffer') 205 @DomName('AudioBufferSourceNode.buffer')
206 @DocsEditable() 206 @DocsEditable()
207 void set buffer(AudioBuffer value) => _blink.Native_AudioBufferSourceNode_buff er_Setter(this, value); 207 void set buffer(AudioBuffer value) => _blink.BlinkAudioBufferSourceNode.$buffe r_Setter(this, value);
208 208
209 @DomName('AudioBufferSourceNode.loop') 209 @DomName('AudioBufferSourceNode.loop')
210 @DocsEditable() 210 @DocsEditable()
211 bool get loop => _blink.Native_AudioBufferSourceNode_loop_Getter(this); 211 bool get loop => _blink.BlinkAudioBufferSourceNode.$loop_Getter(this);
212 212
213 @DomName('AudioBufferSourceNode.loop') 213 @DomName('AudioBufferSourceNode.loop')
214 @DocsEditable() 214 @DocsEditable()
215 void set loop(bool value) => _blink.Native_AudioBufferSourceNode_loop_Setter(t his, value); 215 void set loop(bool value) => _blink.BlinkAudioBufferSourceNode.$loop_Setter(th is, value);
216 216
217 @DomName('AudioBufferSourceNode.loopEnd') 217 @DomName('AudioBufferSourceNode.loopEnd')
218 @DocsEditable() 218 @DocsEditable()
219 num get loopEnd => _blink.Native_AudioBufferSourceNode_loopEnd_Getter(this); 219 num get loopEnd => _blink.BlinkAudioBufferSourceNode.$loopEnd_Getter(this);
220 220
221 @DomName('AudioBufferSourceNode.loopEnd') 221 @DomName('AudioBufferSourceNode.loopEnd')
222 @DocsEditable() 222 @DocsEditable()
223 void set loopEnd(num value) => _blink.Native_AudioBufferSourceNode_loopEnd_Set ter(this, value); 223 void set loopEnd(num value) => _blink.BlinkAudioBufferSourceNode.$loopEnd_Sett er(this, value);
224 224
225 @DomName('AudioBufferSourceNode.loopStart') 225 @DomName('AudioBufferSourceNode.loopStart')
226 @DocsEditable() 226 @DocsEditable()
227 num get loopStart => _blink.Native_AudioBufferSourceNode_loopStart_Getter(this ); 227 num get loopStart => _blink.BlinkAudioBufferSourceNode.$loopStart_Getter(this) ;
228 228
229 @DomName('AudioBufferSourceNode.loopStart') 229 @DomName('AudioBufferSourceNode.loopStart')
230 @DocsEditable() 230 @DocsEditable()
231 void set loopStart(num value) => _blink.Native_AudioBufferSourceNode_loopStart _Setter(this, value); 231 void set loopStart(num value) => _blink.BlinkAudioBufferSourceNode.$loopStart_ Setter(this, value);
232 232
233 @DomName('AudioBufferSourceNode.playbackRate') 233 @DomName('AudioBufferSourceNode.playbackRate')
234 @DocsEditable() 234 @DocsEditable()
235 AudioParam get playbackRate => _blink.Native_AudioBufferSourceNode_playbackRat e_Getter(this); 235 AudioParam get playbackRate => _blink.BlinkAudioBufferSourceNode.$playbackRate _Getter(this);
236 236
237 @DomName('AudioBufferSourceNode.noteGrainOn') 237 @DomName('AudioBufferSourceNode.noteGrainOn')
238 @DocsEditable() 238 @DocsEditable()
239 void noteGrainOn(num when, num grainOffset, num grainDuration) => _blink.Nativ e_AudioBufferSourceNode_noteGrainOn_Callback(this, when, grainOffset, grainDurat ion); 239 void noteGrainOn(num when, num grainOffset, num grainDuration) => _blink.Blink AudioBufferSourceNode.$noteGrainOn_Callback(this, when, grainOffset, grainDurati on);
240 240
241 @DomName('AudioBufferSourceNode.noteOff') 241 @DomName('AudioBufferSourceNode.noteOff')
242 @DocsEditable() 242 @DocsEditable()
243 void noteOff(num when) => _blink.Native_AudioBufferSourceNode_noteOff_Callback (this, when); 243 void noteOff(num when) => _blink.BlinkAudioBufferSourceNode.$noteOff_Callback( this, when);
244 244
245 @DomName('AudioBufferSourceNode.noteOn') 245 @DomName('AudioBufferSourceNode.noteOn')
246 @DocsEditable() 246 @DocsEditable()
247 void noteOn(num when) => _blink.Native_AudioBufferSourceNode_noteOn_Callback(t his, when); 247 void noteOn(num when) => _blink.BlinkAudioBufferSourceNode.$noteOn_Callback(th is, when);
248 248
249 void start([num when, num grainOffset, num grainDuration]) => _blink.Native_Au dioBufferSourceNode_start(this, when, grainOffset, grainDuration); 249 void start([num when, num grainOffset, num grainDuration]) => _blink.BlinkAudi oBufferSourceNode.$start(this, when, grainOffset, grainDuration);
250 250
251 void stop([num when]) => _blink.Native_AudioBufferSourceNode_stop(this, when); 251 void stop([num when]) => _blink.BlinkAudioBufferSourceNode.$stop(this, when);
252 252
253 /// Stream of `ended` events handled by this [AudioBufferSourceNode]. 253 /// Stream of `ended` events handled by this [AudioBufferSourceNode].
254 @DomName('AudioBufferSourceNode.onended') 254 @DomName('AudioBufferSourceNode.onended')
255 @DocsEditable() 255 @DocsEditable()
256 @Experimental() // untriaged 256 @Experimental() // untriaged
257 Stream<Event> get onEnded => endedEvent.forTarget(this); 257 Stream<Event> get onEnded => endedEvent.forTarget(this);
258 258
259 } 259 }
260 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 260 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
261 // for details. All rights reserved. Use of this source code is governed by a 261 // for details. All rights reserved. Use of this source code is governed by a
(...skipping 12 matching lines...) Expand all
274 * handlers that are not necessarily instances of [AudioContext]. 274 * handlers that are not necessarily instances of [AudioContext].
275 * 275 *
276 * See [EventStreamProvider] for usage information. 276 * See [EventStreamProvider] for usage information.
277 */ 277 */
278 @DomName('AudioContext.completeEvent') 278 @DomName('AudioContext.completeEvent')
279 @DocsEditable() 279 @DocsEditable()
280 static const EventStreamProvider<Event> completeEvent = const EventStreamProvi der<Event>('complete'); 280 static const EventStreamProvider<Event> completeEvent = const EventStreamProvi der<Event>('complete');
281 281
282 @DomName('AudioContext.AudioContext') 282 @DomName('AudioContext.AudioContext')
283 @DocsEditable() 283 @DocsEditable()
284 factory AudioContext() => _blink.Native_AudioContext_AudioContext(); 284 factory AudioContext() => _blink.BlinkAudioContext.$mkAudioContext();
285 285
286 /// Checks if this type is supported on the current platform. 286 /// Checks if this type is supported on the current platform.
287 static bool get supported => true; 287 static bool get supported => true;
288 288
289 @DomName('AudioContext.currentTime') 289 @DomName('AudioContext.currentTime')
290 @DocsEditable() 290 @DocsEditable()
291 double get currentTime => _blink.Native_AudioContext_currentTime_Getter(this); 291 double get currentTime => _blink.BlinkAudioContext.$currentTime_Getter(this);
292 292
293 @DomName('AudioContext.destination') 293 @DomName('AudioContext.destination')
294 @DocsEditable() 294 @DocsEditable()
295 AudioDestinationNode get destination => _blink.Native_AudioContext_destination _Getter(this); 295 AudioDestinationNode get destination => _blink.BlinkAudioContext.$destination_ Getter(this);
296 296
297 @DomName('AudioContext.listener') 297 @DomName('AudioContext.listener')
298 @DocsEditable() 298 @DocsEditable()
299 AudioListener get listener => _blink.Native_AudioContext_listener_Getter(this) ; 299 AudioListener get listener => _blink.BlinkAudioContext.$listener_Getter(this);
300 300
301 @DomName('AudioContext.sampleRate') 301 @DomName('AudioContext.sampleRate')
302 @DocsEditable() 302 @DocsEditable()
303 double get sampleRate => _blink.Native_AudioContext_sampleRate_Getter(this); 303 double get sampleRate => _blink.BlinkAudioContext.$sampleRate_Getter(this);
304 304
305 @DomName('AudioContext.createAnalyser') 305 @DomName('AudioContext.createAnalyser')
306 @DocsEditable() 306 @DocsEditable()
307 AnalyserNode createAnalyser() => _blink.Native_AudioContext_createAnalyser_Cal lback(this); 307 AnalyserNode createAnalyser() => _blink.BlinkAudioContext.$createAnalyser_Call back(this);
308 308
309 @DomName('AudioContext.createBiquadFilter') 309 @DomName('AudioContext.createBiquadFilter')
310 @DocsEditable() 310 @DocsEditable()
311 BiquadFilterNode createBiquadFilter() => _blink.Native_AudioContext_createBiqu adFilter_Callback(this); 311 BiquadFilterNode createBiquadFilter() => _blink.BlinkAudioContext.$createBiqua dFilter_Callback(this);
312 312
313 @DomName('AudioContext.createBuffer') 313 @DomName('AudioContext.createBuffer')
314 @DocsEditable() 314 @DocsEditable()
315 AudioBuffer createBuffer(int numberOfChannels, int numberOfFrames, num sampleR ate) => _blink.Native_AudioContext_createBuffer_Callback(this, numberOfChannels, numberOfFrames, sampleRate); 315 AudioBuffer createBuffer(int numberOfChannels, int numberOfFrames, num sampleR ate) => _blink.BlinkAudioContext.$createBuffer_Callback(this, numberOfChannels, numberOfFrames, sampleRate);
316 316
317 @DomName('AudioContext.createBufferSource') 317 @DomName('AudioContext.createBufferSource')
318 @DocsEditable() 318 @DocsEditable()
319 AudioBufferSourceNode createBufferSource() => _blink.Native_AudioContext_creat eBufferSource_Callback(this); 319 AudioBufferSourceNode createBufferSource() => _blink.BlinkAudioContext.$create BufferSource_Callback(this);
320 320
321 ChannelMergerNode createChannelMerger([int numberOfInputs]) => _blink.Native_A udioContext_createChannelMerger(this, numberOfInputs); 321 ChannelMergerNode createChannelMerger([int numberOfInputs]) => _blink.BlinkAud ioContext.$createChannelMerger(this, numberOfInputs);
322 322
323 ChannelSplitterNode createChannelSplitter([int numberOfOutputs]) => _blink.Nat ive_AudioContext_createChannelSplitter(this, numberOfOutputs); 323 ChannelSplitterNode createChannelSplitter([int numberOfOutputs]) => _blink.Bli nkAudioContext.$createChannelSplitter(this, numberOfOutputs);
324 324
325 @DomName('AudioContext.createConvolver') 325 @DomName('AudioContext.createConvolver')
326 @DocsEditable() 326 @DocsEditable()
327 ConvolverNode createConvolver() => _blink.Native_AudioContext_createConvolver_ Callback(this); 327 ConvolverNode createConvolver() => _blink.BlinkAudioContext.$createConvolver_C allback(this);
328 328
329 DelayNode createDelay([num maxDelayTime]) => _blink.Native_AudioContext_create Delay(this, maxDelayTime); 329 DelayNode createDelay([num maxDelayTime]) => _blink.BlinkAudioContext.$createD elay(this, maxDelayTime);
330 330
331 @DomName('AudioContext.createDynamicsCompressor') 331 @DomName('AudioContext.createDynamicsCompressor')
332 @DocsEditable() 332 @DocsEditable()
333 DynamicsCompressorNode createDynamicsCompressor() => _blink.Native_AudioContex t_createDynamicsCompressor_Callback(this); 333 DynamicsCompressorNode createDynamicsCompressor() => _blink.BlinkAudioContext. $createDynamicsCompressor_Callback(this);
334 334
335 @DomName('AudioContext.createGain') 335 @DomName('AudioContext.createGain')
336 @DocsEditable() 336 @DocsEditable()
337 GainNode createGain() => _blink.Native_AudioContext_createGain_Callback(this); 337 GainNode createGain() => _blink.BlinkAudioContext.$createGain_Callback(this);
338 338
339 @DomName('AudioContext.createMediaElementSource') 339 @DomName('AudioContext.createMediaElementSource')
340 @DocsEditable() 340 @DocsEditable()
341 MediaElementAudioSourceNode createMediaElementSource(MediaElement mediaElement ) => _blink.Native_AudioContext_createMediaElementSource_Callback(this, mediaEle ment); 341 MediaElementAudioSourceNode createMediaElementSource(MediaElement mediaElement ) => _blink.BlinkAudioContext.$createMediaElementSource_Callback(this, mediaElem ent);
342 342
343 @DomName('AudioContext.createMediaStreamDestination') 343 @DomName('AudioContext.createMediaStreamDestination')
344 @DocsEditable() 344 @DocsEditable()
345 MediaStreamAudioDestinationNode createMediaStreamDestination() => _blink.Nativ e_AudioContext_createMediaStreamDestination_Callback(this); 345 MediaStreamAudioDestinationNode createMediaStreamDestination() => _blink.Blink AudioContext.$createMediaStreamDestination_Callback(this);
346 346
347 @DomName('AudioContext.createMediaStreamSource') 347 @DomName('AudioContext.createMediaStreamSource')
348 @DocsEditable() 348 @DocsEditable()
349 MediaStreamAudioSourceNode createMediaStreamSource(MediaStream mediaStream) => _blink.Native_AudioContext_createMediaStreamSource_Callback(this, mediaStream); 349 MediaStreamAudioSourceNode createMediaStreamSource(MediaStream mediaStream) => _blink.BlinkAudioContext.$createMediaStreamSource_Callback(this, mediaStream);
350 350
351 @DomName('AudioContext.createOscillator') 351 @DomName('AudioContext.createOscillator')
352 @DocsEditable() 352 @DocsEditable()
353 OscillatorNode createOscillator() => _blink.Native_AudioContext_createOscillat or_Callback(this); 353 OscillatorNode createOscillator() => _blink.BlinkAudioContext.$createOscillato r_Callback(this);
354 354
355 @DomName('AudioContext.createPanner') 355 @DomName('AudioContext.createPanner')
356 @DocsEditable() 356 @DocsEditable()
357 PannerNode createPanner() => _blink.Native_AudioContext_createPanner_Callback( this); 357 PannerNode createPanner() => _blink.BlinkAudioContext.$createPanner_Callback(t his);
358 358
359 @DomName('AudioContext.createPeriodicWave') 359 @DomName('AudioContext.createPeriodicWave')
360 @DocsEditable() 360 @DocsEditable()
361 @Experimental() // untriaged 361 @Experimental() // untriaged
362 PeriodicWave createPeriodicWave(Float32List real, Float32List imag) => _blink. Native_AudioContext_createPeriodicWave_Callback(this, real, imag); 362 PeriodicWave createPeriodicWave(Float32List real, Float32List imag) => _blink. BlinkAudioContext.$createPeriodicWave_Callback(this, real, imag);
363 363
364 ScriptProcessorNode createScriptProcessor([int bufferSize, int numberOfInputCh annels, int numberOfOutputChannels]) => _blink.Native_AudioContext_createScriptP rocessor(this, bufferSize, numberOfInputChannels, numberOfOutputChannels); 364 ScriptProcessorNode createScriptProcessor([int bufferSize, int numberOfInputCh annels, int numberOfOutputChannels]) => _blink.BlinkAudioContext.$createScriptPr ocessor(this, bufferSize, numberOfInputChannels, numberOfOutputChannels);
365 365
366 @DomName('AudioContext.createWaveShaper') 366 @DomName('AudioContext.createWaveShaper')
367 @DocsEditable() 367 @DocsEditable()
368 WaveShaperNode createWaveShaper() => _blink.Native_AudioContext_createWaveShap er_Callback(this); 368 WaveShaperNode createWaveShaper() => _blink.BlinkAudioContext.$createWaveShape r_Callback(this);
369 369
370 @DomName('AudioContext.decodeAudioData') 370 @DomName('AudioContext.decodeAudioData')
371 @DocsEditable() 371 @DocsEditable()
372 void _decodeAudioData(ByteBuffer audioData, AudioBufferCallback successCallbac k, [AudioBufferCallback errorCallback]) => _blink.Native_AudioContext_decodeAudi oData_Callback(this, audioData, successCallback, errorCallback); 372 void _decodeAudioData(ByteBuffer audioData, AudioBufferCallback successCallbac k, [AudioBufferCallback errorCallback]) => _blink.BlinkAudioContext.$decodeAudio Data_Callback(this, audioData, successCallback, errorCallback);
373 373
374 @DomName('AudioContext.startRendering') 374 @DomName('AudioContext.startRendering')
375 @DocsEditable() 375 @DocsEditable()
376 void startRendering() => _blink.Native_AudioContext_startRendering_Callback(th is); 376 void startRendering() => _blink.BlinkAudioContext.$startRendering_Callback(thi s);
377 377
378 /// Stream of `complete` events handled by this [AudioContext]. 378 /// Stream of `complete` events handled by this [AudioContext].
379 @DomName('AudioContext.oncomplete') 379 @DomName('AudioContext.oncomplete')
380 @DocsEditable() 380 @DocsEditable()
381 Stream<Event> get onComplete => completeEvent.forTarget(this); 381 Stream<Event> get onComplete => completeEvent.forTarget(this);
382 382
383 @DomName('AudioContext.decodeAudioData') 383 @DomName('AudioContext.decodeAudioData')
384 Future<AudioBuffer> decodeAudioData(ByteBuffer audioData) { 384 Future<AudioBuffer> decodeAudioData(ByteBuffer audioData) {
385 var completer = new Completer<AudioBuffer>(); 385 var completer = new Completer<AudioBuffer>();
386 _decodeAudioData(audioData, 386 _decodeAudioData(audioData,
(...skipping 18 matching lines...) Expand all
405 @DocsEditable() 405 @DocsEditable()
406 @DomName('AudioDestinationNode') 406 @DomName('AudioDestinationNode')
407 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioDe stinationNode-section 407 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioDe stinationNode-section
408 @Experimental() 408 @Experimental()
409 class AudioDestinationNode extends AudioNode { 409 class AudioDestinationNode extends AudioNode {
410 // To suppress missing implicit constructor warnings. 410 // To suppress missing implicit constructor warnings.
411 factory AudioDestinationNode._() { throw new UnsupportedError("Not supported") ; } 411 factory AudioDestinationNode._() { throw new UnsupportedError("Not supported") ; }
412 412
413 @DomName('AudioDestinationNode.maxChannelCount') 413 @DomName('AudioDestinationNode.maxChannelCount')
414 @DocsEditable() 414 @DocsEditable()
415 int get maxChannelCount => _blink.Native_AudioDestinationNode_maxChannelCount_ Getter(this); 415 int get maxChannelCount => _blink.BlinkAudioDestinationNode.$maxChannelCount_G etter(this);
416 416
417 } 417 }
418 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 418 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
419 // for details. All rights reserved. Use of this source code is governed by a 419 // for details. All rights reserved. Use of this source code is governed by a
420 // BSD-style license that can be found in the LICENSE file. 420 // BSD-style license that can be found in the LICENSE file.
421 421
422 // WARNING: Do not edit - generated code. 422 // WARNING: Do not edit - generated code.
423 423
424 424
425 @DocsEditable() 425 @DocsEditable()
426 @DomName('AudioListener') 426 @DomName('AudioListener')
427 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioLi stener-section 427 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioLi stener-section
428 @Experimental() 428 @Experimental()
429 class AudioListener extends NativeFieldWrapperClass2 { 429 class AudioListener extends NativeFieldWrapperClass2 {
430 // To suppress missing implicit constructor warnings. 430 // To suppress missing implicit constructor warnings.
431 factory AudioListener._() { throw new UnsupportedError("Not supported"); } 431 factory AudioListener._() { throw new UnsupportedError("Not supported"); }
432 432
433 @DomName('AudioListener.dopplerFactor') 433 @DomName('AudioListener.dopplerFactor')
434 @DocsEditable() 434 @DocsEditable()
435 num get dopplerFactor => _blink.Native_AudioListener_dopplerFactor_Getter(this ); 435 num get dopplerFactor => _blink.BlinkAudioListener.$dopplerFactor_Getter(this) ;
436 436
437 @DomName('AudioListener.dopplerFactor') 437 @DomName('AudioListener.dopplerFactor')
438 @DocsEditable() 438 @DocsEditable()
439 void set dopplerFactor(num value) => _blink.Native_AudioListener_dopplerFactor _Setter(this, value); 439 void set dopplerFactor(num value) => _blink.BlinkAudioListener.$dopplerFactor_ Setter(this, value);
440 440
441 @DomName('AudioListener.speedOfSound') 441 @DomName('AudioListener.speedOfSound')
442 @DocsEditable() 442 @DocsEditable()
443 num get speedOfSound => _blink.Native_AudioListener_speedOfSound_Getter(this); 443 num get speedOfSound => _blink.BlinkAudioListener.$speedOfSound_Getter(this);
444 444
445 @DomName('AudioListener.speedOfSound') 445 @DomName('AudioListener.speedOfSound')
446 @DocsEditable() 446 @DocsEditable()
447 void set speedOfSound(num value) => _blink.Native_AudioListener_speedOfSound_S etter(this, value); 447 void set speedOfSound(num value) => _blink.BlinkAudioListener.$speedOfSound_Se tter(this, value);
448 448
449 @DomName('AudioListener.setOrientation') 449 @DomName('AudioListener.setOrientation')
450 @DocsEditable() 450 @DocsEditable()
451 void setOrientation(num x, num y, num z, num xUp, num yUp, num zUp) => _blink. Native_AudioListener_setOrientation_Callback(this, x, y, z, xUp, yUp, zUp); 451 void setOrientation(num x, num y, num z, num xUp, num yUp, num zUp) => _blink. BlinkAudioListener.$setOrientation_Callback(this, x, y, z, xUp, yUp, zUp);
452 452
453 @DomName('AudioListener.setPosition') 453 @DomName('AudioListener.setPosition')
454 @DocsEditable() 454 @DocsEditable()
455 void setPosition(num x, num y, num z) => _blink.Native_AudioListener_setPositi on_Callback(this, x, y, z); 455 void setPosition(num x, num y, num z) => _blink.BlinkAudioListener.$setPositio n_Callback(this, x, y, z);
456 456
457 @DomName('AudioListener.setVelocity') 457 @DomName('AudioListener.setVelocity')
458 @DocsEditable() 458 @DocsEditable()
459 void setVelocity(num x, num y, num z) => _blink.Native_AudioListener_setVeloci ty_Callback(this, x, y, z); 459 void setVelocity(num x, num y, num z) => _blink.BlinkAudioListener.$setVelocit y_Callback(this, x, y, z);
460 460
461 } 461 }
462 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 462 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
463 // for details. All rights reserved. Use of this source code is governed by a 463 // for details. All rights reserved. Use of this source code is governed by a
464 // BSD-style license that can be found in the LICENSE file. 464 // BSD-style license that can be found in the LICENSE file.
465 465
466 466
467 @DomName('AudioNode') 467 @DomName('AudioNode')
468 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioNo de-section 468 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioNo de-section
469 @Experimental() 469 @Experimental()
470 class AudioNode extends EventTarget { 470 class AudioNode extends EventTarget {
471 // To suppress missing implicit constructor warnings. 471 // To suppress missing implicit constructor warnings.
472 factory AudioNode._() { throw new UnsupportedError("Not supported"); } 472 factory AudioNode._() { throw new UnsupportedError("Not supported"); }
473 473
474 @DomName('AudioNode.channelCount') 474 @DomName('AudioNode.channelCount')
475 @DocsEditable() 475 @DocsEditable()
476 int get channelCount => _blink.Native_AudioNode_channelCount_Getter(this); 476 int get channelCount => _blink.BlinkAudioNode.$channelCount_Getter(this);
477 477
478 @DomName('AudioNode.channelCount') 478 @DomName('AudioNode.channelCount')
479 @DocsEditable() 479 @DocsEditable()
480 void set channelCount(int value) => _blink.Native_AudioNode_channelCount_Sette r(this, value); 480 void set channelCount(int value) => _blink.BlinkAudioNode.$channelCount_Setter (this, value);
481 481
482 @DomName('AudioNode.channelCountMode') 482 @DomName('AudioNode.channelCountMode')
483 @DocsEditable() 483 @DocsEditable()
484 String get channelCountMode => _blink.Native_AudioNode_channelCountMode_Getter (this); 484 String get channelCountMode => _blink.BlinkAudioNode.$channelCountMode_Getter( this);
485 485
486 @DomName('AudioNode.channelCountMode') 486 @DomName('AudioNode.channelCountMode')
487 @DocsEditable() 487 @DocsEditable()
488 void set channelCountMode(String value) => _blink.Native_AudioNode_channelCoun tMode_Setter(this, value); 488 void set channelCountMode(String value) => _blink.BlinkAudioNode.$channelCount Mode_Setter(this, value);
489 489
490 @DomName('AudioNode.channelInterpretation') 490 @DomName('AudioNode.channelInterpretation')
491 @DocsEditable() 491 @DocsEditable()
492 String get channelInterpretation => _blink.Native_AudioNode_channelInterpretat ion_Getter(this); 492 String get channelInterpretation => _blink.BlinkAudioNode.$channelInterpretati on_Getter(this);
493 493
494 @DomName('AudioNode.channelInterpretation') 494 @DomName('AudioNode.channelInterpretation')
495 @DocsEditable() 495 @DocsEditable()
496 void set channelInterpretation(String value) => _blink.Native_AudioNode_channe lInterpretation_Setter(this, value); 496 void set channelInterpretation(String value) => _blink.BlinkAudioNode.$channel Interpretation_Setter(this, value);
497 497
498 @DomName('AudioNode.context') 498 @DomName('AudioNode.context')
499 @DocsEditable() 499 @DocsEditable()
500 AudioContext get context => _blink.Native_AudioNode_context_Getter(this); 500 AudioContext get context => _blink.BlinkAudioNode.$context_Getter(this);
501 501
502 @DomName('AudioNode.numberOfInputs') 502 @DomName('AudioNode.numberOfInputs')
503 @DocsEditable() 503 @DocsEditable()
504 int get numberOfInputs => _blink.Native_AudioNode_numberOfInputs_Getter(this); 504 int get numberOfInputs => _blink.BlinkAudioNode.$numberOfInputs_Getter(this);
505 505
506 @DomName('AudioNode.numberOfOutputs') 506 @DomName('AudioNode.numberOfOutputs')
507 @DocsEditable() 507 @DocsEditable()
508 int get numberOfOutputs => _blink.Native_AudioNode_numberOfOutputs_Getter(this ); 508 int get numberOfOutputs => _blink.BlinkAudioNode.$numberOfOutputs_Getter(this) ;
509 509
510 void _connect(destination, int output, [int input]) => _blink.Native_AudioNode __connect(this, destination, output, input); 510 void _connect(destination, int output, [int input]) => _blink.BlinkAudioNode.$ _connect(this, destination, output, input);
511 511
512 @DomName('AudioNode.disconnect') 512 @DomName('AudioNode.disconnect')
513 @DocsEditable() 513 @DocsEditable()
514 void disconnect(int output) => _blink.Native_AudioNode_disconnect_Callback(thi s, output); 514 void disconnect(int output) => _blink.BlinkAudioNode.$disconnect_Callback(this , output);
515 515
516 @DomName('AudioNode.connect') 516 @DomName('AudioNode.connect')
517 void connectNode(AudioNode destination, [int output = 0, int input = 0]) => 517 void connectNode(AudioNode destination, [int output = 0, int input = 0]) =>
518 _connect(destination, output, input); 518 _connect(destination, output, input);
519 519
520 @DomName('AudioNode.connect') 520 @DomName('AudioNode.connect')
521 void connectParam(AudioParam destination, [int output = 0]) => 521 void connectParam(AudioParam destination, [int output = 0]) =>
522 _connect(destination, output); 522 _connect(destination, output);
523 } 523 }
524 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 524 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
525 // for details. All rights reserved. Use of this source code is governed by a 525 // for details. All rights reserved. Use of this source code is governed by a
526 // BSD-style license that can be found in the LICENSE file. 526 // BSD-style license that can be found in the LICENSE file.
527 527
528 // WARNING: Do not edit - generated code. 528 // WARNING: Do not edit - generated code.
529 529
530 530
531 @DocsEditable() 531 @DocsEditable()
532 @DomName('AudioParam') 532 @DomName('AudioParam')
533 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioPa ram 533 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioPa ram
534 @Experimental() 534 @Experimental()
535 class AudioParam extends NativeFieldWrapperClass2 { 535 class AudioParam extends NativeFieldWrapperClass2 {
536 // To suppress missing implicit constructor warnings. 536 // To suppress missing implicit constructor warnings.
537 factory AudioParam._() { throw new UnsupportedError("Not supported"); } 537 factory AudioParam._() { throw new UnsupportedError("Not supported"); }
538 538
539 @DomName('AudioParam.defaultValue') 539 @DomName('AudioParam.defaultValue')
540 @DocsEditable() 540 @DocsEditable()
541 double get defaultValue => _blink.Native_AudioParam_defaultValue_Getter(this); 541 double get defaultValue => _blink.BlinkAudioParam.$defaultValue_Getter(this);
542 542
543 @DomName('AudioParam.maxValue') 543 @DomName('AudioParam.maxValue')
544 @DocsEditable() 544 @DocsEditable()
545 double get maxValue => _blink.Native_AudioParam_maxValue_Getter(this); 545 double get maxValue => _blink.BlinkAudioParam.$maxValue_Getter(this);
546 546
547 @DomName('AudioParam.minValue') 547 @DomName('AudioParam.minValue')
548 @DocsEditable() 548 @DocsEditable()
549 double get minValue => _blink.Native_AudioParam_minValue_Getter(this); 549 double get minValue => _blink.BlinkAudioParam.$minValue_Getter(this);
550 550
551 @DomName('AudioParam.name') 551 @DomName('AudioParam.name')
552 @DocsEditable() 552 @DocsEditable()
553 String get name => _blink.Native_AudioParam_name_Getter(this); 553 String get name => _blink.BlinkAudioParam.$name_Getter(this);
554 554
555 @DomName('AudioParam.units') 555 @DomName('AudioParam.units')
556 @DocsEditable() 556 @DocsEditable()
557 int get units => _blink.Native_AudioParam_units_Getter(this); 557 int get units => _blink.BlinkAudioParam.$units_Getter(this);
558 558
559 @DomName('AudioParam.value') 559 @DomName('AudioParam.value')
560 @DocsEditable() 560 @DocsEditable()
561 num get value => _blink.Native_AudioParam_value_Getter(this); 561 num get value => _blink.BlinkAudioParam.$value_Getter(this);
562 562
563 @DomName('AudioParam.value') 563 @DomName('AudioParam.value')
564 @DocsEditable() 564 @DocsEditable()
565 void set value(num value) => _blink.Native_AudioParam_value_Setter(this, value ); 565 void set value(num value) => _blink.BlinkAudioParam.$value_Setter(this, value) ;
566 566
567 @DomName('AudioParam.cancelScheduledValues') 567 @DomName('AudioParam.cancelScheduledValues')
568 @DocsEditable() 568 @DocsEditable()
569 void cancelScheduledValues(num startTime) => _blink.Native_AudioParam_cancelSc heduledValues_Callback(this, startTime); 569 void cancelScheduledValues(num startTime) => _blink.BlinkAudioParam.$cancelSch eduledValues_Callback(this, startTime);
570 570
571 @DomName('AudioParam.exponentialRampToValueAtTime') 571 @DomName('AudioParam.exponentialRampToValueAtTime')
572 @DocsEditable() 572 @DocsEditable()
573 void exponentialRampToValueAtTime(num value, num time) => _blink.Native_AudioP aram_exponentialRampToValueAtTime_Callback(this, value, time); 573 void exponentialRampToValueAtTime(num value, num time) => _blink.BlinkAudioPar am.$exponentialRampToValueAtTime_Callback(this, value, time);
574 574
575 @DomName('AudioParam.linearRampToValueAtTime') 575 @DomName('AudioParam.linearRampToValueAtTime')
576 @DocsEditable() 576 @DocsEditable()
577 void linearRampToValueAtTime(num value, num time) => _blink.Native_AudioParam_ linearRampToValueAtTime_Callback(this, value, time); 577 void linearRampToValueAtTime(num value, num time) => _blink.BlinkAudioParam.$l inearRampToValueAtTime_Callback(this, value, time);
578 578
579 @DomName('AudioParam.setTargetAtTime') 579 @DomName('AudioParam.setTargetAtTime')
580 @DocsEditable() 580 @DocsEditable()
581 void setTargetAtTime(num target, num time, num timeConstant) => _blink.Native_ AudioParam_setTargetAtTime_Callback(this, target, time, timeConstant); 581 void setTargetAtTime(num target, num time, num timeConstant) => _blink.BlinkAu dioParam.$setTargetAtTime_Callback(this, target, time, timeConstant);
582 582
583 @DomName('AudioParam.setValueAtTime') 583 @DomName('AudioParam.setValueAtTime')
584 @DocsEditable() 584 @DocsEditable()
585 void setValueAtTime(num value, num time) => _blink.Native_AudioParam_setValueA tTime_Callback(this, value, time); 585 void setValueAtTime(num value, num time) => _blink.BlinkAudioParam.$setValueAt Time_Callback(this, value, time);
586 586
587 @DomName('AudioParam.setValueCurveAtTime') 587 @DomName('AudioParam.setValueCurveAtTime')
588 @DocsEditable() 588 @DocsEditable()
589 void setValueCurveAtTime(Float32List values, num time, num duration) => _blink .Native_AudioParam_setValueCurveAtTime_Callback(this, values, time, duration); 589 void setValueCurveAtTime(Float32List values, num time, num duration) => _blink .BlinkAudioParam.$setValueCurveAtTime_Callback(this, values, time, duration);
590 590
591 } 591 }
592 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 592 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
593 // for details. All rights reserved. Use of this source code is governed by a 593 // for details. All rights reserved. Use of this source code is governed by a
594 // BSD-style license that can be found in the LICENSE file. 594 // BSD-style license that can be found in the LICENSE file.
595 595
596 // WARNING: Do not edit - generated code. 596 // WARNING: Do not edit - generated code.
597 597
598 598
599 @DocsEditable() 599 @DocsEditable()
600 @DomName('AudioProcessingEvent') 600 @DomName('AudioProcessingEvent')
601 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioPr ocessingEvent-section 601 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioPr ocessingEvent-section
602 @Experimental() 602 @Experimental()
603 class AudioProcessingEvent extends Event { 603 class AudioProcessingEvent extends Event {
604 // To suppress missing implicit constructor warnings. 604 // To suppress missing implicit constructor warnings.
605 factory AudioProcessingEvent._() { throw new UnsupportedError("Not supported") ; } 605 factory AudioProcessingEvent._() { throw new UnsupportedError("Not supported") ; }
606 606
607 @DomName('AudioProcessingEvent.inputBuffer') 607 @DomName('AudioProcessingEvent.inputBuffer')
608 @DocsEditable() 608 @DocsEditable()
609 AudioBuffer get inputBuffer => _blink.Native_AudioProcessingEvent_inputBuffer_ Getter(this); 609 AudioBuffer get inputBuffer => _blink.BlinkAudioProcessingEvent.$inputBuffer_G etter(this);
610 610
611 @DomName('AudioProcessingEvent.outputBuffer') 611 @DomName('AudioProcessingEvent.outputBuffer')
612 @DocsEditable() 612 @DocsEditable()
613 AudioBuffer get outputBuffer => _blink.Native_AudioProcessingEvent_outputBuffe r_Getter(this); 613 AudioBuffer get outputBuffer => _blink.BlinkAudioProcessingEvent.$outputBuffer _Getter(this);
614 614
615 } 615 }
616 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 616 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
617 // for details. All rights reserved. Use of this source code is governed by a 617 // for details. All rights reserved. Use of this source code is governed by a
618 // BSD-style license that can be found in the LICENSE file. 618 // BSD-style license that can be found in the LICENSE file.
619 619
620 // WARNING: Do not edit - generated code. 620 // WARNING: Do not edit - generated code.
621 621
622 622
623 @DocsEditable() 623 @DocsEditable()
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
671 @DomName('BiquadFilterNode.NOTCH') 671 @DomName('BiquadFilterNode.NOTCH')
672 @DocsEditable() 672 @DocsEditable()
673 static const int NOTCH = 6; 673 static const int NOTCH = 6;
674 674
675 @DomName('BiquadFilterNode.PEAKING') 675 @DomName('BiquadFilterNode.PEAKING')
676 @DocsEditable() 676 @DocsEditable()
677 static const int PEAKING = 5; 677 static const int PEAKING = 5;
678 678
679 @DomName('BiquadFilterNode.Q') 679 @DomName('BiquadFilterNode.Q')
680 @DocsEditable() 680 @DocsEditable()
681 AudioParam get Q => _blink.Native_BiquadFilterNode_Q_Getter(this); 681 AudioParam get Q => _blink.BlinkBiquadFilterNode.$Q_Getter(this);
682 682
683 @DomName('BiquadFilterNode.detune') 683 @DomName('BiquadFilterNode.detune')
684 @DocsEditable() 684 @DocsEditable()
685 AudioParam get detune => _blink.Native_BiquadFilterNode_detune_Getter(this); 685 AudioParam get detune => _blink.BlinkBiquadFilterNode.$detune_Getter(this);
686 686
687 @DomName('BiquadFilterNode.frequency') 687 @DomName('BiquadFilterNode.frequency')
688 @DocsEditable() 688 @DocsEditable()
689 AudioParam get frequency => _blink.Native_BiquadFilterNode_frequency_Getter(th is); 689 AudioParam get frequency => _blink.BlinkBiquadFilterNode.$frequency_Getter(thi s);
690 690
691 @DomName('BiquadFilterNode.gain') 691 @DomName('BiquadFilterNode.gain')
692 @DocsEditable() 692 @DocsEditable()
693 AudioParam get gain => _blink.Native_BiquadFilterNode_gain_Getter(this); 693 AudioParam get gain => _blink.BlinkBiquadFilterNode.$gain_Getter(this);
694 694
695 @DomName('BiquadFilterNode.type') 695 @DomName('BiquadFilterNode.type')
696 @DocsEditable() 696 @DocsEditable()
697 String get type => _blink.Native_BiquadFilterNode_type_Getter(this); 697 String get type => _blink.BlinkBiquadFilterNode.$type_Getter(this);
698 698
699 @DomName('BiquadFilterNode.type') 699 @DomName('BiquadFilterNode.type')
700 @DocsEditable() 700 @DocsEditable()
701 void set type(String value) => _blink.Native_BiquadFilterNode_type_Setter(this , value); 701 void set type(String value) => _blink.BlinkBiquadFilterNode.$type_Setter(this, value);
702 702
703 @DomName('BiquadFilterNode.getFrequencyResponse') 703 @DomName('BiquadFilterNode.getFrequencyResponse')
704 @DocsEditable() 704 @DocsEditable()
705 void getFrequencyResponse(Float32List frequencyHz, Float32List magResponse, Fl oat32List phaseResponse) => _blink.Native_BiquadFilterNode_getFrequencyResponse_ Callback(this, frequencyHz, magResponse, phaseResponse); 705 void getFrequencyResponse(Float32List frequencyHz, Float32List magResponse, Fl oat32List phaseResponse) => _blink.BlinkBiquadFilterNode.$getFrequencyResponse_C allback(this, frequencyHz, magResponse, phaseResponse);
706 706
707 } 707 }
708 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 708 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
709 // for details. All rights reserved. Use of this source code is governed by a 709 // for details. All rights reserved. Use of this source code is governed by a
710 // BSD-style license that can be found in the LICENSE file. 710 // BSD-style license that can be found in the LICENSE file.
711 711
712 // WARNING: Do not edit - generated code. 712 // WARNING: Do not edit - generated code.
713 713
714 714
715 @DocsEditable() 715 @DocsEditable()
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
747 @DocsEditable() 747 @DocsEditable()
748 @DomName('ConvolverNode') 748 @DomName('ConvolverNode')
749 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Convolv erNode 749 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Convolv erNode
750 @Experimental() 750 @Experimental()
751 class ConvolverNode extends AudioNode { 751 class ConvolverNode extends AudioNode {
752 // To suppress missing implicit constructor warnings. 752 // To suppress missing implicit constructor warnings.
753 factory ConvolverNode._() { throw new UnsupportedError("Not supported"); } 753 factory ConvolverNode._() { throw new UnsupportedError("Not supported"); }
754 754
755 @DomName('ConvolverNode.buffer') 755 @DomName('ConvolverNode.buffer')
756 @DocsEditable() 756 @DocsEditable()
757 AudioBuffer get buffer => _blink.Native_ConvolverNode_buffer_Getter(this); 757 AudioBuffer get buffer => _blink.BlinkConvolverNode.$buffer_Getter(this);
758 758
759 @DomName('ConvolverNode.buffer') 759 @DomName('ConvolverNode.buffer')
760 @DocsEditable() 760 @DocsEditable()
761 void set buffer(AudioBuffer value) => _blink.Native_ConvolverNode_buffer_Sette r(this, value); 761 void set buffer(AudioBuffer value) => _blink.BlinkConvolverNode.$buffer_Setter (this, value);
762 762
763 @DomName('ConvolverNode.normalize') 763 @DomName('ConvolverNode.normalize')
764 @DocsEditable() 764 @DocsEditable()
765 bool get normalize => _blink.Native_ConvolverNode_normalize_Getter(this); 765 bool get normalize => _blink.BlinkConvolverNode.$normalize_Getter(this);
766 766
767 @DomName('ConvolverNode.normalize') 767 @DomName('ConvolverNode.normalize')
768 @DocsEditable() 768 @DocsEditable()
769 void set normalize(bool value) => _blink.Native_ConvolverNode_normalize_Setter (this, value); 769 void set normalize(bool value) => _blink.BlinkConvolverNode.$normalize_Setter( this, value);
770 770
771 } 771 }
772 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 772 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
773 // for details. All rights reserved. Use of this source code is governed by a 773 // for details. All rights reserved. Use of this source code is governed by a
774 // BSD-style license that can be found in the LICENSE file. 774 // BSD-style license that can be found in the LICENSE file.
775 775
776 // WARNING: Do not edit - generated code. 776 // WARNING: Do not edit - generated code.
777 777
778 778
779 @DocsEditable() 779 @DocsEditable()
780 @DomName('DelayNode') 780 @DomName('DelayNode')
781 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#DelayNo de 781 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#DelayNo de
782 @Experimental() 782 @Experimental()
783 class DelayNode extends AudioNode { 783 class DelayNode extends AudioNode {
784 // To suppress missing implicit constructor warnings. 784 // To suppress missing implicit constructor warnings.
785 factory DelayNode._() { throw new UnsupportedError("Not supported"); } 785 factory DelayNode._() { throw new UnsupportedError("Not supported"); }
786 786
787 @DomName('DelayNode.delayTime') 787 @DomName('DelayNode.delayTime')
788 @DocsEditable() 788 @DocsEditable()
789 AudioParam get delayTime => _blink.Native_DelayNode_delayTime_Getter(this); 789 AudioParam get delayTime => _blink.BlinkDelayNode.$delayTime_Getter(this);
790 790
791 } 791 }
792 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 792 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
793 // for details. All rights reserved. Use of this source code is governed by a 793 // for details. All rights reserved. Use of this source code is governed by a
794 // BSD-style license that can be found in the LICENSE file. 794 // BSD-style license that can be found in the LICENSE file.
795 795
796 // WARNING: Do not edit - generated code. 796 // WARNING: Do not edit - generated code.
797 797
798 798
799 @DocsEditable() 799 @DocsEditable()
800 @DomName('DynamicsCompressorNode') 800 @DomName('DynamicsCompressorNode')
801 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Dynamic sCompressorNode 801 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Dynamic sCompressorNode
802 @Experimental() 802 @Experimental()
803 class DynamicsCompressorNode extends AudioNode { 803 class DynamicsCompressorNode extends AudioNode {
804 // To suppress missing implicit constructor warnings. 804 // To suppress missing implicit constructor warnings.
805 factory DynamicsCompressorNode._() { throw new UnsupportedError("Not supported "); } 805 factory DynamicsCompressorNode._() { throw new UnsupportedError("Not supported "); }
806 806
807 @DomName('DynamicsCompressorNode.attack') 807 @DomName('DynamicsCompressorNode.attack')
808 @DocsEditable() 808 @DocsEditable()
809 AudioParam get attack => _blink.Native_DynamicsCompressorNode_attack_Getter(th is); 809 AudioParam get attack => _blink.BlinkDynamicsCompressorNode.$attack_Getter(thi s);
810 810
811 @DomName('DynamicsCompressorNode.knee') 811 @DomName('DynamicsCompressorNode.knee')
812 @DocsEditable() 812 @DocsEditable()
813 AudioParam get knee => _blink.Native_DynamicsCompressorNode_knee_Getter(this); 813 AudioParam get knee => _blink.BlinkDynamicsCompressorNode.$knee_Getter(this);
814 814
815 @DomName('DynamicsCompressorNode.ratio') 815 @DomName('DynamicsCompressorNode.ratio')
816 @DocsEditable() 816 @DocsEditable()
817 AudioParam get ratio => _blink.Native_DynamicsCompressorNode_ratio_Getter(this ); 817 AudioParam get ratio => _blink.BlinkDynamicsCompressorNode.$ratio_Getter(this) ;
818 818
819 @DomName('DynamicsCompressorNode.reduction') 819 @DomName('DynamicsCompressorNode.reduction')
820 @DocsEditable() 820 @DocsEditable()
821 AudioParam get reduction => _blink.Native_DynamicsCompressorNode_reduction_Get ter(this); 821 AudioParam get reduction => _blink.BlinkDynamicsCompressorNode.$reduction_Gett er(this);
822 822
823 @DomName('DynamicsCompressorNode.release') 823 @DomName('DynamicsCompressorNode.release')
824 @DocsEditable() 824 @DocsEditable()
825 AudioParam get release => _blink.Native_DynamicsCompressorNode_release_Getter( this); 825 AudioParam get release => _blink.BlinkDynamicsCompressorNode.$release_Getter(t his);
826 826
827 @DomName('DynamicsCompressorNode.threshold') 827 @DomName('DynamicsCompressorNode.threshold')
828 @DocsEditable() 828 @DocsEditable()
829 AudioParam get threshold => _blink.Native_DynamicsCompressorNode_threshold_Get ter(this); 829 AudioParam get threshold => _blink.BlinkDynamicsCompressorNode.$threshold_Gett er(this);
830 830
831 } 831 }
832 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 832 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
833 // for details. All rights reserved. Use of this source code is governed by a 833 // for details. All rights reserved. Use of this source code is governed by a
834 // BSD-style license that can be found in the LICENSE file. 834 // BSD-style license that can be found in the LICENSE file.
835 835
836 // WARNING: Do not edit - generated code. 836 // WARNING: Do not edit - generated code.
837 837
838 838
839 @DocsEditable() 839 @DocsEditable()
840 @DomName('GainNode') 840 @DomName('GainNode')
841 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#GainNod e 841 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#GainNod e
842 @Experimental() 842 @Experimental()
843 class GainNode extends AudioNode { 843 class GainNode extends AudioNode {
844 // To suppress missing implicit constructor warnings. 844 // To suppress missing implicit constructor warnings.
845 factory GainNode._() { throw new UnsupportedError("Not supported"); } 845 factory GainNode._() { throw new UnsupportedError("Not supported"); }
846 846
847 @DomName('GainNode.gain') 847 @DomName('GainNode.gain')
848 @DocsEditable() 848 @DocsEditable()
849 AudioParam get gain => _blink.Native_GainNode_gain_Getter(this); 849 AudioParam get gain => _blink.BlinkGainNode.$gain_Getter(this);
850 850
851 } 851 }
852 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 852 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
853 // for details. All rights reserved. Use of this source code is governed by a 853 // for details. All rights reserved. Use of this source code is governed by a
854 // BSD-style license that can be found in the LICENSE file. 854 // BSD-style license that can be found in the LICENSE file.
855 855
856 // WARNING: Do not edit - generated code. 856 // WARNING: Do not edit - generated code.
857 857
858 858
859 @DocsEditable() 859 @DocsEditable()
860 @DomName('MediaElementAudioSourceNode') 860 @DomName('MediaElementAudioSourceNode')
861 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#MediaEl ementAudioSourceNode 861 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#MediaEl ementAudioSourceNode
862 @Experimental() 862 @Experimental()
863 class MediaElementAudioSourceNode extends AudioSourceNode { 863 class MediaElementAudioSourceNode extends AudioSourceNode {
864 // To suppress missing implicit constructor warnings. 864 // To suppress missing implicit constructor warnings.
865 factory MediaElementAudioSourceNode._() { throw new UnsupportedError("Not supp orted"); } 865 factory MediaElementAudioSourceNode._() { throw new UnsupportedError("Not supp orted"); }
866 866
867 @DomName('MediaElementAudioSourceNode.mediaElement') 867 @DomName('MediaElementAudioSourceNode.mediaElement')
868 @DocsEditable() 868 @DocsEditable()
869 @Experimental() // non-standard 869 @Experimental() // non-standard
870 MediaElement get mediaElement => _blink.Native_MediaElementAudioSourceNode_med iaElement_Getter(this); 870 MediaElement get mediaElement => _blink.BlinkMediaElementAudioSourceNode.$medi aElement_Getter(this);
871 871
872 } 872 }
873 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 873 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
874 // for details. All rights reserved. Use of this source code is governed by a 874 // for details. All rights reserved. Use of this source code is governed by a
875 // BSD-style license that can be found in the LICENSE file. 875 // BSD-style license that can be found in the LICENSE file.
876 876
877 // WARNING: Do not edit - generated code. 877 // WARNING: Do not edit - generated code.
878 878
879 879
880 @DocsEditable() 880 @DocsEditable()
881 @DomName('MediaStreamAudioDestinationNode') 881 @DomName('MediaStreamAudioDestinationNode')
882 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#MediaSt reamAudioDestinationNode 882 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#MediaSt reamAudioDestinationNode
883 @Experimental() 883 @Experimental()
884 class MediaStreamAudioDestinationNode extends AudioNode { 884 class MediaStreamAudioDestinationNode extends AudioNode {
885 // To suppress missing implicit constructor warnings. 885 // To suppress missing implicit constructor warnings.
886 factory MediaStreamAudioDestinationNode._() { throw new UnsupportedError("Not supported"); } 886 factory MediaStreamAudioDestinationNode._() { throw new UnsupportedError("Not supported"); }
887 887
888 @DomName('MediaStreamAudioDestinationNode.stream') 888 @DomName('MediaStreamAudioDestinationNode.stream')
889 @DocsEditable() 889 @DocsEditable()
890 MediaStream get stream => _blink.Native_MediaStreamAudioDestinationNode_stream _Getter(this); 890 MediaStream get stream => _blink.BlinkMediaStreamAudioDestinationNode.$stream_ Getter(this);
891 891
892 } 892 }
893 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 893 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
894 // for details. All rights reserved. Use of this source code is governed by a 894 // for details. All rights reserved. Use of this source code is governed by a
895 // BSD-style license that can be found in the LICENSE file. 895 // BSD-style license that can be found in the LICENSE file.
896 896
897 // WARNING: Do not edit - generated code. 897 // WARNING: Do not edit - generated code.
898 898
899 899
900 @DocsEditable() 900 @DocsEditable()
901 @DomName('MediaStreamAudioSourceNode') 901 @DomName('MediaStreamAudioSourceNode')
902 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#MediaSt reamAudioSourceNode 902 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#MediaSt reamAudioSourceNode
903 @Experimental() 903 @Experimental()
904 class MediaStreamAudioSourceNode extends AudioSourceNode { 904 class MediaStreamAudioSourceNode extends AudioSourceNode {
905 // To suppress missing implicit constructor warnings. 905 // To suppress missing implicit constructor warnings.
906 factory MediaStreamAudioSourceNode._() { throw new UnsupportedError("Not suppo rted"); } 906 factory MediaStreamAudioSourceNode._() { throw new UnsupportedError("Not suppo rted"); }
907 907
908 @DomName('MediaStreamAudioSourceNode.mediaStream') 908 @DomName('MediaStreamAudioSourceNode.mediaStream')
909 @DocsEditable() 909 @DocsEditable()
910 MediaStream get mediaStream => _blink.Native_MediaStreamAudioSourceNode_mediaS tream_Getter(this); 910 MediaStream get mediaStream => _blink.BlinkMediaStreamAudioSourceNode.$mediaSt ream_Getter(this);
911 911
912 } 912 }
913 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 913 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
914 // for details. All rights reserved. Use of this source code is governed by a 914 // for details. All rights reserved. Use of this source code is governed by a
915 // BSD-style license that can be found in the LICENSE file. 915 // BSD-style license that can be found in the LICENSE file.
916 916
917 // WARNING: Do not edit - generated code. 917 // WARNING: Do not edit - generated code.
918 918
919 919
920 @DocsEditable() 920 @DocsEditable()
921 @DomName('OfflineAudioCompletionEvent') 921 @DomName('OfflineAudioCompletionEvent')
922 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Offline AudioCompletionEvent-section 922 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Offline AudioCompletionEvent-section
923 @Experimental() 923 @Experimental()
924 class OfflineAudioCompletionEvent extends Event { 924 class OfflineAudioCompletionEvent extends Event {
925 // To suppress missing implicit constructor warnings. 925 // To suppress missing implicit constructor warnings.
926 factory OfflineAudioCompletionEvent._() { throw new UnsupportedError("Not supp orted"); } 926 factory OfflineAudioCompletionEvent._() { throw new UnsupportedError("Not supp orted"); }
927 927
928 @DomName('OfflineAudioCompletionEvent.renderedBuffer') 928 @DomName('OfflineAudioCompletionEvent.renderedBuffer')
929 @DocsEditable() 929 @DocsEditable()
930 AudioBuffer get renderedBuffer => _blink.Native_OfflineAudioCompletionEvent_re nderedBuffer_Getter(this); 930 AudioBuffer get renderedBuffer => _blink.BlinkOfflineAudioCompletionEvent.$ren deredBuffer_Getter(this);
931 931
932 } 932 }
933 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 933 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
934 // for details. All rights reserved. Use of this source code is governed by a 934 // for details. All rights reserved. Use of this source code is governed by a
935 // BSD-style license that can be found in the LICENSE file. 935 // BSD-style license that can be found in the LICENSE file.
936 936
937 // WARNING: Do not edit - generated code. 937 // WARNING: Do not edit - generated code.
938 938
939 939
940 @DocsEditable() 940 @DocsEditable()
941 @DomName('OfflineAudioContext') 941 @DomName('OfflineAudioContext')
942 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Offline AudioContext-section 942 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Offline AudioContext-section
943 @Experimental() 943 @Experimental()
944 class OfflineAudioContext extends AudioContext { 944 class OfflineAudioContext extends AudioContext {
945 // To suppress missing implicit constructor warnings. 945 // To suppress missing implicit constructor warnings.
946 factory OfflineAudioContext._() { throw new UnsupportedError("Not supported"); } 946 factory OfflineAudioContext._() { throw new UnsupportedError("Not supported"); }
947 947
948 @DomName('OfflineAudioContext.OfflineAudioContext') 948 @DomName('OfflineAudioContext.OfflineAudioContext')
949 @DocsEditable() 949 @DocsEditable()
950 factory OfflineAudioContext(int numberOfChannels, int numberOfFrames, num samp leRate) => _blink.Native_OfflineAudioContext_OfflineAudioContext(numberOfChannel s, numberOfFrames, sampleRate); 950 factory OfflineAudioContext(int numberOfChannels, int numberOfFrames, num samp leRate) => _blink.BlinkOfflineAudioContext.$mkOfflineAudioContext(numberOfChanne ls, numberOfFrames, sampleRate);
951 951
952 } 952 }
953 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 953 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
954 // for details. All rights reserved. Use of this source code is governed by a 954 // for details. All rights reserved. Use of this source code is governed by a
955 // BSD-style license that can be found in the LICENSE file. 955 // BSD-style license that can be found in the LICENSE file.
956 956
957 // WARNING: Do not edit - generated code. 957 // WARNING: Do not edit - generated code.
958 958
959 959
960 @DocsEditable() 960 @DocsEditable()
(...skipping 26 matching lines...) Expand all
987 @DomName('OscillatorNode.SCHEDULED_STATE') 987 @DomName('OscillatorNode.SCHEDULED_STATE')
988 @DocsEditable() 988 @DocsEditable()
989 static const int SCHEDULED_STATE = 1; 989 static const int SCHEDULED_STATE = 1;
990 990
991 @DomName('OscillatorNode.UNSCHEDULED_STATE') 991 @DomName('OscillatorNode.UNSCHEDULED_STATE')
992 @DocsEditable() 992 @DocsEditable()
993 static const int UNSCHEDULED_STATE = 0; 993 static const int UNSCHEDULED_STATE = 0;
994 994
995 @DomName('OscillatorNode.detune') 995 @DomName('OscillatorNode.detune')
996 @DocsEditable() 996 @DocsEditable()
997 AudioParam get detune => _blink.Native_OscillatorNode_detune_Getter(this); 997 AudioParam get detune => _blink.BlinkOscillatorNode.$detune_Getter(this);
998 998
999 @DomName('OscillatorNode.frequency') 999 @DomName('OscillatorNode.frequency')
1000 @DocsEditable() 1000 @DocsEditable()
1001 AudioParam get frequency => _blink.Native_OscillatorNode_frequency_Getter(this ); 1001 AudioParam get frequency => _blink.BlinkOscillatorNode.$frequency_Getter(this) ;
1002 1002
1003 @DomName('OscillatorNode.type') 1003 @DomName('OscillatorNode.type')
1004 @DocsEditable() 1004 @DocsEditable()
1005 String get type => _blink.Native_OscillatorNode_type_Getter(this); 1005 String get type => _blink.BlinkOscillatorNode.$type_Getter(this);
1006 1006
1007 @DomName('OscillatorNode.type') 1007 @DomName('OscillatorNode.type')
1008 @DocsEditable() 1008 @DocsEditable()
1009 void set type(String value) => _blink.Native_OscillatorNode_type_Setter(this, value); 1009 void set type(String value) => _blink.BlinkOscillatorNode.$type_Setter(this, v alue);
1010 1010
1011 @DomName('OscillatorNode.noteOff') 1011 @DomName('OscillatorNode.noteOff')
1012 @DocsEditable() 1012 @DocsEditable()
1013 void noteOff(num when) => _blink.Native_OscillatorNode_noteOff_Callback(this, when); 1013 void noteOff(num when) => _blink.BlinkOscillatorNode.$noteOff_Callback(this, w hen);
1014 1014
1015 @DomName('OscillatorNode.noteOn') 1015 @DomName('OscillatorNode.noteOn')
1016 @DocsEditable() 1016 @DocsEditable()
1017 void noteOn(num when) => _blink.Native_OscillatorNode_noteOn_Callback(this, wh en); 1017 void noteOn(num when) => _blink.BlinkOscillatorNode.$noteOn_Callback(this, whe n);
1018 1018
1019 @DomName('OscillatorNode.setPeriodicWave') 1019 @DomName('OscillatorNode.setPeriodicWave')
1020 @DocsEditable() 1020 @DocsEditable()
1021 @Experimental() // untriaged 1021 @Experimental() // untriaged
1022 void setPeriodicWave(PeriodicWave periodicWave) => _blink.Native_OscillatorNod e_setPeriodicWave_Callback(this, periodicWave); 1022 void setPeriodicWave(PeriodicWave periodicWave) => _blink.BlinkOscillatorNode. $setPeriodicWave_Callback(this, periodicWave);
1023 1023
1024 void start([num when]) => _blink.Native_OscillatorNode_start(this, when); 1024 void start([num when]) => _blink.BlinkOscillatorNode.$start(this, when);
1025 1025
1026 void stop([num when]) => _blink.Native_OscillatorNode_stop(this, when); 1026 void stop([num when]) => _blink.BlinkOscillatorNode.$stop(this, when);
1027 1027
1028 /// Stream of `ended` events handled by this [OscillatorNode]. 1028 /// Stream of `ended` events handled by this [OscillatorNode].
1029 @DomName('OscillatorNode.onended') 1029 @DomName('OscillatorNode.onended')
1030 @DocsEditable() 1030 @DocsEditable()
1031 @Experimental() // untriaged 1031 @Experimental() // untriaged
1032 Stream<Event> get onEnded => endedEvent.forTarget(this); 1032 Stream<Event> get onEnded => endedEvent.forTarget(this);
1033 1033
1034 } 1034 }
1035 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1035 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1036 // for details. All rights reserved. Use of this source code is governed by a 1036 // for details. All rights reserved. Use of this source code is governed by a
1037 // BSD-style license that can be found in the LICENSE file. 1037 // BSD-style license that can be found in the LICENSE file.
1038 1038
1039 // WARNING: Do not edit - generated code. 1039 // WARNING: Do not edit - generated code.
1040 1040
1041 1041
1042 @DocsEditable() 1042 @DocsEditable()
1043 @DomName('PannerNode') 1043 @DomName('PannerNode')
1044 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#PannerN ode 1044 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#PannerN ode
1045 @Experimental() 1045 @Experimental()
1046 class PannerNode extends AudioNode { 1046 class PannerNode extends AudioNode {
1047 // To suppress missing implicit constructor warnings. 1047 // To suppress missing implicit constructor warnings.
1048 factory PannerNode._() { throw new UnsupportedError("Not supported"); } 1048 factory PannerNode._() { throw new UnsupportedError("Not supported"); }
1049 1049
1050 @DomName('PannerNode.coneInnerAngle') 1050 @DomName('PannerNode.coneInnerAngle')
1051 @DocsEditable() 1051 @DocsEditable()
1052 num get coneInnerAngle => _blink.Native_PannerNode_coneInnerAngle_Getter(this) ; 1052 num get coneInnerAngle => _blink.BlinkPannerNode.$coneInnerAngle_Getter(this);
1053 1053
1054 @DomName('PannerNode.coneInnerAngle') 1054 @DomName('PannerNode.coneInnerAngle')
1055 @DocsEditable() 1055 @DocsEditable()
1056 void set coneInnerAngle(num value) => _blink.Native_PannerNode_coneInnerAngle_ Setter(this, value); 1056 void set coneInnerAngle(num value) => _blink.BlinkPannerNode.$coneInnerAngle_S etter(this, value);
1057 1057
1058 @DomName('PannerNode.coneOuterAngle') 1058 @DomName('PannerNode.coneOuterAngle')
1059 @DocsEditable() 1059 @DocsEditable()
1060 num get coneOuterAngle => _blink.Native_PannerNode_coneOuterAngle_Getter(this) ; 1060 num get coneOuterAngle => _blink.BlinkPannerNode.$coneOuterAngle_Getter(this);
1061 1061
1062 @DomName('PannerNode.coneOuterAngle') 1062 @DomName('PannerNode.coneOuterAngle')
1063 @DocsEditable() 1063 @DocsEditable()
1064 void set coneOuterAngle(num value) => _blink.Native_PannerNode_coneOuterAngle_ Setter(this, value); 1064 void set coneOuterAngle(num value) => _blink.BlinkPannerNode.$coneOuterAngle_S etter(this, value);
1065 1065
1066 @DomName('PannerNode.coneOuterGain') 1066 @DomName('PannerNode.coneOuterGain')
1067 @DocsEditable() 1067 @DocsEditable()
1068 num get coneOuterGain => _blink.Native_PannerNode_coneOuterGain_Getter(this); 1068 num get coneOuterGain => _blink.BlinkPannerNode.$coneOuterGain_Getter(this);
1069 1069
1070 @DomName('PannerNode.coneOuterGain') 1070 @DomName('PannerNode.coneOuterGain')
1071 @DocsEditable() 1071 @DocsEditable()
1072 void set coneOuterGain(num value) => _blink.Native_PannerNode_coneOuterGain_Se tter(this, value); 1072 void set coneOuterGain(num value) => _blink.BlinkPannerNode.$coneOuterGain_Set ter(this, value);
1073 1073
1074 @DomName('PannerNode.distanceModel') 1074 @DomName('PannerNode.distanceModel')
1075 @DocsEditable() 1075 @DocsEditable()
1076 String get distanceModel => _blink.Native_PannerNode_distanceModel_Getter(this ); 1076 String get distanceModel => _blink.BlinkPannerNode.$distanceModel_Getter(this) ;
1077 1077
1078 @DomName('PannerNode.distanceModel') 1078 @DomName('PannerNode.distanceModel')
1079 @DocsEditable() 1079 @DocsEditable()
1080 void set distanceModel(String value) => _blink.Native_PannerNode_distanceModel _Setter(this, value); 1080 void set distanceModel(String value) => _blink.BlinkPannerNode.$distanceModel_ Setter(this, value);
1081 1081
1082 @DomName('PannerNode.maxDistance') 1082 @DomName('PannerNode.maxDistance')
1083 @DocsEditable() 1083 @DocsEditable()
1084 num get maxDistance => _blink.Native_PannerNode_maxDistance_Getter(this); 1084 num get maxDistance => _blink.BlinkPannerNode.$maxDistance_Getter(this);
1085 1085
1086 @DomName('PannerNode.maxDistance') 1086 @DomName('PannerNode.maxDistance')
1087 @DocsEditable() 1087 @DocsEditable()
1088 void set maxDistance(num value) => _blink.Native_PannerNode_maxDistance_Setter (this, value); 1088 void set maxDistance(num value) => _blink.BlinkPannerNode.$maxDistance_Setter( this, value);
1089 1089
1090 @DomName('PannerNode.panningModel') 1090 @DomName('PannerNode.panningModel')
1091 @DocsEditable() 1091 @DocsEditable()
1092 String get panningModel => _blink.Native_PannerNode_panningModel_Getter(this); 1092 String get panningModel => _blink.BlinkPannerNode.$panningModel_Getter(this);
1093 1093
1094 @DomName('PannerNode.panningModel') 1094 @DomName('PannerNode.panningModel')
1095 @DocsEditable() 1095 @DocsEditable()
1096 void set panningModel(String value) => _blink.Native_PannerNode_panningModel_S etter(this, value); 1096 void set panningModel(String value) => _blink.BlinkPannerNode.$panningModel_Se tter(this, value);
1097 1097
1098 @DomName('PannerNode.refDistance') 1098 @DomName('PannerNode.refDistance')
1099 @DocsEditable() 1099 @DocsEditable()
1100 num get refDistance => _blink.Native_PannerNode_refDistance_Getter(this); 1100 num get refDistance => _blink.BlinkPannerNode.$refDistance_Getter(this);
1101 1101
1102 @DomName('PannerNode.refDistance') 1102 @DomName('PannerNode.refDistance')
1103 @DocsEditable() 1103 @DocsEditable()
1104 void set refDistance(num value) => _blink.Native_PannerNode_refDistance_Setter (this, value); 1104 void set refDistance(num value) => _blink.BlinkPannerNode.$refDistance_Setter( this, value);
1105 1105
1106 @DomName('PannerNode.rolloffFactor') 1106 @DomName('PannerNode.rolloffFactor')
1107 @DocsEditable() 1107 @DocsEditable()
1108 num get rolloffFactor => _blink.Native_PannerNode_rolloffFactor_Getter(this); 1108 num get rolloffFactor => _blink.BlinkPannerNode.$rolloffFactor_Getter(this);
1109 1109
1110 @DomName('PannerNode.rolloffFactor') 1110 @DomName('PannerNode.rolloffFactor')
1111 @DocsEditable() 1111 @DocsEditable()
1112 void set rolloffFactor(num value) => _blink.Native_PannerNode_rolloffFactor_Se tter(this, value); 1112 void set rolloffFactor(num value) => _blink.BlinkPannerNode.$rolloffFactor_Set ter(this, value);
1113 1113
1114 @DomName('PannerNode.setOrientation') 1114 @DomName('PannerNode.setOrientation')
1115 @DocsEditable() 1115 @DocsEditable()
1116 void setOrientation(num x, num y, num z) => _blink.Native_PannerNode_setOrient ation_Callback(this, x, y, z); 1116 void setOrientation(num x, num y, num z) => _blink.BlinkPannerNode.$setOrienta tion_Callback(this, x, y, z);
1117 1117
1118 @DomName('PannerNode.setPosition') 1118 @DomName('PannerNode.setPosition')
1119 @DocsEditable() 1119 @DocsEditable()
1120 void setPosition(num x, num y, num z) => _blink.Native_PannerNode_setPosition_ Callback(this, x, y, z); 1120 void setPosition(num x, num y, num z) => _blink.BlinkPannerNode.$setPosition_C allback(this, x, y, z);
1121 1121
1122 @DomName('PannerNode.setVelocity') 1122 @DomName('PannerNode.setVelocity')
1123 @DocsEditable() 1123 @DocsEditable()
1124 void setVelocity(num x, num y, num z) => _blink.Native_PannerNode_setVelocity_ Callback(this, x, y, z); 1124 void setVelocity(num x, num y, num z) => _blink.BlinkPannerNode.$setVelocity_C allback(this, x, y, z);
1125 1125
1126 } 1126 }
1127 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1127 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1128 // for details. All rights reserved. Use of this source code is governed by a 1128 // for details. All rights reserved. Use of this source code is governed by a
1129 // BSD-style license that can be found in the LICENSE file. 1129 // BSD-style license that can be found in the LICENSE file.
1130 1130
1131 // WARNING: Do not edit - generated code. 1131 // WARNING: Do not edit - generated code.
1132 1132
1133 1133
1134 @DocsEditable() 1134 @DocsEditable()
(...skipping 25 matching lines...) Expand all
1160 * 1160 *
1161 * See [EventStreamProvider] for usage information. 1161 * See [EventStreamProvider] for usage information.
1162 */ 1162 */
1163 @DomName('ScriptProcessorNode.audioprocessEvent') 1163 @DomName('ScriptProcessorNode.audioprocessEvent')
1164 @DocsEditable() 1164 @DocsEditable()
1165 @Experimental() // untriaged 1165 @Experimental() // untriaged
1166 static const EventStreamProvider<AudioProcessingEvent> audioProcessEvent = con st EventStreamProvider<AudioProcessingEvent>('audioprocess'); 1166 static const EventStreamProvider<AudioProcessingEvent> audioProcessEvent = con st EventStreamProvider<AudioProcessingEvent>('audioprocess');
1167 1167
1168 @DomName('ScriptProcessorNode.bufferSize') 1168 @DomName('ScriptProcessorNode.bufferSize')
1169 @DocsEditable() 1169 @DocsEditable()
1170 int get bufferSize => _blink.Native_ScriptProcessorNode_bufferSize_Getter(this ); 1170 int get bufferSize => _blink.BlinkScriptProcessorNode.$bufferSize_Getter(this) ;
1171 1171
1172 @DomName('ScriptProcessorNode._setEventListener') 1172 @DomName('ScriptProcessorNode._setEventListener')
1173 @DocsEditable() 1173 @DocsEditable()
1174 @Experimental() // non-standard 1174 @Experimental() // non-standard
1175 void _setEventListener(EventListener eventListener) => _blink.Native_ScriptPro cessorNode__setEventListener_Callback(this, eventListener); 1175 void _setEventListener(EventListener eventListener) => _blink.BlinkScriptProce ssorNode.$_setEventListener_Callback(this, eventListener);
1176 1176
1177 /// Stream of `audioprocess` events handled by this [ScriptProcessorNode]. 1177 /// Stream of `audioprocess` events handled by this [ScriptProcessorNode].
1178 /** 1178 /**
1179 * Get a Stream that fires events when AudioProcessingEvents occur. 1179 * Get a Stream that fires events when AudioProcessingEvents occur.
1180 * This particular stream is special in that it only allows one listener to a 1180 * This particular stream is special in that it only allows one listener to a
1181 * given stream. Converting the returned Stream [asBroadcast] will likely ruin 1181 * given stream. Converting the returned Stream [asBroadcast] will likely ruin
1182 * the soft-real-time properties which which these events are fired and can 1182 * the soft-real-time properties which which these events are fired and can
1183 * be processed. 1183 * be processed.
1184 */ 1184 */
1185 @DomName('ScriptProcessorNode.onaudioprocess') 1185 @DomName('ScriptProcessorNode.onaudioprocess')
(...skipping 12 matching lines...) Expand all
1198 @DocsEditable() 1198 @DocsEditable()
1199 @DomName('WaveShaperNode') 1199 @DomName('WaveShaperNode')
1200 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#dfn-Wav eShaperNode 1200 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#dfn-Wav eShaperNode
1201 @Experimental() 1201 @Experimental()
1202 class WaveShaperNode extends AudioNode { 1202 class WaveShaperNode extends AudioNode {
1203 // To suppress missing implicit constructor warnings. 1203 // To suppress missing implicit constructor warnings.
1204 factory WaveShaperNode._() { throw new UnsupportedError("Not supported"); } 1204 factory WaveShaperNode._() { throw new UnsupportedError("Not supported"); }
1205 1205
1206 @DomName('WaveShaperNode.curve') 1206 @DomName('WaveShaperNode.curve')
1207 @DocsEditable() 1207 @DocsEditable()
1208 Float32List get curve => _blink.Native_WaveShaperNode_curve_Getter(this); 1208 Float32List get curve => _blink.BlinkWaveShaperNode.$curve_Getter(this);
1209 1209
1210 @DomName('WaveShaperNode.curve') 1210 @DomName('WaveShaperNode.curve')
1211 @DocsEditable() 1211 @DocsEditable()
1212 void set curve(Float32List value) => _blink.Native_WaveShaperNode_curve_Setter (this, value); 1212 void set curve(Float32List value) => _blink.BlinkWaveShaperNode.$curve_Setter( this, value);
1213 1213
1214 @DomName('WaveShaperNode.oversample') 1214 @DomName('WaveShaperNode.oversample')
1215 @DocsEditable() 1215 @DocsEditable()
1216 String get oversample => _blink.Native_WaveShaperNode_oversample_Getter(this); 1216 String get oversample => _blink.BlinkWaveShaperNode.$oversample_Getter(this);
1217 1217
1218 @DomName('WaveShaperNode.oversample') 1218 @DomName('WaveShaperNode.oversample')
1219 @DocsEditable() 1219 @DocsEditable()
1220 void set oversample(String value) => _blink.Native_WaveShaperNode_oversample_S etter(this, value); 1220 void set oversample(String value) => _blink.BlinkWaveShaperNode.$oversample_Se tter(this, value);
1221 1221
1222 } 1222 }
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