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

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

Issue 258733009: Rename blink -> _blink (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Regenerate SDK from dart repo 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 import 'dart:_blink' as _blink;
11 // DO NOT EDIT 11 // DO NOT EDIT
12 // Auto-generated dart:audio library. 12 // Auto-generated dart:audio library.
13 13
14 14
15 15
16 16
17 // 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
18 // 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
19 // BSD-style license that can be found in the LICENSE file. 19 // BSD-style license that can be found in the LICENSE file.
20 20
21 // WARNING: Do not edit - generated code. 21 // WARNING: Do not edit - generated code.
22 22
23 23
24 @DocsEditable() 24 @DocsEditable()
25 @DomName('AnalyserNode') 25 @DomName('AnalyserNode')
26 // 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
27 @Experimental() 27 @Experimental()
28 class AnalyserNode extends AudioNode { 28 class AnalyserNode extends AudioNode {
29 // To suppress missing implicit constructor warnings. 29 // To suppress missing implicit constructor warnings.
30 factory AnalyserNode._() { throw new UnsupportedError("Not supported"); } 30 factory AnalyserNode._() { throw new UnsupportedError("Not supported"); }
31 31
32 @DomName('AnalyserNode.fftSize') 32 @DomName('AnalyserNode.fftSize')
33 @DocsEditable() 33 @DocsEditable()
34 int get fftSize => blink.Native_AnalyserNode_fftSize_Getter(this); 34 int get fftSize => _blink.Native_AnalyserNode_fftSize_Getter(this);
35 35
36 @DomName('AnalyserNode.fftSize') 36 @DomName('AnalyserNode.fftSize')
37 @DocsEditable() 37 @DocsEditable()
38 void set fftSize(int value) => blink.Native_AnalyserNode_fftSize_Setter(this, value); 38 void set fftSize(int value) => _blink.Native_AnalyserNode_fftSize_Setter(this, value);
39 39
40 @DomName('AnalyserNode.frequencyBinCount') 40 @DomName('AnalyserNode.frequencyBinCount')
41 @DocsEditable() 41 @DocsEditable()
42 int get frequencyBinCount => blink.Native_AnalyserNode_frequencyBinCount_Gette r(this); 42 int get frequencyBinCount => _blink.Native_AnalyserNode_frequencyBinCount_Gett er(this);
43 43
44 @DomName('AnalyserNode.maxDecibels') 44 @DomName('AnalyserNode.maxDecibels')
45 @DocsEditable() 45 @DocsEditable()
46 num get maxDecibels => blink.Native_AnalyserNode_maxDecibels_Getter(this); 46 num get maxDecibels => _blink.Native_AnalyserNode_maxDecibels_Getter(this);
47 47
48 @DomName('AnalyserNode.maxDecibels') 48 @DomName('AnalyserNode.maxDecibels')
49 @DocsEditable() 49 @DocsEditable()
50 void set maxDecibels(num value) => blink.Native_AnalyserNode_maxDecibels_Sette r(this, value); 50 void set maxDecibels(num value) => _blink.Native_AnalyserNode_maxDecibels_Sett er(this, value);
51 51
52 @DomName('AnalyserNode.minDecibels') 52 @DomName('AnalyserNode.minDecibels')
53 @DocsEditable() 53 @DocsEditable()
54 num get minDecibels => blink.Native_AnalyserNode_minDecibels_Getter(this); 54 num get minDecibels => _blink.Native_AnalyserNode_minDecibels_Getter(this);
55 55
56 @DomName('AnalyserNode.minDecibels') 56 @DomName('AnalyserNode.minDecibels')
57 @DocsEditable() 57 @DocsEditable()
58 void set minDecibels(num value) => blink.Native_AnalyserNode_minDecibels_Sette r(this, value); 58 void set minDecibels(num value) => _blink.Native_AnalyserNode_minDecibels_Sett er(this, value);
59 59
60 @DomName('AnalyserNode.smoothingTimeConstant') 60 @DomName('AnalyserNode.smoothingTimeConstant')
61 @DocsEditable() 61 @DocsEditable()
62 num get smoothingTimeConstant => blink.Native_AnalyserNode_smoothingTimeConsta nt_Getter(this); 62 num get smoothingTimeConstant => _blink.Native_AnalyserNode_smoothingTimeConst ant_Getter(this);
63 63
64 @DomName('AnalyserNode.smoothingTimeConstant') 64 @DomName('AnalyserNode.smoothingTimeConstant')
65 @DocsEditable() 65 @DocsEditable()
66 void set smoothingTimeConstant(num value) => blink.Native_AnalyserNode_smoothi ngTimeConstant_Setter(this, value); 66 void set smoothingTimeConstant(num value) => _blink.Native_AnalyserNode_smooth ingTimeConstant_Setter(this, value);
67 67
68 @DomName('AnalyserNode.getByteFrequencyData') 68 @DomName('AnalyserNode.getByteFrequencyData')
69 @DocsEditable() 69 @DocsEditable()
70 void getByteFrequencyData(Uint8List array) => blink.Native_AnalyserNode_getByt eFrequencyData_Callback(this, array); 70 void getByteFrequencyData(Uint8List array) => _blink.Native_AnalyserNode_getBy teFrequencyData_Callback(this, array);
71 71
72 @DomName('AnalyserNode.getByteTimeDomainData') 72 @DomName('AnalyserNode.getByteTimeDomainData')
73 @DocsEditable() 73 @DocsEditable()
74 void getByteTimeDomainData(Uint8List array) => blink.Native_AnalyserNode_getBy teTimeDomainData_Callback(this, array); 74 void getByteTimeDomainData(Uint8List array) => _blink.Native_AnalyserNode_getB yteTimeDomainData_Callback(this, array);
75 75
76 @DomName('AnalyserNode.getFloatFrequencyData') 76 @DomName('AnalyserNode.getFloatFrequencyData')
77 @DocsEditable() 77 @DocsEditable()
78 void getFloatFrequencyData(Float32List array) => blink.Native_AnalyserNode_get FloatFrequencyData_Callback(this, array); 78 void getFloatFrequencyData(Float32List array) => _blink.Native_AnalyserNode_ge tFloatFrequencyData_Callback(this, array);
79 79
80 } 80 }
81 // 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
82 // 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
83 // BSD-style license that can be found in the LICENSE file. 83 // BSD-style license that can be found in the LICENSE file.
84 84
85 // WARNING: Do not edit - generated code. 85 // WARNING: Do not edit - generated code.
86 86
87 87
88 @DocsEditable() 88 @DocsEditable()
89 @DomName('AudioBuffer') 89 @DomName('AudioBuffer')
90 // 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
91 @Experimental() 91 @Experimental()
92 class AudioBuffer extends NativeFieldWrapperClass2 { 92 class AudioBuffer extends NativeFieldWrapperClass2 {
93 // To suppress missing implicit constructor warnings. 93 // To suppress missing implicit constructor warnings.
94 factory AudioBuffer._() { throw new UnsupportedError("Not supported"); } 94 factory AudioBuffer._() { throw new UnsupportedError("Not supported"); }
95 95
96 @DomName('AudioBuffer.duration') 96 @DomName('AudioBuffer.duration')
97 @DocsEditable() 97 @DocsEditable()
98 double get duration => blink.Native_AudioBuffer_duration_Getter(this); 98 double get duration => _blink.Native_AudioBuffer_duration_Getter(this);
99 99
100 @DomName('AudioBuffer.gain') 100 @DomName('AudioBuffer.gain')
101 @DocsEditable() 101 @DocsEditable()
102 num get gain => blink.Native_AudioBuffer_gain_Getter(this); 102 num get gain => _blink.Native_AudioBuffer_gain_Getter(this);
103 103
104 @DomName('AudioBuffer.gain') 104 @DomName('AudioBuffer.gain')
105 @DocsEditable() 105 @DocsEditable()
106 void set gain(num value) => blink.Native_AudioBuffer_gain_Setter(this, value); 106 void set gain(num value) => _blink.Native_AudioBuffer_gain_Setter(this, value) ;
107 107
108 @DomName('AudioBuffer.length') 108 @DomName('AudioBuffer.length')
109 @DocsEditable() 109 @DocsEditable()
110 int get length => blink.Native_AudioBuffer_length_Getter(this); 110 int get length => _blink.Native_AudioBuffer_length_Getter(this);
111 111
112 @DomName('AudioBuffer.numberOfChannels') 112 @DomName('AudioBuffer.numberOfChannels')
113 @DocsEditable() 113 @DocsEditable()
114 int get numberOfChannels => blink.Native_AudioBuffer_numberOfChannels_Getter(t his); 114 int get numberOfChannels => _blink.Native_AudioBuffer_numberOfChannels_Getter( this);
115 115
116 @DomName('AudioBuffer.sampleRate') 116 @DomName('AudioBuffer.sampleRate')
117 @DocsEditable() 117 @DocsEditable()
118 double get sampleRate => blink.Native_AudioBuffer_sampleRate_Getter(this); 118 double get sampleRate => _blink.Native_AudioBuffer_sampleRate_Getter(this);
119 119
120 @DomName('AudioBuffer.getChannelData') 120 @DomName('AudioBuffer.getChannelData')
121 @DocsEditable() 121 @DocsEditable()
122 Float32List getChannelData(int channelIndex) => blink.Native_AudioBuffer_getCh annelData_Callback(this, channelIndex); 122 Float32List getChannelData(int channelIndex) => _blink.Native_AudioBuffer_getC hannelData_Callback(this, channelIndex);
123 123
124 } 124 }
125 // 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
126 // 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
127 // BSD-style license that can be found in the LICENSE file. 127 // BSD-style license that can be found in the LICENSE file.
128 128
129 // WARNING: Do not edit - generated code. 129 // WARNING: Do not edit - generated code.
130 130
131 131
132 @DomName('AudioBufferCallback') 132 @DomName('AudioBufferCallback')
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
170 @DomName('AudioBufferSourceNode.SCHEDULED_STATE') 170 @DomName('AudioBufferSourceNode.SCHEDULED_STATE')
171 @DocsEditable() 171 @DocsEditable()
172 static const int SCHEDULED_STATE = 1; 172 static const int SCHEDULED_STATE = 1;
173 173
174 @DomName('AudioBufferSourceNode.UNSCHEDULED_STATE') 174 @DomName('AudioBufferSourceNode.UNSCHEDULED_STATE')
175 @DocsEditable() 175 @DocsEditable()
176 static const int UNSCHEDULED_STATE = 0; 176 static const int UNSCHEDULED_STATE = 0;
177 177
178 @DomName('AudioBufferSourceNode.buffer') 178 @DomName('AudioBufferSourceNode.buffer')
179 @DocsEditable() 179 @DocsEditable()
180 AudioBuffer get buffer => blink.Native_AudioBufferSourceNode_buffer_Getter(thi s); 180 AudioBuffer get buffer => _blink.Native_AudioBufferSourceNode_buffer_Getter(th is);
181 181
182 @DomName('AudioBufferSourceNode.buffer') 182 @DomName('AudioBufferSourceNode.buffer')
183 @DocsEditable() 183 @DocsEditable()
184 void set buffer(AudioBuffer value) => blink.Native_AudioBufferSourceNode_buffe r_Setter(this, value); 184 void set buffer(AudioBuffer value) => _blink.Native_AudioBufferSourceNode_buff er_Setter(this, value);
185 185
186 @DomName('AudioBufferSourceNode.gain') 186 @DomName('AudioBufferSourceNode.gain')
187 @DocsEditable() 187 @DocsEditable()
188 AudioParam get gain => blink.Native_AudioBufferSourceNode_gain_Getter(this); 188 AudioParam get gain => _blink.Native_AudioBufferSourceNode_gain_Getter(this);
189 189
190 @DomName('AudioBufferSourceNode.loop') 190 @DomName('AudioBufferSourceNode.loop')
191 @DocsEditable() 191 @DocsEditable()
192 bool get loop => blink.Native_AudioBufferSourceNode_loop_Getter(this); 192 bool get loop => _blink.Native_AudioBufferSourceNode_loop_Getter(this);
193 193
194 @DomName('AudioBufferSourceNode.loop') 194 @DomName('AudioBufferSourceNode.loop')
195 @DocsEditable() 195 @DocsEditable()
196 void set loop(bool value) => blink.Native_AudioBufferSourceNode_loop_Setter(th is, value); 196 void set loop(bool value) => _blink.Native_AudioBufferSourceNode_loop_Setter(t his, value);
197 197
198 @DomName('AudioBufferSourceNode.loopEnd') 198 @DomName('AudioBufferSourceNode.loopEnd')
199 @DocsEditable() 199 @DocsEditable()
200 num get loopEnd => blink.Native_AudioBufferSourceNode_loopEnd_Getter(this); 200 num get loopEnd => _blink.Native_AudioBufferSourceNode_loopEnd_Getter(this);
201 201
202 @DomName('AudioBufferSourceNode.loopEnd') 202 @DomName('AudioBufferSourceNode.loopEnd')
203 @DocsEditable() 203 @DocsEditable()
204 void set loopEnd(num value) => blink.Native_AudioBufferSourceNode_loopEnd_Sett er(this, value); 204 void set loopEnd(num value) => _blink.Native_AudioBufferSourceNode_loopEnd_Set ter(this, value);
205 205
206 @DomName('AudioBufferSourceNode.loopStart') 206 @DomName('AudioBufferSourceNode.loopStart')
207 @DocsEditable() 207 @DocsEditable()
208 num get loopStart => blink.Native_AudioBufferSourceNode_loopStart_Getter(this) ; 208 num get loopStart => _blink.Native_AudioBufferSourceNode_loopStart_Getter(this );
209 209
210 @DomName('AudioBufferSourceNode.loopStart') 210 @DomName('AudioBufferSourceNode.loopStart')
211 @DocsEditable() 211 @DocsEditable()
212 void set loopStart(num value) => blink.Native_AudioBufferSourceNode_loopStart_ Setter(this, value); 212 void set loopStart(num value) => _blink.Native_AudioBufferSourceNode_loopStart _Setter(this, value);
213 213
214 @DomName('AudioBufferSourceNode.playbackRate') 214 @DomName('AudioBufferSourceNode.playbackRate')
215 @DocsEditable() 215 @DocsEditable()
216 AudioParam get playbackRate => blink.Native_AudioBufferSourceNode_playbackRate _Getter(this); 216 AudioParam get playbackRate => _blink.Native_AudioBufferSourceNode_playbackRat e_Getter(this);
217 217
218 @DomName('AudioBufferSourceNode.playbackState') 218 @DomName('AudioBufferSourceNode.playbackState')
219 @DocsEditable() 219 @DocsEditable()
220 int get playbackState => blink.Native_AudioBufferSourceNode_playbackState_Gett er(this); 220 int get playbackState => _blink.Native_AudioBufferSourceNode_playbackState_Get ter(this);
221 221
222 @DomName('AudioBufferSourceNode.noteGrainOn') 222 @DomName('AudioBufferSourceNode.noteGrainOn')
223 @DocsEditable() 223 @DocsEditable()
224 void noteGrainOn(num when, num grainOffset, num grainDuration) => blink.Native _AudioBufferSourceNode_noteGrainOn_Callback(this, when, grainOffset, grainDurati on); 224 void noteGrainOn(num when, num grainOffset, num grainDuration) => _blink.Nativ e_AudioBufferSourceNode_noteGrainOn_Callback(this, when, grainOffset, grainDurat ion);
225 225
226 @DomName('AudioBufferSourceNode.noteOff') 226 @DomName('AudioBufferSourceNode.noteOff')
227 @DocsEditable() 227 @DocsEditable()
228 void noteOff(num when) => blink.Native_AudioBufferSourceNode_noteOff_Callback( this, when); 228 void noteOff(num when) => _blink.Native_AudioBufferSourceNode_noteOff_Callback (this, when);
229 229
230 @DomName('AudioBufferSourceNode.noteOn') 230 @DomName('AudioBufferSourceNode.noteOn')
231 @DocsEditable() 231 @DocsEditable()
232 void noteOn(num when) => blink.Native_AudioBufferSourceNode_noteOn_Callback(th is, when); 232 void noteOn(num when) => _blink.Native_AudioBufferSourceNode_noteOn_Callback(t his, when);
233 233
234 void start([num when, num grainOffset, num grainDuration]) { 234 void start([num when, num grainOffset, num grainDuration]) {
235 if (grainDuration != null) { 235 if (grainDuration != null) {
236 _start_1(when, grainOffset, grainDuration); 236 _start_1(when, grainOffset, grainDuration);
237 return; 237 return;
238 } 238 }
239 if (grainOffset != null) { 239 if (grainOffset != null) {
240 _start_2(when, grainOffset); 240 _start_2(when, grainOffset);
241 return; 241 return;
242 } 242 }
243 if (when != null) { 243 if (when != null) {
244 _start_3(when); 244 _start_3(when);
245 return; 245 return;
246 } 246 }
247 _start_4(); 247 _start_4();
248 return; 248 return;
249 } 249 }
250 250
251 void _start_1(when, grainOffset, grainDuration) => blink.Native_AudioBufferSou rceNode__start_1_Callback(this, when, grainOffset, grainDuration); 251 void _start_1(when, grainOffset, grainDuration) => _blink.Native_AudioBufferSo urceNode__start_1_Callback(this, when, grainOffset, grainDuration);
252 252
253 void _start_2(when, grainOffset) => blink.Native_AudioBufferSourceNode__start_ 2_Callback(this, when, grainOffset); 253 void _start_2(when, grainOffset) => _blink.Native_AudioBufferSourceNode__start _2_Callback(this, when, grainOffset);
254 254
255 void _start_3(when) => blink.Native_AudioBufferSourceNode__start_3_Callback(th is, when); 255 void _start_3(when) => _blink.Native_AudioBufferSourceNode__start_3_Callback(t his, when);
256 256
257 void _start_4() => blink.Native_AudioBufferSourceNode__start_4_Callback(this); 257 void _start_4() => _blink.Native_AudioBufferSourceNode__start_4_Callback(this) ;
258 258
259 void stop([num when]) { 259 void stop([num when]) {
260 if (when != null) { 260 if (when != null) {
261 _stop_1(when); 261 _stop_1(when);
262 return; 262 return;
263 } 263 }
264 _stop_2(); 264 _stop_2();
265 return; 265 return;
266 } 266 }
267 267
268 void _stop_1(when) => blink.Native_AudioBufferSourceNode__stop_1_Callback(this , when); 268 void _stop_1(when) => _blink.Native_AudioBufferSourceNode__stop_1_Callback(thi s, when);
269 269
270 void _stop_2() => blink.Native_AudioBufferSourceNode__stop_2_Callback(this); 270 void _stop_2() => _blink.Native_AudioBufferSourceNode__stop_2_Callback(this);
271 271
272 /// Stream of `ended` events handled by this [AudioBufferSourceNode]. 272 /// Stream of `ended` events handled by this [AudioBufferSourceNode].
273 @DomName('AudioBufferSourceNode.onended') 273 @DomName('AudioBufferSourceNode.onended')
274 @DocsEditable() 274 @DocsEditable()
275 @Experimental() // untriaged 275 @Experimental() // untriaged
276 Stream<Event> get onEnded => endedEvent.forTarget(this); 276 Stream<Event> get onEnded => endedEvent.forTarget(this);
277 277
278 } 278 }
279 // 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
280 // 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
298 @DocsEditable() 298 @DocsEditable()
299 static const EventStreamProvider<Event> completeEvent = const EventStreamProvi der<Event>('complete'); 299 static const EventStreamProvider<Event> completeEvent = const EventStreamProvi der<Event>('complete');
300 300
301 @DomName('AudioContext.AudioContext') 301 @DomName('AudioContext.AudioContext')
302 @DocsEditable() 302 @DocsEditable()
303 factory AudioContext() { 303 factory AudioContext() {
304 return AudioContext._create_1(); 304 return AudioContext._create_1();
305 } 305 }
306 306
307 @DocsEditable() 307 @DocsEditable()
308 static AudioContext _create_1() => blink.Native_AudioContext__create_1construc torCallback(); 308 static AudioContext _create_1() => _blink.Native_AudioContext__create_1constru ctorCallback();
309 309
310 /// Checks if this type is supported on the current platform. 310 /// Checks if this type is supported on the current platform.
311 static bool get supported => true; 311 static bool get supported => true;
312 312
313 @DomName('AudioContext.activeSourceCount') 313 @DomName('AudioContext.activeSourceCount')
314 @DocsEditable() 314 @DocsEditable()
315 int get activeSourceCount => blink.Native_AudioContext_activeSourceCount_Gette r(this); 315 int get activeSourceCount => _blink.Native_AudioContext_activeSourceCount_Gett er(this);
316 316
317 @DomName('AudioContext.currentTime') 317 @DomName('AudioContext.currentTime')
318 @DocsEditable() 318 @DocsEditable()
319 double get currentTime => blink.Native_AudioContext_currentTime_Getter(this); 319 double get currentTime => _blink.Native_AudioContext_currentTime_Getter(this);
320 320
321 @DomName('AudioContext.destination') 321 @DomName('AudioContext.destination')
322 @DocsEditable() 322 @DocsEditable()
323 AudioDestinationNode get destination => blink.Native_AudioContext_destination_ Getter(this); 323 AudioDestinationNode get destination => _blink.Native_AudioContext_destination _Getter(this);
324 324
325 @DomName('AudioContext.listener') 325 @DomName('AudioContext.listener')
326 @DocsEditable() 326 @DocsEditable()
327 AudioListener get listener => blink.Native_AudioContext_listener_Getter(this); 327 AudioListener get listener => _blink.Native_AudioContext_listener_Getter(this) ;
328 328
329 @DomName('AudioContext.sampleRate') 329 @DomName('AudioContext.sampleRate')
330 @DocsEditable() 330 @DocsEditable()
331 double get sampleRate => blink.Native_AudioContext_sampleRate_Getter(this); 331 double get sampleRate => _blink.Native_AudioContext_sampleRate_Getter(this);
332 332
333 @DomName('AudioContext.createAnalyser') 333 @DomName('AudioContext.createAnalyser')
334 @DocsEditable() 334 @DocsEditable()
335 AnalyserNode createAnalyser() => blink.Native_AudioContext_createAnalyser_Call back(this); 335 AnalyserNode createAnalyser() => _blink.Native_AudioContext_createAnalyser_Cal lback(this);
336 336
337 @DomName('AudioContext.createBiquadFilter') 337 @DomName('AudioContext.createBiquadFilter')
338 @DocsEditable() 338 @DocsEditable()
339 BiquadFilterNode createBiquadFilter() => blink.Native_AudioContext_createBiqua dFilter_Callback(this); 339 BiquadFilterNode createBiquadFilter() => _blink.Native_AudioContext_createBiqu adFilter_Callback(this);
340 340
341 @DomName('AudioContext.createBuffer') 341 @DomName('AudioContext.createBuffer')
342 @DocsEditable() 342 @DocsEditable()
343 AudioBuffer createBuffer(int numberOfChannels, int numberOfFrames, num sampleR ate) => blink.Native_AudioContext_createBuffer_Callback(this, numberOfChannels, numberOfFrames, sampleRate); 343 AudioBuffer createBuffer(int numberOfChannels, int numberOfFrames, num sampleR ate) => _blink.Native_AudioContext_createBuffer_Callback(this, numberOfChannels, numberOfFrames, sampleRate);
344 344
345 @DomName('AudioContext.createBufferFromBuffer') 345 @DomName('AudioContext.createBufferFromBuffer')
346 @DocsEditable() 346 @DocsEditable()
347 AudioBuffer createBufferFromBuffer(ByteBuffer buffer, bool mixToMono) => blink .Native_AudioContext_createBufferFromBuffer_Callback(this, buffer, mixToMono); 347 AudioBuffer createBufferFromBuffer(ByteBuffer buffer, bool mixToMono) => _blin k.Native_AudioContext_createBufferFromBuffer_Callback(this, buffer, mixToMono);
348 348
349 @DomName('AudioContext.createBufferSource') 349 @DomName('AudioContext.createBufferSource')
350 @DocsEditable() 350 @DocsEditable()
351 AudioBufferSourceNode createBufferSource() => blink.Native_AudioContext_create BufferSource_Callback(this); 351 AudioBufferSourceNode createBufferSource() => _blink.Native_AudioContext_creat eBufferSource_Callback(this);
352 352
353 ChannelMergerNode createChannelMerger([int numberOfInputs]) { 353 ChannelMergerNode createChannelMerger([int numberOfInputs]) {
354 if (numberOfInputs != null) { 354 if (numberOfInputs != null) {
355 return _createChannelMerger_1(numberOfInputs); 355 return _createChannelMerger_1(numberOfInputs);
356 } 356 }
357 return _createChannelMerger_2(); 357 return _createChannelMerger_2();
358 } 358 }
359 359
360 ChannelMergerNode _createChannelMerger_1(numberOfInputs) => blink.Native_Audio Context__createChannelMerger_1_Callback(this, numberOfInputs); 360 ChannelMergerNode _createChannelMerger_1(numberOfInputs) => _blink.Native_Audi oContext__createChannelMerger_1_Callback(this, numberOfInputs);
361 361
362 ChannelMergerNode _createChannelMerger_2() => blink.Native_AudioContext__creat eChannelMerger_2_Callback(this); 362 ChannelMergerNode _createChannelMerger_2() => _blink.Native_AudioContext__crea teChannelMerger_2_Callback(this);
363 363
364 ChannelSplitterNode createChannelSplitter([int numberOfOutputs]) { 364 ChannelSplitterNode createChannelSplitter([int numberOfOutputs]) {
365 if (numberOfOutputs != null) { 365 if (numberOfOutputs != null) {
366 return _createChannelSplitter_1(numberOfOutputs); 366 return _createChannelSplitter_1(numberOfOutputs);
367 } 367 }
368 return _createChannelSplitter_2(); 368 return _createChannelSplitter_2();
369 } 369 }
370 370
371 ChannelSplitterNode _createChannelSplitter_1(numberOfOutputs) => blink.Native_ AudioContext__createChannelSplitter_1_Callback(this, numberOfOutputs); 371 ChannelSplitterNode _createChannelSplitter_1(numberOfOutputs) => _blink.Native _AudioContext__createChannelSplitter_1_Callback(this, numberOfOutputs);
372 372
373 ChannelSplitterNode _createChannelSplitter_2() => blink.Native_AudioContext__c reateChannelSplitter_2_Callback(this); 373 ChannelSplitterNode _createChannelSplitter_2() => _blink.Native_AudioContext__ createChannelSplitter_2_Callback(this);
374 374
375 @DomName('AudioContext.createConvolver') 375 @DomName('AudioContext.createConvolver')
376 @DocsEditable() 376 @DocsEditable()
377 ConvolverNode createConvolver() => blink.Native_AudioContext_createConvolver_C allback(this); 377 ConvolverNode createConvolver() => _blink.Native_AudioContext_createConvolver_ Callback(this);
378 378
379 DelayNode createDelay([num maxDelayTime]) { 379 DelayNode createDelay([num maxDelayTime]) {
380 if (maxDelayTime != null) { 380 if (maxDelayTime != null) {
381 return _createDelay_1(maxDelayTime); 381 return _createDelay_1(maxDelayTime);
382 } 382 }
383 return _createDelay_2(); 383 return _createDelay_2();
384 } 384 }
385 385
386 DelayNode _createDelay_1(maxDelayTime) => blink.Native_AudioContext__createDel ay_1_Callback(this, maxDelayTime); 386 DelayNode _createDelay_1(maxDelayTime) => _blink.Native_AudioContext__createDe lay_1_Callback(this, maxDelayTime);
387 387
388 DelayNode _createDelay_2() => blink.Native_AudioContext__createDelay_2_Callbac k(this); 388 DelayNode _createDelay_2() => _blink.Native_AudioContext__createDelay_2_Callba ck(this);
389 389
390 DelayNode createDelayNode([num maxDelayTime]) { 390 DelayNode createDelayNode([num maxDelayTime]) {
391 if (maxDelayTime != null) { 391 if (maxDelayTime != null) {
392 return _createDelayNode_1(maxDelayTime); 392 return _createDelayNode_1(maxDelayTime);
393 } 393 }
394 return _createDelayNode_2(); 394 return _createDelayNode_2();
395 } 395 }
396 396
397 DelayNode _createDelayNode_1(maxDelayTime) => blink.Native_AudioContext__creat eDelayNode_1_Callback(this, maxDelayTime); 397 DelayNode _createDelayNode_1(maxDelayTime) => _blink.Native_AudioContext__crea teDelayNode_1_Callback(this, maxDelayTime);
398 398
399 DelayNode _createDelayNode_2() => blink.Native_AudioContext__createDelayNode_2 _Callback(this); 399 DelayNode _createDelayNode_2() => _blink.Native_AudioContext__createDelayNode_ 2_Callback(this);
400 400
401 @DomName('AudioContext.createDynamicsCompressor') 401 @DomName('AudioContext.createDynamicsCompressor')
402 @DocsEditable() 402 @DocsEditable()
403 DynamicsCompressorNode createDynamicsCompressor() => blink.Native_AudioContext _createDynamicsCompressor_Callback(this); 403 DynamicsCompressorNode createDynamicsCompressor() => _blink.Native_AudioContex t_createDynamicsCompressor_Callback(this);
404 404
405 @DomName('AudioContext.createGain') 405 @DomName('AudioContext.createGain')
406 @DocsEditable() 406 @DocsEditable()
407 GainNode createGain() => blink.Native_AudioContext_createGain_Callback(this); 407 GainNode createGain() => _blink.Native_AudioContext_createGain_Callback(this);
408 408
409 @DomName('AudioContext.createGainNode') 409 @DomName('AudioContext.createGainNode')
410 @DocsEditable() 410 @DocsEditable()
411 GainNode createGainNode() => blink.Native_AudioContext_createGainNode_Callback (this); 411 GainNode createGainNode() => _blink.Native_AudioContext_createGainNode_Callbac k(this);
412 412
413 ScriptProcessorNode createJavaScriptNode(int bufferSize, [int numberOfInputCha nnels, int numberOfOutputChannels]) { 413 ScriptProcessorNode createJavaScriptNode(int bufferSize, [int numberOfInputCha nnels, int numberOfOutputChannels]) {
414 if (numberOfOutputChannels != null) { 414 if (numberOfOutputChannels != null) {
415 return _createJavaScriptNode_1(bufferSize, numberOfInputChannels, numberOf OutputChannels); 415 return _createJavaScriptNode_1(bufferSize, numberOfInputChannels, numberOf OutputChannels);
416 } 416 }
417 if (numberOfInputChannels != null) { 417 if (numberOfInputChannels != null) {
418 return _createJavaScriptNode_2(bufferSize, numberOfInputChannels); 418 return _createJavaScriptNode_2(bufferSize, numberOfInputChannels);
419 } 419 }
420 return _createJavaScriptNode_3(bufferSize); 420 return _createJavaScriptNode_3(bufferSize);
421 } 421 }
422 422
423 ScriptProcessorNode _createJavaScriptNode_1(bufferSize, numberOfInputChannels, numberOfOutputChannels) => blink.Native_AudioContext__createJavaScriptNode_1_Ca llback(this, bufferSize, numberOfInputChannels, numberOfOutputChannels); 423 ScriptProcessorNode _createJavaScriptNode_1(bufferSize, numberOfInputChannels, numberOfOutputChannels) => _blink.Native_AudioContext__createJavaScriptNode_1_C allback(this, bufferSize, numberOfInputChannels, numberOfOutputChannels);
424 424
425 ScriptProcessorNode _createJavaScriptNode_2(bufferSize, numberOfInputChannels) => blink.Native_AudioContext__createJavaScriptNode_2_Callback(this, bufferSize, numberOfInputChannels); 425 ScriptProcessorNode _createJavaScriptNode_2(bufferSize, numberOfInputChannels) => _blink.Native_AudioContext__createJavaScriptNode_2_Callback(this, bufferSize , numberOfInputChannels);
426 426
427 ScriptProcessorNode _createJavaScriptNode_3(bufferSize) => blink.Native_AudioC ontext__createJavaScriptNode_3_Callback(this, bufferSize); 427 ScriptProcessorNode _createJavaScriptNode_3(bufferSize) => _blink.Native_Audio Context__createJavaScriptNode_3_Callback(this, bufferSize);
428 428
429 @DomName('AudioContext.createMediaElementSource') 429 @DomName('AudioContext.createMediaElementSource')
430 @DocsEditable() 430 @DocsEditable()
431 MediaElementAudioSourceNode createMediaElementSource(MediaElement mediaElement ) => blink.Native_AudioContext_createMediaElementSource_Callback(this, mediaElem ent); 431 MediaElementAudioSourceNode createMediaElementSource(MediaElement mediaElement ) => _blink.Native_AudioContext_createMediaElementSource_Callback(this, mediaEle ment);
432 432
433 @DomName('AudioContext.createMediaStreamDestination') 433 @DomName('AudioContext.createMediaStreamDestination')
434 @DocsEditable() 434 @DocsEditable()
435 MediaStreamAudioDestinationNode createMediaStreamDestination() => blink.Native _AudioContext_createMediaStreamDestination_Callback(this); 435 MediaStreamAudioDestinationNode createMediaStreamDestination() => _blink.Nativ e_AudioContext_createMediaStreamDestination_Callback(this);
436 436
437 @DomName('AudioContext.createMediaStreamSource') 437 @DomName('AudioContext.createMediaStreamSource')
438 @DocsEditable() 438 @DocsEditable()
439 MediaStreamAudioSourceNode createMediaStreamSource(MediaStream mediaStream) => blink.Native_AudioContext_createMediaStreamSource_Callback(this, mediaStream); 439 MediaStreamAudioSourceNode createMediaStreamSource(MediaStream mediaStream) => _blink.Native_AudioContext_createMediaStreamSource_Callback(this, mediaStream);
440 440
441 @DomName('AudioContext.createOscillator') 441 @DomName('AudioContext.createOscillator')
442 @DocsEditable() 442 @DocsEditable()
443 OscillatorNode createOscillator() => blink.Native_AudioContext_createOscillato r_Callback(this); 443 OscillatorNode createOscillator() => _blink.Native_AudioContext_createOscillat or_Callback(this);
444 444
445 @DomName('AudioContext.createPanner') 445 @DomName('AudioContext.createPanner')
446 @DocsEditable() 446 @DocsEditable()
447 PannerNode createPanner() => blink.Native_AudioContext_createPanner_Callback(t his); 447 PannerNode createPanner() => _blink.Native_AudioContext_createPanner_Callback( this);
448 448
449 @DomName('AudioContext.createPeriodicWave') 449 @DomName('AudioContext.createPeriodicWave')
450 @DocsEditable() 450 @DocsEditable()
451 @Experimental() // untriaged 451 @Experimental() // untriaged
452 PeriodicWave createPeriodicWave(Float32List real, Float32List imag) => blink.N ative_AudioContext_createPeriodicWave_Callback(this, real, imag); 452 PeriodicWave createPeriodicWave(Float32List real, Float32List imag) => _blink. Native_AudioContext_createPeriodicWave_Callback(this, real, imag);
453 453
454 ScriptProcessorNode createScriptProcessor([int bufferSize, int numberOfInputCh annels, int numberOfOutputChannels]) { 454 ScriptProcessorNode createScriptProcessor([int bufferSize, int numberOfInputCh annels, int numberOfOutputChannels]) {
455 if (numberOfOutputChannels != null) { 455 if (numberOfOutputChannels != null) {
456 return _createScriptProcessor_1(bufferSize, numberOfInputChannels, numberO fOutputChannels); 456 return _createScriptProcessor_1(bufferSize, numberOfInputChannels, numberO fOutputChannels);
457 } 457 }
458 if (numberOfInputChannels != null) { 458 if (numberOfInputChannels != null) {
459 return _createScriptProcessor_2(bufferSize, numberOfInputChannels); 459 return _createScriptProcessor_2(bufferSize, numberOfInputChannels);
460 } 460 }
461 if (bufferSize != null) { 461 if (bufferSize != null) {
462 return _createScriptProcessor_3(bufferSize); 462 return _createScriptProcessor_3(bufferSize);
463 } 463 }
464 return _createScriptProcessor_4(); 464 return _createScriptProcessor_4();
465 } 465 }
466 466
467 ScriptProcessorNode _createScriptProcessor_1(bufferSize, numberOfInputChannels , numberOfOutputChannels) => blink.Native_AudioContext__createScriptProcessor_1_ Callback(this, bufferSize, numberOfInputChannels, numberOfOutputChannels); 467 ScriptProcessorNode _createScriptProcessor_1(bufferSize, numberOfInputChannels , numberOfOutputChannels) => _blink.Native_AudioContext__createScriptProcessor_1 _Callback(this, bufferSize, numberOfInputChannels, numberOfOutputChannels);
468 468
469 ScriptProcessorNode _createScriptProcessor_2(bufferSize, numberOfInputChannels ) => blink.Native_AudioContext__createScriptProcessor_2_Callback(this, bufferSiz e, numberOfInputChannels); 469 ScriptProcessorNode _createScriptProcessor_2(bufferSize, numberOfInputChannels ) => _blink.Native_AudioContext__createScriptProcessor_2_Callback(this, bufferSi ze, numberOfInputChannels);
470 470
471 ScriptProcessorNode _createScriptProcessor_3(bufferSize) => blink.Native_Audio Context__createScriptProcessor_3_Callback(this, bufferSize); 471 ScriptProcessorNode _createScriptProcessor_3(bufferSize) => _blink.Native_Audi oContext__createScriptProcessor_3_Callback(this, bufferSize);
472 472
473 ScriptProcessorNode _createScriptProcessor_4() => blink.Native_AudioContext__c reateScriptProcessor_4_Callback(this); 473 ScriptProcessorNode _createScriptProcessor_4() => _blink.Native_AudioContext__ createScriptProcessor_4_Callback(this);
474 474
475 @DomName('AudioContext.createWaveShaper') 475 @DomName('AudioContext.createWaveShaper')
476 @DocsEditable() 476 @DocsEditable()
477 WaveShaperNode createWaveShaper() => blink.Native_AudioContext_createWaveShape r_Callback(this); 477 WaveShaperNode createWaveShaper() => _blink.Native_AudioContext_createWaveShap er_Callback(this);
478 478
479 @DomName('AudioContext.decodeAudioData') 479 @DomName('AudioContext.decodeAudioData')
480 @DocsEditable() 480 @DocsEditable()
481 void _decodeAudioData(ByteBuffer audioData, AudioBufferCallback successCallbac k, [AudioBufferCallback errorCallback]) => blink.Native_AudioContext_decodeAudio Data_Callback(this, audioData, successCallback, errorCallback); 481 void _decodeAudioData(ByteBuffer audioData, AudioBufferCallback successCallbac k, [AudioBufferCallback errorCallback]) => _blink.Native_AudioContext_decodeAudi oData_Callback(this, audioData, successCallback, errorCallback);
482 482
483 @DomName('AudioContext.startRendering') 483 @DomName('AudioContext.startRendering')
484 @DocsEditable() 484 @DocsEditable()
485 void startRendering() => blink.Native_AudioContext_startRendering_Callback(thi s); 485 void startRendering() => _blink.Native_AudioContext_startRendering_Callback(th is);
486 486
487 @DomName('AudioContext.addEventListener') 487 @DomName('AudioContext.addEventListener')
488 @DocsEditable() 488 @DocsEditable()
489 @Experimental() // untriaged 489 @Experimental() // untriaged
490 void addEventListener(String type, EventListener listener, [bool useCapture]) => blink.Native_AudioContext_addEventListener_Callback(this, type, listener, use Capture); 490 void addEventListener(String type, EventListener listener, [bool useCapture]) => _blink.Native_AudioContext_addEventListener_Callback(this, type, listener, us eCapture);
491 491
492 @DomName('AudioContext.dispatchEvent') 492 @DomName('AudioContext.dispatchEvent')
493 @DocsEditable() 493 @DocsEditable()
494 @Experimental() // untriaged 494 @Experimental() // untriaged
495 bool dispatchEvent(Event event) => blink.Native_AudioContext_dispatchEvent_Cal lback(this, event); 495 bool dispatchEvent(Event event) => _blink.Native_AudioContext_dispatchEvent_Ca llback(this, event);
496 496
497 @DomName('AudioContext.removeEventListener') 497 @DomName('AudioContext.removeEventListener')
498 @DocsEditable() 498 @DocsEditable()
499 @Experimental() // untriaged 499 @Experimental() // untriaged
500 void removeEventListener(String type, EventListener listener, [bool useCapture ]) => blink.Native_AudioContext_removeEventListener_Callback(this, type, listene r, useCapture); 500 void removeEventListener(String type, EventListener listener, [bool useCapture ]) => _blink.Native_AudioContext_removeEventListener_Callback(this, type, listen er, useCapture);
501 501
502 /// Stream of `complete` events handled by this [AudioContext]. 502 /// Stream of `complete` events handled by this [AudioContext].
503 @DomName('AudioContext.oncomplete') 503 @DomName('AudioContext.oncomplete')
504 @DocsEditable() 504 @DocsEditable()
505 Stream<Event> get onComplete => completeEvent.forTarget(this); 505 Stream<Event> get onComplete => completeEvent.forTarget(this);
506 506
507 @DomName('AudioContext.decodeAudioData') 507 @DomName('AudioContext.decodeAudioData')
508 Future<AudioBuffer> decodeAudioData(ByteBuffer audioData) { 508 Future<AudioBuffer> decodeAudioData(ByteBuffer audioData) {
509 var completer = new Completer<AudioBuffer>(); 509 var completer = new Completer<AudioBuffer>();
510 _decodeAudioData(audioData, 510 _decodeAudioData(audioData,
(...skipping 18 matching lines...) Expand all
529 @DocsEditable() 529 @DocsEditable()
530 @DomName('AudioDestinationNode') 530 @DomName('AudioDestinationNode')
531 // 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
532 @Experimental() 532 @Experimental()
533 class AudioDestinationNode extends AudioNode { 533 class AudioDestinationNode extends AudioNode {
534 // To suppress missing implicit constructor warnings. 534 // To suppress missing implicit constructor warnings.
535 factory AudioDestinationNode._() { throw new UnsupportedError("Not supported") ; } 535 factory AudioDestinationNode._() { throw new UnsupportedError("Not supported") ; }
536 536
537 @DomName('AudioDestinationNode.maxChannelCount') 537 @DomName('AudioDestinationNode.maxChannelCount')
538 @DocsEditable() 538 @DocsEditable()
539 int get maxChannelCount => blink.Native_AudioDestinationNode_maxChannelCount_G etter(this); 539 int get maxChannelCount => _blink.Native_AudioDestinationNode_maxChannelCount_ Getter(this);
540 540
541 } 541 }
542 // 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
543 // 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
544 // BSD-style license that can be found in the LICENSE file. 544 // BSD-style license that can be found in the LICENSE file.
545 545
546 // WARNING: Do not edit - generated code. 546 // WARNING: Do not edit - generated code.
547 547
548 548
549 @DocsEditable() 549 @DocsEditable()
550 @DomName('AudioListener') 550 @DomName('AudioListener')
551 // 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
552 @Experimental() 552 @Experimental()
553 class AudioListener extends NativeFieldWrapperClass2 { 553 class AudioListener extends NativeFieldWrapperClass2 {
554 // To suppress missing implicit constructor warnings. 554 // To suppress missing implicit constructor warnings.
555 factory AudioListener._() { throw new UnsupportedError("Not supported"); } 555 factory AudioListener._() { throw new UnsupportedError("Not supported"); }
556 556
557 @DomName('AudioListener.dopplerFactor') 557 @DomName('AudioListener.dopplerFactor')
558 @DocsEditable() 558 @DocsEditable()
559 num get dopplerFactor => blink.Native_AudioListener_dopplerFactor_Getter(this) ; 559 num get dopplerFactor => _blink.Native_AudioListener_dopplerFactor_Getter(this );
560 560
561 @DomName('AudioListener.dopplerFactor') 561 @DomName('AudioListener.dopplerFactor')
562 @DocsEditable() 562 @DocsEditable()
563 void set dopplerFactor(num value) => blink.Native_AudioListener_dopplerFactor_ Setter(this, value); 563 void set dopplerFactor(num value) => _blink.Native_AudioListener_dopplerFactor _Setter(this, value);
564 564
565 @DomName('AudioListener.speedOfSound') 565 @DomName('AudioListener.speedOfSound')
566 @DocsEditable() 566 @DocsEditable()
567 num get speedOfSound => blink.Native_AudioListener_speedOfSound_Getter(this); 567 num get speedOfSound => _blink.Native_AudioListener_speedOfSound_Getter(this);
568 568
569 @DomName('AudioListener.speedOfSound') 569 @DomName('AudioListener.speedOfSound')
570 @DocsEditable() 570 @DocsEditable()
571 void set speedOfSound(num value) => blink.Native_AudioListener_speedOfSound_Se tter(this, value); 571 void set speedOfSound(num value) => _blink.Native_AudioListener_speedOfSound_S etter(this, value);
572 572
573 @DomName('AudioListener.setOrientation') 573 @DomName('AudioListener.setOrientation')
574 @DocsEditable() 574 @DocsEditable()
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 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);
576 576
577 @DomName('AudioListener.setPosition') 577 @DomName('AudioListener.setPosition')
578 @DocsEditable() 578 @DocsEditable()
579 void setPosition(num x, num y, num z) => blink.Native_AudioListener_setPositio n_Callback(this, x, y, z); 579 void setPosition(num x, num y, num z) => _blink.Native_AudioListener_setPositi on_Callback(this, x, y, z);
580 580
581 @DomName('AudioListener.setVelocity') 581 @DomName('AudioListener.setVelocity')
582 @DocsEditable() 582 @DocsEditable()
583 void setVelocity(num x, num y, num z) => blink.Native_AudioListener_setVelocit y_Callback(this, x, y, z); 583 void setVelocity(num x, num y, num z) => _blink.Native_AudioListener_setVeloci ty_Callback(this, x, y, z);
584 584
585 } 585 }
586 // 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
587 // 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
588 // BSD-style license that can be found in the LICENSE file. 588 // BSD-style license that can be found in the LICENSE file.
589 589
590 590
591 @DomName('AudioNode') 591 @DomName('AudioNode')
592 // 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
593 @Experimental() 593 @Experimental()
594 class AudioNode extends EventTarget { 594 class AudioNode extends EventTarget {
595 // To suppress missing implicit constructor warnings. 595 // To suppress missing implicit constructor warnings.
596 factory AudioNode._() { throw new UnsupportedError("Not supported"); } 596 factory AudioNode._() { throw new UnsupportedError("Not supported"); }
597 597
598 @DomName('AudioNode.channelCount') 598 @DomName('AudioNode.channelCount')
599 @DocsEditable() 599 @DocsEditable()
600 int get channelCount => blink.Native_AudioNode_channelCount_Getter(this); 600 int get channelCount => _blink.Native_AudioNode_channelCount_Getter(this);
601 601
602 @DomName('AudioNode.channelCount') 602 @DomName('AudioNode.channelCount')
603 @DocsEditable() 603 @DocsEditable()
604 void set channelCount(int value) => blink.Native_AudioNode_channelCount_Setter (this, value); 604 void set channelCount(int value) => _blink.Native_AudioNode_channelCount_Sette r(this, value);
605 605
606 @DomName('AudioNode.channelCountMode') 606 @DomName('AudioNode.channelCountMode')
607 @DocsEditable() 607 @DocsEditable()
608 String get channelCountMode => blink.Native_AudioNode_channelCountMode_Getter( this); 608 String get channelCountMode => _blink.Native_AudioNode_channelCountMode_Getter (this);
609 609
610 @DomName('AudioNode.channelCountMode') 610 @DomName('AudioNode.channelCountMode')
611 @DocsEditable() 611 @DocsEditable()
612 void set channelCountMode(String value) => blink.Native_AudioNode_channelCount Mode_Setter(this, value); 612 void set channelCountMode(String value) => _blink.Native_AudioNode_channelCoun tMode_Setter(this, value);
613 613
614 @DomName('AudioNode.channelInterpretation') 614 @DomName('AudioNode.channelInterpretation')
615 @DocsEditable() 615 @DocsEditable()
616 String get channelInterpretation => blink.Native_AudioNode_channelInterpretati on_Getter(this); 616 String get channelInterpretation => _blink.Native_AudioNode_channelInterpretat ion_Getter(this);
617 617
618 @DomName('AudioNode.channelInterpretation') 618 @DomName('AudioNode.channelInterpretation')
619 @DocsEditable() 619 @DocsEditable()
620 void set channelInterpretation(String value) => blink.Native_AudioNode_channel Interpretation_Setter(this, value); 620 void set channelInterpretation(String value) => _blink.Native_AudioNode_channe lInterpretation_Setter(this, value);
621 621
622 @DomName('AudioNode.context') 622 @DomName('AudioNode.context')
623 @DocsEditable() 623 @DocsEditable()
624 AudioContext get context => blink.Native_AudioNode_context_Getter(this); 624 AudioContext get context => _blink.Native_AudioNode_context_Getter(this);
625 625
626 @DomName('AudioNode.numberOfInputs') 626 @DomName('AudioNode.numberOfInputs')
627 @DocsEditable() 627 @DocsEditable()
628 int get numberOfInputs => blink.Native_AudioNode_numberOfInputs_Getter(this); 628 int get numberOfInputs => _blink.Native_AudioNode_numberOfInputs_Getter(this);
629 629
630 @DomName('AudioNode.numberOfOutputs') 630 @DomName('AudioNode.numberOfOutputs')
631 @DocsEditable() 631 @DocsEditable()
632 int get numberOfOutputs => blink.Native_AudioNode_numberOfOutputs_Getter(this) ; 632 int get numberOfOutputs => _blink.Native_AudioNode_numberOfOutputs_Getter(this );
633 633
634 void _connect(destination, int output, [int input]) { 634 void _connect(destination, int output, [int input]) {
635 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)) {
636 _connect_1(destination, output, input); 636 _connect_1(destination, output, input);
637 return; 637 return;
638 } 638 }
639 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) {
640 _connect_2(destination, output); 640 _connect_2(destination, output);
641 return; 641 return;
642 } 642 }
643 throw new ArgumentError("Incorrect number or type of arguments"); 643 throw new ArgumentError("Incorrect number or type of arguments");
644 } 644 }
645 645
646 void _connect_1(destination, output, input) => blink.Native_AudioNode__connect _1_Callback(this, destination, output, input); 646 void _connect_1(destination, output, input) => _blink.Native_AudioNode__connec t_1_Callback(this, destination, output, input);
647 647
648 void _connect_2(destination, output) => blink.Native_AudioNode__connect_2_Call back(this, destination, output); 648 void _connect_2(destination, output) => _blink.Native_AudioNode__connect_2_Cal lback(this, destination, output);
649 649
650 @DomName('AudioNode.disconnect') 650 @DomName('AudioNode.disconnect')
651 @DocsEditable() 651 @DocsEditable()
652 void disconnect(int output) => blink.Native_AudioNode_disconnect_Callback(this , output); 652 void disconnect(int output) => _blink.Native_AudioNode_disconnect_Callback(thi s, output);
653 653
654 @DomName('AudioNode.addEventListener') 654 @DomName('AudioNode.addEventListener')
655 @DocsEditable() 655 @DocsEditable()
656 void addEventListener(String type, EventListener listener, [bool useCapture]) => blink.Native_AudioNode_addEventListener_Callback(this, type, listener, useCap ture); 656 void addEventListener(String type, EventListener listener, [bool useCapture]) => _blink.Native_AudioNode_addEventListener_Callback(this, type, listener, useCa pture);
657 657
658 @DomName('AudioNode.dispatchEvent') 658 @DomName('AudioNode.dispatchEvent')
659 @DocsEditable() 659 @DocsEditable()
660 bool dispatchEvent(Event event) => blink.Native_AudioNode_dispatchEvent_Callba ck(this, event); 660 bool dispatchEvent(Event event) => _blink.Native_AudioNode_dispatchEvent_Callb ack(this, event);
661 661
662 @DomName('AudioNode.removeEventListener') 662 @DomName('AudioNode.removeEventListener')
663 @DocsEditable() 663 @DocsEditable()
664 void removeEventListener(String type, EventListener listener, [bool useCapture ]) => blink.Native_AudioNode_removeEventListener_Callback(this, type, listener, useCapture); 664 void removeEventListener(String type, EventListener listener, [bool useCapture ]) => _blink.Native_AudioNode_removeEventListener_Callback(this, type, listener, useCapture);
665 665
666 @DomName('AudioNode.connect') 666 @DomName('AudioNode.connect')
667 void connectNode(AudioNode destination, [int output = 0, int input = 0]) => 667 void connectNode(AudioNode destination, [int output = 0, int input = 0]) =>
668 _connect(destination, output, input); 668 _connect(destination, output, input);
669 669
670 @DomName('AudioNode.connect') 670 @DomName('AudioNode.connect')
671 void connectParam(AudioParam destination, [int output = 0]) => 671 void connectParam(AudioParam destination, [int output = 0]) =>
672 _connect(destination, output); 672 _connect(destination, output);
673 } 673 }
674 // 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
675 // 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
676 // BSD-style license that can be found in the LICENSE file. 676 // BSD-style license that can be found in the LICENSE file.
677 677
678 // WARNING: Do not edit - generated code. 678 // WARNING: Do not edit - generated code.
679 679
680 680
681 @DocsEditable() 681 @DocsEditable()
682 @DomName('AudioParam') 682 @DomName('AudioParam')
683 // 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
684 @Experimental() 684 @Experimental()
685 class AudioParam extends NativeFieldWrapperClass2 { 685 class AudioParam extends NativeFieldWrapperClass2 {
686 // To suppress missing implicit constructor warnings. 686 // To suppress missing implicit constructor warnings.
687 factory AudioParam._() { throw new UnsupportedError("Not supported"); } 687 factory AudioParam._() { throw new UnsupportedError("Not supported"); }
688 688
689 @DomName('AudioParam.defaultValue') 689 @DomName('AudioParam.defaultValue')
690 @DocsEditable() 690 @DocsEditable()
691 double get defaultValue => blink.Native_AudioParam_defaultValue_Getter(this); 691 double get defaultValue => _blink.Native_AudioParam_defaultValue_Getter(this);
692 692
693 @DomName('AudioParam.maxValue') 693 @DomName('AudioParam.maxValue')
694 @DocsEditable() 694 @DocsEditable()
695 double get maxValue => blink.Native_AudioParam_maxValue_Getter(this); 695 double get maxValue => _blink.Native_AudioParam_maxValue_Getter(this);
696 696
697 @DomName('AudioParam.minValue') 697 @DomName('AudioParam.minValue')
698 @DocsEditable() 698 @DocsEditable()
699 double get minValue => blink.Native_AudioParam_minValue_Getter(this); 699 double get minValue => _blink.Native_AudioParam_minValue_Getter(this);
700 700
701 @DomName('AudioParam.name') 701 @DomName('AudioParam.name')
702 @DocsEditable() 702 @DocsEditable()
703 String get name => blink.Native_AudioParam_name_Getter(this); 703 String get name => _blink.Native_AudioParam_name_Getter(this);
704 704
705 @DomName('AudioParam.units') 705 @DomName('AudioParam.units')
706 @DocsEditable() 706 @DocsEditable()
707 int get units => blink.Native_AudioParam_units_Getter(this); 707 int get units => _blink.Native_AudioParam_units_Getter(this);
708 708
709 @DomName('AudioParam.value') 709 @DomName('AudioParam.value')
710 @DocsEditable() 710 @DocsEditable()
711 num get value => blink.Native_AudioParam_value_Getter(this); 711 num get value => _blink.Native_AudioParam_value_Getter(this);
712 712
713 @DomName('AudioParam.value') 713 @DomName('AudioParam.value')
714 @DocsEditable() 714 @DocsEditable()
715 void set value(num value) => blink.Native_AudioParam_value_Setter(this, value) ; 715 void set value(num value) => _blink.Native_AudioParam_value_Setter(this, value );
716 716
717 @DomName('AudioParam.cancelScheduledValues') 717 @DomName('AudioParam.cancelScheduledValues')
718 @DocsEditable() 718 @DocsEditable()
719 void cancelScheduledValues(num startTime) => blink.Native_AudioParam_cancelSch eduledValues_Callback(this, startTime); 719 void cancelScheduledValues(num startTime) => _blink.Native_AudioParam_cancelSc heduledValues_Callback(this, startTime);
720 720
721 @DomName('AudioParam.exponentialRampToValueAtTime') 721 @DomName('AudioParam.exponentialRampToValueAtTime')
722 @DocsEditable() 722 @DocsEditable()
723 void exponentialRampToValueAtTime(num value, num time) => blink.Native_AudioPa ram_exponentialRampToValueAtTime_Callback(this, value, time); 723 void exponentialRampToValueAtTime(num value, num time) => _blink.Native_AudioP aram_exponentialRampToValueAtTime_Callback(this, value, time);
724 724
725 @DomName('AudioParam.linearRampToValueAtTime') 725 @DomName('AudioParam.linearRampToValueAtTime')
726 @DocsEditable() 726 @DocsEditable()
727 void linearRampToValueAtTime(num value, num time) => blink.Native_AudioParam_l inearRampToValueAtTime_Callback(this, value, time); 727 void linearRampToValueAtTime(num value, num time) => _blink.Native_AudioParam_ linearRampToValueAtTime_Callback(this, value, time);
728 728
729 @DomName('AudioParam.setTargetAtTime') 729 @DomName('AudioParam.setTargetAtTime')
730 @DocsEditable() 730 @DocsEditable()
731 void setTargetAtTime(num target, num time, num timeConstant) => blink.Native_A udioParam_setTargetAtTime_Callback(this, target, time, timeConstant); 731 void setTargetAtTime(num target, num time, num timeConstant) => _blink.Native_ AudioParam_setTargetAtTime_Callback(this, target, time, timeConstant);
732 732
733 @DomName('AudioParam.setTargetValueAtTime') 733 @DomName('AudioParam.setTargetValueAtTime')
734 @DocsEditable() 734 @DocsEditable()
735 void setTargetValueAtTime(num targetValue, num time, num timeConstant) => blin k.Native_AudioParam_setTargetValueAtTime_Callback(this, targetValue, time, timeC onstant); 735 void setTargetValueAtTime(num targetValue, num time, num timeConstant) => _bli nk.Native_AudioParam_setTargetValueAtTime_Callback(this, targetValue, time, time Constant);
736 736
737 @DomName('AudioParam.setValueAtTime') 737 @DomName('AudioParam.setValueAtTime')
738 @DocsEditable() 738 @DocsEditable()
739 void setValueAtTime(num value, num time) => blink.Native_AudioParam_setValueAt Time_Callback(this, value, time); 739 void setValueAtTime(num value, num time) => _blink.Native_AudioParam_setValueA tTime_Callback(this, value, time);
740 740
741 @DomName('AudioParam.setValueCurveAtTime') 741 @DomName('AudioParam.setValueCurveAtTime')
742 @DocsEditable() 742 @DocsEditable()
743 void setValueCurveAtTime(Float32List values, num time, num duration) => blink. Native_AudioParam_setValueCurveAtTime_Callback(this, values, time, duration); 743 void setValueCurveAtTime(Float32List values, num time, num duration) => _blink .Native_AudioParam_setValueCurveAtTime_Callback(this, values, time, duration);
744 744
745 } 745 }
746 // 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
747 // 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
748 // BSD-style license that can be found in the LICENSE file. 748 // BSD-style license that can be found in the LICENSE file.
749 749
750 // WARNING: Do not edit - generated code. 750 // WARNING: Do not edit - generated code.
751 751
752 752
753 @DocsEditable() 753 @DocsEditable()
754 @DomName('AudioProcessingEvent') 754 @DomName('AudioProcessingEvent')
755 // 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
756 @Experimental() 756 @Experimental()
757 class AudioProcessingEvent extends Event { 757 class AudioProcessingEvent extends Event {
758 // To suppress missing implicit constructor warnings. 758 // To suppress missing implicit constructor warnings.
759 factory AudioProcessingEvent._() { throw new UnsupportedError("Not supported") ; } 759 factory AudioProcessingEvent._() { throw new UnsupportedError("Not supported") ; }
760 760
761 @DomName('AudioProcessingEvent.inputBuffer') 761 @DomName('AudioProcessingEvent.inputBuffer')
762 @DocsEditable() 762 @DocsEditable()
763 AudioBuffer get inputBuffer => blink.Native_AudioProcessingEvent_inputBuffer_G etter(this); 763 AudioBuffer get inputBuffer => _blink.Native_AudioProcessingEvent_inputBuffer_ Getter(this);
764 764
765 @DomName('AudioProcessingEvent.outputBuffer') 765 @DomName('AudioProcessingEvent.outputBuffer')
766 @DocsEditable() 766 @DocsEditable()
767 AudioBuffer get outputBuffer => blink.Native_AudioProcessingEvent_outputBuffer _Getter(this); 767 AudioBuffer get outputBuffer => _blink.Native_AudioProcessingEvent_outputBuffe r_Getter(this);
768 768
769 } 769 }
770 // 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
771 // 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
772 // BSD-style license that can be found in the LICENSE file. 772 // BSD-style license that can be found in the LICENSE file.
773 773
774 // WARNING: Do not edit - generated code. 774 // WARNING: Do not edit - generated code.
775 775
776 776
777 @DocsEditable() 777 @DocsEditable()
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
825 @DomName('BiquadFilterNode.NOTCH') 825 @DomName('BiquadFilterNode.NOTCH')
826 @DocsEditable() 826 @DocsEditable()
827 static const int NOTCH = 6; 827 static const int NOTCH = 6;
828 828
829 @DomName('BiquadFilterNode.PEAKING') 829 @DomName('BiquadFilterNode.PEAKING')
830 @DocsEditable() 830 @DocsEditable()
831 static const int PEAKING = 5; 831 static const int PEAKING = 5;
832 832
833 @DomName('BiquadFilterNode.Q') 833 @DomName('BiquadFilterNode.Q')
834 @DocsEditable() 834 @DocsEditable()
835 AudioParam get Q => blink.Native_BiquadFilterNode_Q_Getter(this); 835 AudioParam get Q => _blink.Native_BiquadFilterNode_Q_Getter(this);
836 836
837 @DomName('BiquadFilterNode.detune') 837 @DomName('BiquadFilterNode.detune')
838 @DocsEditable() 838 @DocsEditable()
839 AudioParam get detune => blink.Native_BiquadFilterNode_detune_Getter(this); 839 AudioParam get detune => _blink.Native_BiquadFilterNode_detune_Getter(this);
840 840
841 @DomName('BiquadFilterNode.frequency') 841 @DomName('BiquadFilterNode.frequency')
842 @DocsEditable() 842 @DocsEditable()
843 AudioParam get frequency => blink.Native_BiquadFilterNode_frequency_Getter(thi s); 843 AudioParam get frequency => _blink.Native_BiquadFilterNode_frequency_Getter(th is);
844 844
845 @DomName('BiquadFilterNode.gain') 845 @DomName('BiquadFilterNode.gain')
846 @DocsEditable() 846 @DocsEditable()
847 AudioParam get gain => blink.Native_BiquadFilterNode_gain_Getter(this); 847 AudioParam get gain => _blink.Native_BiquadFilterNode_gain_Getter(this);
848 848
849 @DomName('BiquadFilterNode.type') 849 @DomName('BiquadFilterNode.type')
850 @DocsEditable() 850 @DocsEditable()
851 String get type => blink.Native_BiquadFilterNode_type_Getter(this); 851 String get type => _blink.Native_BiquadFilterNode_type_Getter(this);
852 852
853 @DomName('BiquadFilterNode.type') 853 @DomName('BiquadFilterNode.type')
854 @DocsEditable() 854 @DocsEditable()
855 void set type(String value) => blink.Native_BiquadFilterNode_type_Setter(this, value); 855 void set type(String value) => _blink.Native_BiquadFilterNode_type_Setter(this , value);
856 856
857 @DomName('BiquadFilterNode.getFrequencyResponse') 857 @DomName('BiquadFilterNode.getFrequencyResponse')
858 @DocsEditable() 858 @DocsEditable()
859 void getFrequencyResponse(Float32List frequencyHz, Float32List magResponse, Fl oat32List phaseResponse) => blink.Native_BiquadFilterNode_getFrequencyResponse_C allback(this, frequencyHz, magResponse, phaseResponse); 859 void getFrequencyResponse(Float32List frequencyHz, Float32List magResponse, Fl oat32List phaseResponse) => _blink.Native_BiquadFilterNode_getFrequencyResponse_ Callback(this, frequencyHz, magResponse, phaseResponse);
860 860
861 } 861 }
862 // 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
863 // 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
864 // BSD-style license that can be found in the LICENSE file. 864 // BSD-style license that can be found in the LICENSE file.
865 865
866 // WARNING: Do not edit - generated code. 866 // WARNING: Do not edit - generated code.
867 867
868 868
869 @DocsEditable() 869 @DocsEditable()
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
901 @DocsEditable() 901 @DocsEditable()
902 @DomName('ConvolverNode') 902 @DomName('ConvolverNode')
903 // 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
904 @Experimental() 904 @Experimental()
905 class ConvolverNode extends AudioNode { 905 class ConvolverNode extends AudioNode {
906 // To suppress missing implicit constructor warnings. 906 // To suppress missing implicit constructor warnings.
907 factory ConvolverNode._() { throw new UnsupportedError("Not supported"); } 907 factory ConvolverNode._() { throw new UnsupportedError("Not supported"); }
908 908
909 @DomName('ConvolverNode.buffer') 909 @DomName('ConvolverNode.buffer')
910 @DocsEditable() 910 @DocsEditable()
911 AudioBuffer get buffer => blink.Native_ConvolverNode_buffer_Getter(this); 911 AudioBuffer get buffer => _blink.Native_ConvolverNode_buffer_Getter(this);
912 912
913 @DomName('ConvolverNode.buffer') 913 @DomName('ConvolverNode.buffer')
914 @DocsEditable() 914 @DocsEditable()
915 void set buffer(AudioBuffer value) => blink.Native_ConvolverNode_buffer_Setter (this, value); 915 void set buffer(AudioBuffer value) => _blink.Native_ConvolverNode_buffer_Sette r(this, value);
916 916
917 @DomName('ConvolverNode.normalize') 917 @DomName('ConvolverNode.normalize')
918 @DocsEditable() 918 @DocsEditable()
919 bool get normalize => blink.Native_ConvolverNode_normalize_Getter(this); 919 bool get normalize => _blink.Native_ConvolverNode_normalize_Getter(this);
920 920
921 @DomName('ConvolverNode.normalize') 921 @DomName('ConvolverNode.normalize')
922 @DocsEditable() 922 @DocsEditable()
923 void set normalize(bool value) => blink.Native_ConvolverNode_normalize_Setter( this, value); 923 void set normalize(bool value) => _blink.Native_ConvolverNode_normalize_Setter (this, value);
924 924
925 } 925 }
926 // 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
927 // 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
928 // BSD-style license that can be found in the LICENSE file. 928 // BSD-style license that can be found in the LICENSE file.
929 929
930 // WARNING: Do not edit - generated code. 930 // WARNING: Do not edit - generated code.
931 931
932 932
933 @DocsEditable() 933 @DocsEditable()
934 @DomName('DelayNode') 934 @DomName('DelayNode')
935 // 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
936 @Experimental() 936 @Experimental()
937 class DelayNode extends AudioNode { 937 class DelayNode extends AudioNode {
938 // To suppress missing implicit constructor warnings. 938 // To suppress missing implicit constructor warnings.
939 factory DelayNode._() { throw new UnsupportedError("Not supported"); } 939 factory DelayNode._() { throw new UnsupportedError("Not supported"); }
940 940
941 @DomName('DelayNode.delayTime') 941 @DomName('DelayNode.delayTime')
942 @DocsEditable() 942 @DocsEditable()
943 AudioParam get delayTime => blink.Native_DelayNode_delayTime_Getter(this); 943 AudioParam get delayTime => _blink.Native_DelayNode_delayTime_Getter(this);
944 944
945 } 945 }
946 // 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
947 // 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
948 // BSD-style license that can be found in the LICENSE file. 948 // BSD-style license that can be found in the LICENSE file.
949 949
950 // WARNING: Do not edit - generated code. 950 // WARNING: Do not edit - generated code.
951 951
952 952
953 @DocsEditable() 953 @DocsEditable()
954 @DomName('DynamicsCompressorNode') 954 @DomName('DynamicsCompressorNode')
955 // 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
956 @Experimental() 956 @Experimental()
957 class DynamicsCompressorNode extends AudioNode { 957 class DynamicsCompressorNode extends AudioNode {
958 // To suppress missing implicit constructor warnings. 958 // To suppress missing implicit constructor warnings.
959 factory DynamicsCompressorNode._() { throw new UnsupportedError("Not supported "); } 959 factory DynamicsCompressorNode._() { throw new UnsupportedError("Not supported "); }
960 960
961 @DomName('DynamicsCompressorNode.attack') 961 @DomName('DynamicsCompressorNode.attack')
962 @DocsEditable() 962 @DocsEditable()
963 AudioParam get attack => blink.Native_DynamicsCompressorNode_attack_Getter(thi s); 963 AudioParam get attack => _blink.Native_DynamicsCompressorNode_attack_Getter(th is);
964 964
965 @DomName('DynamicsCompressorNode.knee') 965 @DomName('DynamicsCompressorNode.knee')
966 @DocsEditable() 966 @DocsEditable()
967 AudioParam get knee => blink.Native_DynamicsCompressorNode_knee_Getter(this); 967 AudioParam get knee => _blink.Native_DynamicsCompressorNode_knee_Getter(this);
968 968
969 @DomName('DynamicsCompressorNode.ratio') 969 @DomName('DynamicsCompressorNode.ratio')
970 @DocsEditable() 970 @DocsEditable()
971 AudioParam get ratio => blink.Native_DynamicsCompressorNode_ratio_Getter(this) ; 971 AudioParam get ratio => _blink.Native_DynamicsCompressorNode_ratio_Getter(this );
972 972
973 @DomName('DynamicsCompressorNode.reduction') 973 @DomName('DynamicsCompressorNode.reduction')
974 @DocsEditable() 974 @DocsEditable()
975 AudioParam get reduction => blink.Native_DynamicsCompressorNode_reduction_Gett er(this); 975 AudioParam get reduction => _blink.Native_DynamicsCompressorNode_reduction_Get ter(this);
976 976
977 @DomName('DynamicsCompressorNode.release') 977 @DomName('DynamicsCompressorNode.release')
978 @DocsEditable() 978 @DocsEditable()
979 AudioParam get release => blink.Native_DynamicsCompressorNode_release_Getter(t his); 979 AudioParam get release => _blink.Native_DynamicsCompressorNode_release_Getter( this);
980 980
981 @DomName('DynamicsCompressorNode.threshold') 981 @DomName('DynamicsCompressorNode.threshold')
982 @DocsEditable() 982 @DocsEditable()
983 AudioParam get threshold => blink.Native_DynamicsCompressorNode_threshold_Gett er(this); 983 AudioParam get threshold => _blink.Native_DynamicsCompressorNode_threshold_Get ter(this);
984 984
985 } 985 }
986 // 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
987 // 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
988 // BSD-style license that can be found in the LICENSE file. 988 // BSD-style license that can be found in the LICENSE file.
989 989
990 // WARNING: Do not edit - generated code. 990 // WARNING: Do not edit - generated code.
991 991
992 992
993 @DocsEditable() 993 @DocsEditable()
994 @DomName('GainNode') 994 @DomName('GainNode')
995 // 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
996 @Experimental() 996 @Experimental()
997 class GainNode extends AudioNode { 997 class GainNode extends AudioNode {
998 // To suppress missing implicit constructor warnings. 998 // To suppress missing implicit constructor warnings.
999 factory GainNode._() { throw new UnsupportedError("Not supported"); } 999 factory GainNode._() { throw new UnsupportedError("Not supported"); }
1000 1000
1001 @DomName('GainNode.gain') 1001 @DomName('GainNode.gain')
1002 @DocsEditable() 1002 @DocsEditable()
1003 AudioParam get gain => blink.Native_GainNode_gain_Getter(this); 1003 AudioParam get gain => _blink.Native_GainNode_gain_Getter(this);
1004 1004
1005 } 1005 }
1006 // 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
1007 // 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
1008 // BSD-style license that can be found in the LICENSE file. 1008 // BSD-style license that can be found in the LICENSE file.
1009 1009
1010 // WARNING: Do not edit - generated code. 1010 // WARNING: Do not edit - generated code.
1011 1011
1012 1012
1013 @DocsEditable() 1013 @DocsEditable()
1014 @DomName('MediaElementAudioSourceNode') 1014 @DomName('MediaElementAudioSourceNode')
1015 // 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
1016 @Experimental() 1016 @Experimental()
1017 class MediaElementAudioSourceNode extends AudioSourceNode { 1017 class MediaElementAudioSourceNode extends AudioSourceNode {
1018 // To suppress missing implicit constructor warnings. 1018 // To suppress missing implicit constructor warnings.
1019 factory MediaElementAudioSourceNode._() { throw new UnsupportedError("Not supp orted"); } 1019 factory MediaElementAudioSourceNode._() { throw new UnsupportedError("Not supp orted"); }
1020 1020
1021 @DomName('MediaElementAudioSourceNode.mediaElement') 1021 @DomName('MediaElementAudioSourceNode.mediaElement')
1022 @DocsEditable() 1022 @DocsEditable()
1023 @Experimental() // non-standard 1023 @Experimental() // non-standard
1024 MediaElement get mediaElement => blink.Native_MediaElementAudioSourceNode_medi aElement_Getter(this); 1024 MediaElement get mediaElement => _blink.Native_MediaElementAudioSourceNode_med iaElement_Getter(this);
1025 1025
1026 } 1026 }
1027 // 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
1028 // 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
1029 // BSD-style license that can be found in the LICENSE file. 1029 // BSD-style license that can be found in the LICENSE file.
1030 1030
1031 // WARNING: Do not edit - generated code. 1031 // WARNING: Do not edit - generated code.
1032 1032
1033 1033
1034 @DocsEditable() 1034 @DocsEditable()
1035 @DomName('MediaStreamAudioDestinationNode') 1035 @DomName('MediaStreamAudioDestinationNode')
1036 // 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
1037 @Experimental() 1037 @Experimental()
1038 class MediaStreamAudioDestinationNode extends AudioNode { 1038 class MediaStreamAudioDestinationNode extends AudioNode {
1039 // To suppress missing implicit constructor warnings. 1039 // To suppress missing implicit constructor warnings.
1040 factory MediaStreamAudioDestinationNode._() { throw new UnsupportedError("Not supported"); } 1040 factory MediaStreamAudioDestinationNode._() { throw new UnsupportedError("Not supported"); }
1041 1041
1042 @DomName('MediaStreamAudioDestinationNode.stream') 1042 @DomName('MediaStreamAudioDestinationNode.stream')
1043 @DocsEditable() 1043 @DocsEditable()
1044 MediaStream get stream => blink.Native_MediaStreamAudioDestinationNode_stream_ Getter(this); 1044 MediaStream get stream => _blink.Native_MediaStreamAudioDestinationNode_stream _Getter(this);
1045 1045
1046 } 1046 }
1047 // 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
1048 // 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
1049 // BSD-style license that can be found in the LICENSE file. 1049 // BSD-style license that can be found in the LICENSE file.
1050 1050
1051 // WARNING: Do not edit - generated code. 1051 // WARNING: Do not edit - generated code.
1052 1052
1053 1053
1054 @DocsEditable() 1054 @DocsEditable()
1055 @DomName('MediaStreamAudioSourceNode') 1055 @DomName('MediaStreamAudioSourceNode')
1056 // 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
1057 @Experimental() 1057 @Experimental()
1058 class MediaStreamAudioSourceNode extends AudioSourceNode { 1058 class MediaStreamAudioSourceNode extends AudioSourceNode {
1059 // To suppress missing implicit constructor warnings. 1059 // To suppress missing implicit constructor warnings.
1060 factory MediaStreamAudioSourceNode._() { throw new UnsupportedError("Not suppo rted"); } 1060 factory MediaStreamAudioSourceNode._() { throw new UnsupportedError("Not suppo rted"); }
1061 1061
1062 @DomName('MediaStreamAudioSourceNode.mediaStream') 1062 @DomName('MediaStreamAudioSourceNode.mediaStream')
1063 @DocsEditable() 1063 @DocsEditable()
1064 MediaStream get mediaStream => blink.Native_MediaStreamAudioSourceNode_mediaSt ream_Getter(this); 1064 MediaStream get mediaStream => _blink.Native_MediaStreamAudioSourceNode_mediaS tream_Getter(this);
1065 1065
1066 } 1066 }
1067 // 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
1068 // 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
1069 // BSD-style license that can be found in the LICENSE file. 1069 // BSD-style license that can be found in the LICENSE file.
1070 1070
1071 // WARNING: Do not edit - generated code. 1071 // WARNING: Do not edit - generated code.
1072 1072
1073 1073
1074 @DocsEditable() 1074 @DocsEditable()
1075 @DomName('OfflineAudioCompletionEvent') 1075 @DomName('OfflineAudioCompletionEvent')
1076 // 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
1077 @Experimental() 1077 @Experimental()
1078 class OfflineAudioCompletionEvent extends Event { 1078 class OfflineAudioCompletionEvent extends Event {
1079 // To suppress missing implicit constructor warnings. 1079 // To suppress missing implicit constructor warnings.
1080 factory OfflineAudioCompletionEvent._() { throw new UnsupportedError("Not supp orted"); } 1080 factory OfflineAudioCompletionEvent._() { throw new UnsupportedError("Not supp orted"); }
1081 1081
1082 @DomName('OfflineAudioCompletionEvent.renderedBuffer') 1082 @DomName('OfflineAudioCompletionEvent.renderedBuffer')
1083 @DocsEditable() 1083 @DocsEditable()
1084 AudioBuffer get renderedBuffer => blink.Native_OfflineAudioCompletionEvent_ren deredBuffer_Getter(this); 1084 AudioBuffer get renderedBuffer => _blink.Native_OfflineAudioCompletionEvent_re nderedBuffer_Getter(this);
1085 1085
1086 } 1086 }
1087 // 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
1088 // 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
1089 // BSD-style license that can be found in the LICENSE file. 1089 // BSD-style license that can be found in the LICENSE file.
1090 1090
1091 // WARNING: Do not edit - generated code. 1091 // WARNING: Do not edit - generated code.
1092 1092
1093 1093
1094 @DocsEditable() 1094 @DocsEditable()
1095 @DomName('OfflineAudioContext') 1095 @DomName('OfflineAudioContext')
1096 // 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
1097 @Experimental() 1097 @Experimental()
1098 class OfflineAudioContext extends AudioContext { 1098 class OfflineAudioContext extends AudioContext {
1099 // To suppress missing implicit constructor warnings. 1099 // To suppress missing implicit constructor warnings.
1100 factory OfflineAudioContext._() { throw new UnsupportedError("Not supported"); } 1100 factory OfflineAudioContext._() { throw new UnsupportedError("Not supported"); }
1101 1101
1102 @DomName('OfflineAudioContext.OfflineAudioContext') 1102 @DomName('OfflineAudioContext.OfflineAudioContext')
1103 @DocsEditable() 1103 @DocsEditable()
1104 factory OfflineAudioContext(int numberOfChannels, int numberOfFrames, num samp leRate) { 1104 factory OfflineAudioContext(int numberOfChannels, int numberOfFrames, num samp leRate) {
1105 return OfflineAudioContext._create_1(numberOfChannels, numberOfFrames, sampl eRate); 1105 return OfflineAudioContext._create_1(numberOfChannels, numberOfFrames, sampl eRate);
1106 } 1106 }
1107 1107
1108 @DocsEditable() 1108 @DocsEditable()
1109 static OfflineAudioContext _create_1(numberOfChannels, numberOfFrames, sampleR ate) => blink.Native_OfflineAudioContext__create_1constructorCallback(numberOfCh annels, numberOfFrames, sampleRate); 1109 static OfflineAudioContext _create_1(numberOfChannels, numberOfFrames, sampleR ate) => _blink.Native_OfflineAudioContext__create_1constructorCallback(numberOfC hannels, numberOfFrames, sampleRate);
1110 1110
1111 } 1111 }
1112 // 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
1113 // 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
1114 // BSD-style license that can be found in the LICENSE file. 1114 // BSD-style license that can be found in the LICENSE file.
1115 1115
1116 // WARNING: Do not edit - generated code. 1116 // WARNING: Do not edit - generated code.
1117 1117
1118 1118
1119 @DocsEditable() 1119 @DocsEditable()
(...skipping 26 matching lines...) Expand all
1146 @DomName('OscillatorNode.SCHEDULED_STATE') 1146 @DomName('OscillatorNode.SCHEDULED_STATE')
1147 @DocsEditable() 1147 @DocsEditable()
1148 static const int SCHEDULED_STATE = 1; 1148 static const int SCHEDULED_STATE = 1;
1149 1149
1150 @DomName('OscillatorNode.UNSCHEDULED_STATE') 1150 @DomName('OscillatorNode.UNSCHEDULED_STATE')
1151 @DocsEditable() 1151 @DocsEditable()
1152 static const int UNSCHEDULED_STATE = 0; 1152 static const int UNSCHEDULED_STATE = 0;
1153 1153
1154 @DomName('OscillatorNode.detune') 1154 @DomName('OscillatorNode.detune')
1155 @DocsEditable() 1155 @DocsEditable()
1156 AudioParam get detune => blink.Native_OscillatorNode_detune_Getter(this); 1156 AudioParam get detune => _blink.Native_OscillatorNode_detune_Getter(this);
1157 1157
1158 @DomName('OscillatorNode.frequency') 1158 @DomName('OscillatorNode.frequency')
1159 @DocsEditable() 1159 @DocsEditable()
1160 AudioParam get frequency => blink.Native_OscillatorNode_frequency_Getter(this) ; 1160 AudioParam get frequency => _blink.Native_OscillatorNode_frequency_Getter(this );
1161 1161
1162 @DomName('OscillatorNode.playbackState') 1162 @DomName('OscillatorNode.playbackState')
1163 @DocsEditable() 1163 @DocsEditable()
1164 int get playbackState => blink.Native_OscillatorNode_playbackState_Getter(this ); 1164 int get playbackState => _blink.Native_OscillatorNode_playbackState_Getter(thi s);
1165 1165
1166 @DomName('OscillatorNode.type') 1166 @DomName('OscillatorNode.type')
1167 @DocsEditable() 1167 @DocsEditable()
1168 String get type => blink.Native_OscillatorNode_type_Getter(this); 1168 String get type => _blink.Native_OscillatorNode_type_Getter(this);
1169 1169
1170 @DomName('OscillatorNode.type') 1170 @DomName('OscillatorNode.type')
1171 @DocsEditable() 1171 @DocsEditable()
1172 void set type(String value) => blink.Native_OscillatorNode_type_Setter(this, v alue); 1172 void set type(String value) => _blink.Native_OscillatorNode_type_Setter(this, value);
1173 1173
1174 @DomName('OscillatorNode.noteOff') 1174 @DomName('OscillatorNode.noteOff')
1175 @DocsEditable() 1175 @DocsEditable()
1176 void noteOff(num when) => blink.Native_OscillatorNode_noteOff_Callback(this, w hen); 1176 void noteOff(num when) => _blink.Native_OscillatorNode_noteOff_Callback(this, when);
1177 1177
1178 @DomName('OscillatorNode.noteOn') 1178 @DomName('OscillatorNode.noteOn')
1179 @DocsEditable() 1179 @DocsEditable()
1180 void noteOn(num when) => blink.Native_OscillatorNode_noteOn_Callback(this, whe n); 1180 void noteOn(num when) => _blink.Native_OscillatorNode_noteOn_Callback(this, wh en);
1181 1181
1182 @DomName('OscillatorNode.setPeriodicWave') 1182 @DomName('OscillatorNode.setPeriodicWave')
1183 @DocsEditable() 1183 @DocsEditable()
1184 @Experimental() // untriaged 1184 @Experimental() // untriaged
1185 void setPeriodicWave(PeriodicWave periodicWave) => blink.Native_OscillatorNode _setPeriodicWave_Callback(this, periodicWave); 1185 void setPeriodicWave(PeriodicWave periodicWave) => _blink.Native_OscillatorNod e_setPeriodicWave_Callback(this, periodicWave);
1186 1186
1187 void start([num when]) { 1187 void start([num when]) {
1188 if (when != null) { 1188 if (when != null) {
1189 _start_1(when); 1189 _start_1(when);
1190 return; 1190 return;
1191 } 1191 }
1192 _start_2(); 1192 _start_2();
1193 return; 1193 return;
1194 } 1194 }
1195 1195
1196 void _start_1(when) => blink.Native_OscillatorNode__start_1_Callback(this, whe n); 1196 void _start_1(when) => _blink.Native_OscillatorNode__start_1_Callback(this, wh en);
1197 1197
1198 void _start_2() => blink.Native_OscillatorNode__start_2_Callback(this); 1198 void _start_2() => _blink.Native_OscillatorNode__start_2_Callback(this);
1199 1199
1200 void stop([num when]) { 1200 void stop([num when]) {
1201 if (when != null) { 1201 if (when != null) {
1202 _stop_1(when); 1202 _stop_1(when);
1203 return; 1203 return;
1204 } 1204 }
1205 _stop_2(); 1205 _stop_2();
1206 return; 1206 return;
1207 } 1207 }
1208 1208
1209 void _stop_1(when) => blink.Native_OscillatorNode__stop_1_Callback(this, when) ; 1209 void _stop_1(when) => _blink.Native_OscillatorNode__stop_1_Callback(this, when );
1210 1210
1211 void _stop_2() => blink.Native_OscillatorNode__stop_2_Callback(this); 1211 void _stop_2() => _blink.Native_OscillatorNode__stop_2_Callback(this);
1212 1212
1213 /// Stream of `ended` events handled by this [OscillatorNode]. 1213 /// Stream of `ended` events handled by this [OscillatorNode].
1214 @DomName('OscillatorNode.onended') 1214 @DomName('OscillatorNode.onended')
1215 @DocsEditable() 1215 @DocsEditable()
1216 @Experimental() // untriaged 1216 @Experimental() // untriaged
1217 Stream<Event> get onEnded => endedEvent.forTarget(this); 1217 Stream<Event> get onEnded => endedEvent.forTarget(this);
1218 1218
1219 } 1219 }
1220 // 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
1221 // 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
1222 // BSD-style license that can be found in the LICENSE file. 1222 // BSD-style license that can be found in the LICENSE file.
1223 1223
1224 // WARNING: Do not edit - generated code. 1224 // WARNING: Do not edit - generated code.
1225 1225
1226 1226
1227 @DocsEditable() 1227 @DocsEditable()
1228 @DomName('PannerNode') 1228 @DomName('PannerNode')
1229 // 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
1230 @Experimental() 1230 @Experimental()
1231 class PannerNode extends AudioNode { 1231 class PannerNode extends AudioNode {
1232 // To suppress missing implicit constructor warnings. 1232 // To suppress missing implicit constructor warnings.
1233 factory PannerNode._() { throw new UnsupportedError("Not supported"); } 1233 factory PannerNode._() { throw new UnsupportedError("Not supported"); }
1234 1234
1235 @DomName('PannerNode.coneInnerAngle') 1235 @DomName('PannerNode.coneInnerAngle')
1236 @DocsEditable() 1236 @DocsEditable()
1237 num get coneInnerAngle => blink.Native_PannerNode_coneInnerAngle_Getter(this); 1237 num get coneInnerAngle => _blink.Native_PannerNode_coneInnerAngle_Getter(this) ;
1238 1238
1239 @DomName('PannerNode.coneInnerAngle') 1239 @DomName('PannerNode.coneInnerAngle')
1240 @DocsEditable() 1240 @DocsEditable()
1241 void set coneInnerAngle(num value) => blink.Native_PannerNode_coneInnerAngle_S etter(this, value); 1241 void set coneInnerAngle(num value) => _blink.Native_PannerNode_coneInnerAngle_ Setter(this, value);
1242 1242
1243 @DomName('PannerNode.coneOuterAngle') 1243 @DomName('PannerNode.coneOuterAngle')
1244 @DocsEditable() 1244 @DocsEditable()
1245 num get coneOuterAngle => blink.Native_PannerNode_coneOuterAngle_Getter(this); 1245 num get coneOuterAngle => _blink.Native_PannerNode_coneOuterAngle_Getter(this) ;
1246 1246
1247 @DomName('PannerNode.coneOuterAngle') 1247 @DomName('PannerNode.coneOuterAngle')
1248 @DocsEditable() 1248 @DocsEditable()
1249 void set coneOuterAngle(num value) => blink.Native_PannerNode_coneOuterAngle_S etter(this, value); 1249 void set coneOuterAngle(num value) => _blink.Native_PannerNode_coneOuterAngle_ Setter(this, value);
1250 1250
1251 @DomName('PannerNode.coneOuterGain') 1251 @DomName('PannerNode.coneOuterGain')
1252 @DocsEditable() 1252 @DocsEditable()
1253 num get coneOuterGain => blink.Native_PannerNode_coneOuterGain_Getter(this); 1253 num get coneOuterGain => _blink.Native_PannerNode_coneOuterGain_Getter(this);
1254 1254
1255 @DomName('PannerNode.coneOuterGain') 1255 @DomName('PannerNode.coneOuterGain')
1256 @DocsEditable() 1256 @DocsEditable()
1257 void set coneOuterGain(num value) => blink.Native_PannerNode_coneOuterGain_Set ter(this, value); 1257 void set coneOuterGain(num value) => _blink.Native_PannerNode_coneOuterGain_Se tter(this, value);
1258 1258
1259 @DomName('PannerNode.distanceModel') 1259 @DomName('PannerNode.distanceModel')
1260 @DocsEditable() 1260 @DocsEditable()
1261 String get distanceModel => blink.Native_PannerNode_distanceModel_Getter(this) ; 1261 String get distanceModel => _blink.Native_PannerNode_distanceModel_Getter(this );
1262 1262
1263 @DomName('PannerNode.distanceModel') 1263 @DomName('PannerNode.distanceModel')
1264 @DocsEditable() 1264 @DocsEditable()
1265 void set distanceModel(String value) => blink.Native_PannerNode_distanceModel_ Setter(this, value); 1265 void set distanceModel(String value) => _blink.Native_PannerNode_distanceModel _Setter(this, value);
1266 1266
1267 @DomName('PannerNode.maxDistance') 1267 @DomName('PannerNode.maxDistance')
1268 @DocsEditable() 1268 @DocsEditable()
1269 num get maxDistance => blink.Native_PannerNode_maxDistance_Getter(this); 1269 num get maxDistance => _blink.Native_PannerNode_maxDistance_Getter(this);
1270 1270
1271 @DomName('PannerNode.maxDistance') 1271 @DomName('PannerNode.maxDistance')
1272 @DocsEditable() 1272 @DocsEditable()
1273 void set maxDistance(num value) => blink.Native_PannerNode_maxDistance_Setter( this, value); 1273 void set maxDistance(num value) => _blink.Native_PannerNode_maxDistance_Setter (this, value);
1274 1274
1275 @DomName('PannerNode.panningModel') 1275 @DomName('PannerNode.panningModel')
1276 @DocsEditable() 1276 @DocsEditable()
1277 String get panningModel => blink.Native_PannerNode_panningModel_Getter(this); 1277 String get panningModel => _blink.Native_PannerNode_panningModel_Getter(this);
1278 1278
1279 @DomName('PannerNode.panningModel') 1279 @DomName('PannerNode.panningModel')
1280 @DocsEditable() 1280 @DocsEditable()
1281 void set panningModel(String value) => blink.Native_PannerNode_panningModel_Se tter(this, value); 1281 void set panningModel(String value) => _blink.Native_PannerNode_panningModel_S etter(this, value);
1282 1282
1283 @DomName('PannerNode.refDistance') 1283 @DomName('PannerNode.refDistance')
1284 @DocsEditable() 1284 @DocsEditable()
1285 num get refDistance => blink.Native_PannerNode_refDistance_Getter(this); 1285 num get refDistance => _blink.Native_PannerNode_refDistance_Getter(this);
1286 1286
1287 @DomName('PannerNode.refDistance') 1287 @DomName('PannerNode.refDistance')
1288 @DocsEditable() 1288 @DocsEditable()
1289 void set refDistance(num value) => blink.Native_PannerNode_refDistance_Setter( this, value); 1289 void set refDistance(num value) => _blink.Native_PannerNode_refDistance_Setter (this, value);
1290 1290
1291 @DomName('PannerNode.rolloffFactor') 1291 @DomName('PannerNode.rolloffFactor')
1292 @DocsEditable() 1292 @DocsEditable()
1293 num get rolloffFactor => blink.Native_PannerNode_rolloffFactor_Getter(this); 1293 num get rolloffFactor => _blink.Native_PannerNode_rolloffFactor_Getter(this);
1294 1294
1295 @DomName('PannerNode.rolloffFactor') 1295 @DomName('PannerNode.rolloffFactor')
1296 @DocsEditable() 1296 @DocsEditable()
1297 void set rolloffFactor(num value) => blink.Native_PannerNode_rolloffFactor_Set ter(this, value); 1297 void set rolloffFactor(num value) => _blink.Native_PannerNode_rolloffFactor_Se tter(this, value);
1298 1298
1299 @DomName('PannerNode.setOrientation') 1299 @DomName('PannerNode.setOrientation')
1300 @DocsEditable() 1300 @DocsEditable()
1301 void setOrientation(num x, num y, num z) => blink.Native_PannerNode_setOrienta tion_Callback(this, x, y, z); 1301 void setOrientation(num x, num y, num z) => _blink.Native_PannerNode_setOrient ation_Callback(this, x, y, z);
1302 1302
1303 @DomName('PannerNode.setPosition') 1303 @DomName('PannerNode.setPosition')
1304 @DocsEditable() 1304 @DocsEditable()
1305 void setPosition(num x, num y, num z) => blink.Native_PannerNode_setPosition_C allback(this, x, y, z); 1305 void setPosition(num x, num y, num z) => _blink.Native_PannerNode_setPosition_ Callback(this, x, y, z);
1306 1306
1307 @DomName('PannerNode.setVelocity') 1307 @DomName('PannerNode.setVelocity')
1308 @DocsEditable() 1308 @DocsEditable()
1309 void setVelocity(num x, num y, num z) => blink.Native_PannerNode_setVelocity_C allback(this, x, y, z); 1309 void setVelocity(num x, num y, num z) => _blink.Native_PannerNode_setVelocity_ Callback(this, x, y, z);
1310 1310
1311 } 1311 }
1312 // 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
1313 // 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
1314 // BSD-style license that can be found in the LICENSE file. 1314 // BSD-style license that can be found in the LICENSE file.
1315 1315
1316 // WARNING: Do not edit - generated code. 1316 // WARNING: Do not edit - generated code.
1317 1317
1318 1318
1319 @DocsEditable() 1319 @DocsEditable()
(...skipping 25 matching lines...) Expand all
1345 * 1345 *
1346 * See [EventStreamProvider] for usage information. 1346 * See [EventStreamProvider] for usage information.
1347 */ 1347 */
1348 @DomName('ScriptProcessorNode.audioprocessEvent') 1348 @DomName('ScriptProcessorNode.audioprocessEvent')
1349 @DocsEditable() 1349 @DocsEditable()
1350 @Experimental() // untriaged 1350 @Experimental() // untriaged
1351 static const EventStreamProvider<AudioProcessingEvent> audioProcessEvent = con st EventStreamProvider<AudioProcessingEvent>('audioprocess'); 1351 static const EventStreamProvider<AudioProcessingEvent> audioProcessEvent = con st EventStreamProvider<AudioProcessingEvent>('audioprocess');
1352 1352
1353 @DomName('ScriptProcessorNode.bufferSize') 1353 @DomName('ScriptProcessorNode.bufferSize')
1354 @DocsEditable() 1354 @DocsEditable()
1355 int get bufferSize => blink.Native_ScriptProcessorNode_bufferSize_Getter(this) ; 1355 int get bufferSize => _blink.Native_ScriptProcessorNode_bufferSize_Getter(this );
1356 1356
1357 @DomName('ScriptProcessorNode._setEventListener') 1357 @DomName('ScriptProcessorNode._setEventListener')
1358 @DocsEditable() 1358 @DocsEditable()
1359 @Experimental() // non-standard 1359 @Experimental() // non-standard
1360 void _setEventListener(EventListener eventListener) => blink.Native_ScriptProc essorNode__setEventListener_Callback(this, eventListener); 1360 void _setEventListener(EventListener eventListener) => _blink.Native_ScriptPro cessorNode__setEventListener_Callback(this, eventListener);
1361 1361
1362 /// Stream of `audioprocess` events handled by this [ScriptProcessorNode]. 1362 /// Stream of `audioprocess` events handled by this [ScriptProcessorNode].
1363 /** 1363 /**
1364 * Get a Stream that fires events when AudioProcessingEvents occur. 1364 * Get a Stream that fires events when AudioProcessingEvents occur.
1365 * 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
1366 * given stream. Converting the returned Stream [asBroadcast] will likely ruin 1366 * given stream. Converting the returned Stream [asBroadcast] will likely ruin
1367 * 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
1368 * be processed. 1368 * be processed.
1369 */ 1369 */
1370 @DomName('ScriptProcessorNode.onaudioprocess') 1370 @DomName('ScriptProcessorNode.onaudioprocess')
(...skipping 12 matching lines...) Expand all
1383 @DocsEditable() 1383 @DocsEditable()
1384 @DomName('WaveShaperNode') 1384 @DomName('WaveShaperNode')
1385 // 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
1386 @Experimental() 1386 @Experimental()
1387 class WaveShaperNode extends AudioNode { 1387 class WaveShaperNode extends AudioNode {
1388 // To suppress missing implicit constructor warnings. 1388 // To suppress missing implicit constructor warnings.
1389 factory WaveShaperNode._() { throw new UnsupportedError("Not supported"); } 1389 factory WaveShaperNode._() { throw new UnsupportedError("Not supported"); }
1390 1390
1391 @DomName('WaveShaperNode.curve') 1391 @DomName('WaveShaperNode.curve')
1392 @DocsEditable() 1392 @DocsEditable()
1393 Float32List get curve => blink.Native_WaveShaperNode_curve_Getter(this); 1393 Float32List get curve => _blink.Native_WaveShaperNode_curve_Getter(this);
1394 1394
1395 @DomName('WaveShaperNode.curve') 1395 @DomName('WaveShaperNode.curve')
1396 @DocsEditable() 1396 @DocsEditable()
1397 void set curve(Float32List value) => blink.Native_WaveShaperNode_curve_Setter( this, value); 1397 void set curve(Float32List value) => _blink.Native_WaveShaperNode_curve_Setter (this, value);
1398 1398
1399 @DomName('WaveShaperNode.oversample') 1399 @DomName('WaveShaperNode.oversample')
1400 @DocsEditable() 1400 @DocsEditable()
1401 String get oversample => blink.Native_WaveShaperNode_oversample_Getter(this); 1401 String get oversample => _blink.Native_WaveShaperNode_oversample_Getter(this);
1402 1402
1403 @DomName('WaveShaperNode.oversample') 1403 @DomName('WaveShaperNode.oversample')
1404 @DocsEditable() 1404 @DocsEditable()
1405 void set oversample(String value) => blink.Native_WaveShaperNode_oversample_Se tter(this, value); 1405 void set oversample(String value) => _blink.Native_WaveShaperNode_oversample_S etter(this, value);
1406 1406
1407 } 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