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

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

Issue 1327083002: Revert "Patched in Dartium JsInterop" (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 3 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
« 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 /** 1 /**
2 * High-fidelity audio programming in the browser. 2 * High-fidelity audio programming in the browser.
3 */ 3 */
4 library dart.dom.web_audio; 4 library dart.dom.web_audio;
5 5
6 import 'dart:async'; 6 import 'dart:async';
7 import 'dart:collection'; 7 import 'dart:collection';
8 import 'dart:_internal' hide deprecated; 8 import 'dart:_internal' hide deprecated;
9 import 'dart:html'; 9 import 'dart:html';
10 import 'dart:html_common'; 10 import 'dart:html_common';
11 import 'dart:nativewrappers'; 11 import 'dart:nativewrappers';
12 import 'dart:typed_data'; 12 import 'dart:typed_data';
13 import 'dart:_blink' as _blink; 13 import 'dart:_blink' as _blink;
14 import 'dart:js' as js;
15 // DO NOT EDIT 14 // DO NOT EDIT
16 // Auto-generated dart:audio library. 15 // Auto-generated dart:audio library.
17 16
18 17
19 18
20 19
21 // FIXME: Can we make this private? 20 // FIXME: Can we make this private?
22 final web_audioBlinkMap = { 21 final web_audioBlinkMap = {
23 'AnalyserNode': () => AnalyserNode, 22 'AnalyserNode': () => AnalyserNode,
24 'AudioBuffer': () => AudioBuffer, 23 'AudioBuffer': () => AudioBuffer,
(...skipping 18 matching lines...) Expand all
43 'OfflineAudioCompletionEvent': () => OfflineAudioCompletionEvent, 42 'OfflineAudioCompletionEvent': () => OfflineAudioCompletionEvent,
44 'OfflineAudioContext': () => OfflineAudioContext, 43 'OfflineAudioContext': () => OfflineAudioContext,
45 'OscillatorNode': () => OscillatorNode, 44 'OscillatorNode': () => OscillatorNode,
46 'PannerNode': () => PannerNode, 45 'PannerNode': () => PannerNode,
47 'PeriodicWave': () => PeriodicWave, 46 'PeriodicWave': () => PeriodicWave,
48 'ScriptProcessorNode': () => ScriptProcessorNode, 47 'ScriptProcessorNode': () => ScriptProcessorNode,
49 'WaveShaperNode': () => WaveShaperNode, 48 'WaveShaperNode': () => WaveShaperNode,
50 49
51 }; 50 };
52 51
53 // FIXME: Can we make this private?
54 final web_audioBlinkFunctionMap = {
55 'AnalyserNode': () => AnalyserNode.internalCreateAnalyserNode,
56 'AudioBuffer': () => AudioBuffer.internalCreateAudioBuffer,
57 'AudioBufferSourceNode': () => AudioBufferSourceNode.internalCreateAudioBuffer SourceNode,
58 'AudioContext': () => AudioContext.internalCreateAudioContext,
59 'AudioDestinationNode': () => AudioDestinationNode.internalCreateAudioDestinat ionNode,
60 'AudioListener': () => AudioListener.internalCreateAudioListener,
61 'AudioNode': () => AudioNode.internalCreateAudioNode,
62 'AudioParam': () => AudioParam.internalCreateAudioParam,
63 'AudioProcessingEvent': () => AudioProcessingEvent.internalCreateAudioProcessi ngEvent,
64 'AudioSourceNode': () => AudioSourceNode.internalCreateAudioSourceNode,
65 'BiquadFilterNode': () => BiquadFilterNode.internalCreateBiquadFilterNode,
66 'ChannelMergerNode': () => ChannelMergerNode.internalCreateChannelMergerNode,
67 'ChannelSplitterNode': () => ChannelSplitterNode.internalCreateChannelSplitter Node,
68 'ConvolverNode': () => ConvolverNode.internalCreateConvolverNode,
69 'DelayNode': () => DelayNode.internalCreateDelayNode,
70 'DynamicsCompressorNode': () => DynamicsCompressorNode.internalCreateDynamicsC ompressorNode,
71 'GainNode': () => GainNode.internalCreateGainNode,
72 'MediaElementAudioSourceNode': () => MediaElementAudioSourceNode.internalCreat eMediaElementAudioSourceNode,
73 'MediaStreamAudioDestinationNode': () => MediaStreamAudioDestinationNode.inter nalCreateMediaStreamAudioDestinationNode,
74 'MediaStreamAudioSourceNode': () => MediaStreamAudioSourceNode.internalCreateM ediaStreamAudioSourceNode,
75 'OfflineAudioCompletionEvent': () => OfflineAudioCompletionEvent.internalCreat eOfflineAudioCompletionEvent,
76 'OfflineAudioContext': () => OfflineAudioContext.internalCreateOfflineAudioCon text,
77 'OscillatorNode': () => OscillatorNode.internalCreateOscillatorNode,
78 'PannerNode': () => PannerNode.internalCreatePannerNode,
79 'PeriodicWave': () => PeriodicWave.internalCreatePeriodicWave,
80 'ScriptProcessorNode': () => ScriptProcessorNode.internalCreateScriptProcessor Node,
81 'WaveShaperNode': () => WaveShaperNode.internalCreateWaveShaperNode,
82
83 };
84 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 52 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
85 // for details. All rights reserved. Use of this source code is governed by a 53 // for details. All rights reserved. Use of this source code is governed by a
86 // BSD-style license that can be found in the LICENSE file. 54 // BSD-style license that can be found in the LICENSE file.
87 55
88 // WARNING: Do not edit - generated code. 56 // WARNING: Do not edit - generated code.
89 57
90 58
91 @DocsEditable() 59 @DocsEditable()
92 @DomName('AnalyserNode') 60 @DomName('AnalyserNode')
93 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Analyse rNode 61 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Analyse rNode
94 @Experimental() 62 @Experimental()
95 class AnalyserNode extends AudioNode { 63 class AnalyserNode extends AudioNode {
96 // To suppress missing implicit constructor warnings. 64 // To suppress missing implicit constructor warnings.
97 factory AnalyserNode._() { throw new UnsupportedError("Not supported"); } 65 factory AnalyserNode._() { throw new UnsupportedError("Not supported"); }
98 66
99
100 static AnalyserNode internalCreateAnalyserNode() {
101 return new AnalyserNode._internalWrap();
102 }
103
104 factory AnalyserNode._internalWrap() {
105 return new AnalyserNode.internal_();
106 }
107
108 AnalyserNode.internal_() : super.internal_();
109
110
111 @DomName('AnalyserNode.fftSize') 67 @DomName('AnalyserNode.fftSize')
112 @DocsEditable() 68 @DocsEditable()
113 int get fftSize => _blink.BlinkAnalyserNode.instance.fftSize_Getter_(unwrap_js o(this)); 69 int get fftSize => _blink.BlinkAnalyserNode.instance.fftSize_Getter_(unwrap_js o(this));
114 70
115 @DomName('AnalyserNode.fftSize') 71 @DomName('AnalyserNode.fftSize')
116 @DocsEditable() 72 @DocsEditable()
117 set fftSize(int value) => _blink.BlinkAnalyserNode.instance.fftSize_Setter_(un wrap_jso(this), value); 73 void set fftSize(int value) => _blink.BlinkAnalyserNode.instance.fftSize_Sette r_(unwrap_jso(this), value);
118 74
119 @DomName('AnalyserNode.frequencyBinCount') 75 @DomName('AnalyserNode.frequencyBinCount')
120 @DocsEditable() 76 @DocsEditable()
121 int get frequencyBinCount => _blink.BlinkAnalyserNode.instance.frequencyBinCou nt_Getter_(unwrap_jso(this)); 77 int get frequencyBinCount => _blink.BlinkAnalyserNode.instance.frequencyBinCou nt_Getter_(unwrap_jso(this));
122 78
123 @DomName('AnalyserNode.maxDecibels') 79 @DomName('AnalyserNode.maxDecibels')
124 @DocsEditable() 80 @DocsEditable()
125 num get maxDecibels => _blink.BlinkAnalyserNode.instance.maxDecibels_Getter_(u nwrap_jso(this)); 81 num get maxDecibels => _blink.BlinkAnalyserNode.instance.maxDecibels_Getter_(u nwrap_jso(this));
126 82
127 @DomName('AnalyserNode.maxDecibels') 83 @DomName('AnalyserNode.maxDecibels')
128 @DocsEditable() 84 @DocsEditable()
129 set maxDecibels(num value) => _blink.BlinkAnalyserNode.instance.maxDecibels_Se tter_(unwrap_jso(this), value); 85 void set maxDecibels(num value) => _blink.BlinkAnalyserNode.instance.maxDecibe ls_Setter_(unwrap_jso(this), value);
130 86
131 @DomName('AnalyserNode.minDecibels') 87 @DomName('AnalyserNode.minDecibels')
132 @DocsEditable() 88 @DocsEditable()
133 num get minDecibels => _blink.BlinkAnalyserNode.instance.minDecibels_Getter_(u nwrap_jso(this)); 89 num get minDecibels => _blink.BlinkAnalyserNode.instance.minDecibels_Getter_(u nwrap_jso(this));
134 90
135 @DomName('AnalyserNode.minDecibels') 91 @DomName('AnalyserNode.minDecibels')
136 @DocsEditable() 92 @DocsEditable()
137 set minDecibels(num value) => _blink.BlinkAnalyserNode.instance.minDecibels_Se tter_(unwrap_jso(this), value); 93 void set minDecibels(num value) => _blink.BlinkAnalyserNode.instance.minDecibe ls_Setter_(unwrap_jso(this), value);
138 94
139 @DomName('AnalyserNode.smoothingTimeConstant') 95 @DomName('AnalyserNode.smoothingTimeConstant')
140 @DocsEditable() 96 @DocsEditable()
141 num get smoothingTimeConstant => _blink.BlinkAnalyserNode.instance.smoothingTi meConstant_Getter_(unwrap_jso(this)); 97 num get smoothingTimeConstant => _blink.BlinkAnalyserNode.instance.smoothingTi meConstant_Getter_(unwrap_jso(this));
142 98
143 @DomName('AnalyserNode.smoothingTimeConstant') 99 @DomName('AnalyserNode.smoothingTimeConstant')
144 @DocsEditable() 100 @DocsEditable()
145 set smoothingTimeConstant(num value) => _blink.BlinkAnalyserNode.instance.smoo thingTimeConstant_Setter_(unwrap_jso(this), value); 101 void set smoothingTimeConstant(num value) => _blink.BlinkAnalyserNode.instance .smoothingTimeConstant_Setter_(unwrap_jso(this), value);
146 102
147 @DomName('AnalyserNode.getByteFrequencyData') 103 @DomName('AnalyserNode.getByteFrequencyData')
148 @DocsEditable() 104 @DocsEditable()
149 void getByteFrequencyData(Uint8List array) => _blink.BlinkAnalyserNode.instanc e.getByteFrequencyData_Callback_1_(unwrap_jso(this), array); 105 void getByteFrequencyData(Uint8List array) => _blink.BlinkAnalyserNode.instanc e.getByteFrequencyData_Callback_1_(unwrap_jso(this), array);
150 106
151 @DomName('AnalyserNode.getByteTimeDomainData') 107 @DomName('AnalyserNode.getByteTimeDomainData')
152 @DocsEditable() 108 @DocsEditable()
153 void getByteTimeDomainData(Uint8List array) => _blink.BlinkAnalyserNode.instan ce.getByteTimeDomainData_Callback_1_(unwrap_jso(this), array); 109 void getByteTimeDomainData(Uint8List array) => _blink.BlinkAnalyserNode.instan ce.getByteTimeDomainData_Callback_1_(unwrap_jso(this), array);
154 110
155 @DomName('AnalyserNode.getFloatFrequencyData') 111 @DomName('AnalyserNode.getFloatFrequencyData')
(...skipping 14 matching lines...) Expand all
170 126
171 127
172 @DocsEditable() 128 @DocsEditable()
173 @DomName('AudioBuffer') 129 @DomName('AudioBuffer')
174 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioBu ffer-section 130 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioBu ffer-section
175 @Experimental() 131 @Experimental()
176 class AudioBuffer extends NativeFieldWrapperClass2 { 132 class AudioBuffer extends NativeFieldWrapperClass2 {
177 // To suppress missing implicit constructor warnings. 133 // To suppress missing implicit constructor warnings.
178 factory AudioBuffer._() { throw new UnsupportedError("Not supported"); } 134 factory AudioBuffer._() { throw new UnsupportedError("Not supported"); }
179 135
180 static AudioBuffer internalCreateAudioBuffer() {
181 return new AudioBuffer._internalWrap();
182 }
183
184 js.JsObject blink_jsObject;
185
186 factory AudioBuffer._internalWrap() {
187 return new AudioBuffer.internal_();
188 }
189
190 AudioBuffer.internal_() { }
191
192 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical( this, other);
193 int get hashCode => unwrap_jso(this).hashCode;
194
195 @DomName('AudioBuffer.duration') 136 @DomName('AudioBuffer.duration')
196 @DocsEditable() 137 @DocsEditable()
197 num get duration => _blink.BlinkAudioBuffer.instance.duration_Getter_(unwrap_j so(this)); 138 double get duration => _blink.BlinkAudioBuffer.instance.duration_Getter_(unwra p_jso(this));
198 139
199 @DomName('AudioBuffer.length') 140 @DomName('AudioBuffer.length')
200 @DocsEditable() 141 @DocsEditable()
201 int get length => _blink.BlinkAudioBuffer.instance.length_Getter_(unwrap_jso(t his)); 142 int get length => _blink.BlinkAudioBuffer.instance.length_Getter_(unwrap_jso(t his));
202 143
203 @DomName('AudioBuffer.numberOfChannels') 144 @DomName('AudioBuffer.numberOfChannels')
204 @DocsEditable() 145 @DocsEditable()
205 int get numberOfChannels => _blink.BlinkAudioBuffer.instance.numberOfChannels_ Getter_(unwrap_jso(this)); 146 int get numberOfChannels => _blink.BlinkAudioBuffer.instance.numberOfChannels_ Getter_(unwrap_jso(this));
206 147
207 @DomName('AudioBuffer.sampleRate') 148 @DomName('AudioBuffer.sampleRate')
208 @DocsEditable() 149 @DocsEditable()
209 num get sampleRate => _blink.BlinkAudioBuffer.instance.sampleRate_Getter_(unwr ap_jso(this)); 150 double get sampleRate => _blink.BlinkAudioBuffer.instance.sampleRate_Getter_(u nwrap_jso(this));
210 151
211 @DomName('AudioBuffer.getChannelData') 152 @DomName('AudioBuffer.getChannelData')
212 @DocsEditable() 153 @DocsEditable()
213 Float32List getChannelData(int channelIndex) => _blink.BlinkAudioBuffer.instan ce.getChannelData_Callback_1_(unwrap_jso(this), channelIndex); 154 Float32List getChannelData(int channelIndex) => _blink.BlinkAudioBuffer.instan ce.getChannelData_Callback_1_(unwrap_jso(this), channelIndex);
214 155
215 } 156 }
216 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 157 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
217 // for details. All rights reserved. Use of this source code is governed by a 158 // for details. All rights reserved. Use of this source code is governed by a
218 // BSD-style license that can be found in the LICENSE file. 159 // BSD-style license that can be found in the LICENSE file.
219 160
(...skipping 25 matching lines...) Expand all
245 * Static factory designed to expose `ended` events to event 186 * Static factory designed to expose `ended` events to event
246 * handlers that are not necessarily instances of [AudioBufferSourceNode]. 187 * handlers that are not necessarily instances of [AudioBufferSourceNode].
247 * 188 *
248 * See [EventStreamProvider] for usage information. 189 * See [EventStreamProvider] for usage information.
249 */ 190 */
250 @DomName('AudioBufferSourceNode.endedEvent') 191 @DomName('AudioBufferSourceNode.endedEvent')
251 @DocsEditable() 192 @DocsEditable()
252 @Experimental() // untriaged 193 @Experimental() // untriaged
253 static const EventStreamProvider<Event> endedEvent = const EventStreamProvider <Event>('ended'); 194 static const EventStreamProvider<Event> endedEvent = const EventStreamProvider <Event>('ended');
254 195
255
256 static AudioBufferSourceNode internalCreateAudioBufferSourceNode() {
257 return new AudioBufferSourceNode._internalWrap();
258 }
259
260 factory AudioBufferSourceNode._internalWrap() {
261 return new AudioBufferSourceNode.internal_();
262 }
263
264 AudioBufferSourceNode.internal_() : super.internal_();
265
266
267 @DomName('AudioBufferSourceNode.buffer') 196 @DomName('AudioBufferSourceNode.buffer')
268 @DocsEditable() 197 @DocsEditable()
269 AudioBuffer get buffer => wrap_jso(_blink.BlinkAudioBufferSourceNode.instance. buffer_Getter_(unwrap_jso(this))); 198 AudioBuffer get buffer => wrap_jso(_blink.BlinkAudioBufferSourceNode.instance. buffer_Getter_(unwrap_jso(this)));
270 199
271 @DomName('AudioBufferSourceNode.buffer') 200 @DomName('AudioBufferSourceNode.buffer')
272 @DocsEditable() 201 @DocsEditable()
273 set buffer(AudioBuffer value) => _blink.BlinkAudioBufferSourceNode.instance.bu ffer_Setter_(unwrap_jso(this), unwrap_jso(value)); 202 void set buffer(AudioBuffer value) => _blink.BlinkAudioBufferSourceNode.instan ce.buffer_Setter_(unwrap_jso(this), unwrap_jso(value));
274 203
275 @DomName('AudioBufferSourceNode.loop') 204 @DomName('AudioBufferSourceNode.loop')
276 @DocsEditable() 205 @DocsEditable()
277 bool get loop => _blink.BlinkAudioBufferSourceNode.instance.loop_Getter_(unwra p_jso(this)); 206 bool get loop => _blink.BlinkAudioBufferSourceNode.instance.loop_Getter_(unwra p_jso(this));
278 207
279 @DomName('AudioBufferSourceNode.loop') 208 @DomName('AudioBufferSourceNode.loop')
280 @DocsEditable() 209 @DocsEditable()
281 set loop(bool value) => _blink.BlinkAudioBufferSourceNode.instance.loop_Setter _(unwrap_jso(this), value); 210 void set loop(bool value) => _blink.BlinkAudioBufferSourceNode.instance.loop_S etter_(unwrap_jso(this), value);
282 211
283 @DomName('AudioBufferSourceNode.loopEnd') 212 @DomName('AudioBufferSourceNode.loopEnd')
284 @DocsEditable() 213 @DocsEditable()
285 num get loopEnd => _blink.BlinkAudioBufferSourceNode.instance.loopEnd_Getter_( unwrap_jso(this)); 214 num get loopEnd => _blink.BlinkAudioBufferSourceNode.instance.loopEnd_Getter_( unwrap_jso(this));
286 215
287 @DomName('AudioBufferSourceNode.loopEnd') 216 @DomName('AudioBufferSourceNode.loopEnd')
288 @DocsEditable() 217 @DocsEditable()
289 set loopEnd(num value) => _blink.BlinkAudioBufferSourceNode.instance.loopEnd_S etter_(unwrap_jso(this), value); 218 void set loopEnd(num value) => _blink.BlinkAudioBufferSourceNode.instance.loop End_Setter_(unwrap_jso(this), value);
290 219
291 @DomName('AudioBufferSourceNode.loopStart') 220 @DomName('AudioBufferSourceNode.loopStart')
292 @DocsEditable() 221 @DocsEditable()
293 num get loopStart => _blink.BlinkAudioBufferSourceNode.instance.loopStart_Gett er_(unwrap_jso(this)); 222 num get loopStart => _blink.BlinkAudioBufferSourceNode.instance.loopStart_Gett er_(unwrap_jso(this));
294 223
295 @DomName('AudioBufferSourceNode.loopStart') 224 @DomName('AudioBufferSourceNode.loopStart')
296 @DocsEditable() 225 @DocsEditable()
297 set loopStart(num value) => _blink.BlinkAudioBufferSourceNode.instance.loopSta rt_Setter_(unwrap_jso(this), value); 226 void set loopStart(num value) => _blink.BlinkAudioBufferSourceNode.instance.lo opStart_Setter_(unwrap_jso(this), value);
298 227
299 @DomName('AudioBufferSourceNode.playbackRate') 228 @DomName('AudioBufferSourceNode.playbackRate')
300 @DocsEditable() 229 @DocsEditable()
301 AudioParam get playbackRate => wrap_jso(_blink.BlinkAudioBufferSourceNode.inst ance.playbackRate_Getter_(unwrap_jso(this))); 230 AudioParam get playbackRate => wrap_jso(_blink.BlinkAudioBufferSourceNode.inst ance.playbackRate_Getter_(unwrap_jso(this)));
302 231
303 void start([num when, num grainOffset, num grainDuration]) { 232 void start([num when, num grainOffset, num grainDuration]) {
304 if (grainDuration != null) { 233 if (grainDuration != null) {
305 _blink.BlinkAudioBufferSourceNode.instance.start_Callback_3_(unwrap_jso(th is), when, grainOffset, grainDuration); 234 _blink.BlinkAudioBufferSourceNode.instance.start_Callback_3_(unwrap_jso(th is), when, grainOffset, grainDuration);
306 return; 235 return;
307 } 236 }
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
353 * 282 *
354 * See [EventStreamProvider] for usage information. 283 * See [EventStreamProvider] for usage information.
355 */ 284 */
356 @DomName('AudioContext.completeEvent') 285 @DomName('AudioContext.completeEvent')
357 @DocsEditable() 286 @DocsEditable()
358 static const EventStreamProvider<Event> completeEvent = const EventStreamProvi der<Event>('complete'); 287 static const EventStreamProvider<Event> completeEvent = const EventStreamProvi der<Event>('complete');
359 288
360 @DomName('AudioContext.AudioContext') 289 @DomName('AudioContext.AudioContext')
361 @DocsEditable() 290 @DocsEditable()
362 factory AudioContext() { 291 factory AudioContext() {
363 return wrap_jso(_blink.BlinkAudioContext.instance.constructorCallback_0_()); 292 return _blink.BlinkAudioContext.instance.constructorCallback_0_();
364 } 293 }
365 294
366
367 static AudioContext internalCreateAudioContext() {
368 return new AudioContext._internalWrap();
369 }
370
371 factory AudioContext._internalWrap() {
372 return new AudioContext.internal_();
373 }
374
375 AudioContext.internal_() : super.internal_();
376
377
378 /// Checks if this type is supported on the current platform. 295 /// Checks if this type is supported on the current platform.
379 static bool get supported => true; 296 static bool get supported => true;
380 297
381 @DomName('AudioContext.currentTime') 298 @DomName('AudioContext.currentTime')
382 @DocsEditable() 299 @DocsEditable()
383 num get currentTime => _blink.BlinkAudioContext.instance.currentTime_Getter_(u nwrap_jso(this)); 300 double get currentTime => _blink.BlinkAudioContext.instance.currentTime_Getter _(unwrap_jso(this));
384 301
385 @DomName('AudioContext.destination') 302 @DomName('AudioContext.destination')
386 @DocsEditable() 303 @DocsEditable()
387 AudioDestinationNode get destination => wrap_jso(_blink.BlinkAudioContext.inst ance.destination_Getter_(unwrap_jso(this))); 304 AudioDestinationNode get destination => wrap_jso(_blink.BlinkAudioContext.inst ance.destination_Getter_(unwrap_jso(this)));
388 305
389 @DomName('AudioContext.listener') 306 @DomName('AudioContext.listener')
390 @DocsEditable() 307 @DocsEditable()
391 AudioListener get listener => wrap_jso(_blink.BlinkAudioContext.instance.liste ner_Getter_(unwrap_jso(this))); 308 AudioListener get listener => wrap_jso(_blink.BlinkAudioContext.instance.liste ner_Getter_(unwrap_jso(this)));
392 309
393 @DomName('AudioContext.sampleRate') 310 @DomName('AudioContext.sampleRate')
394 @DocsEditable() 311 @DocsEditable()
395 num get sampleRate => _blink.BlinkAudioContext.instance.sampleRate_Getter_(unw rap_jso(this)); 312 double get sampleRate => _blink.BlinkAudioContext.instance.sampleRate_Getter_( unwrap_jso(this));
396 313
397 @DomName('AudioContext.createAnalyser') 314 @DomName('AudioContext.createAnalyser')
398 @DocsEditable() 315 @DocsEditable()
399 AnalyserNode createAnalyser() => wrap_jso(_blink.BlinkAudioContext.instance.cr eateAnalyser_Callback_0_(unwrap_jso(this))); 316 AnalyserNode createAnalyser() => wrap_jso(_blink.BlinkAudioContext.instance.cr eateAnalyser_Callback_0_(unwrap_jso(this)));
400 317
401 @DomName('AudioContext.createBiquadFilter') 318 @DomName('AudioContext.createBiquadFilter')
402 @DocsEditable() 319 @DocsEditable()
403 BiquadFilterNode createBiquadFilter() => wrap_jso(_blink.BlinkAudioContext.ins tance.createBiquadFilter_Callback_0_(unwrap_jso(this))); 320 BiquadFilterNode createBiquadFilter() => wrap_jso(_blink.BlinkAudioContext.ins tance.createBiquadFilter_Callback_0_(unwrap_jso(this)));
404 321
405 @DomName('AudioContext.createBuffer') 322 @DomName('AudioContext.createBuffer')
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
480 } 397 }
481 return wrap_jso(_blink.BlinkAudioContext.instance.createScriptProcessor_Call back_0_(unwrap_jso(this))); 398 return wrap_jso(_blink.BlinkAudioContext.instance.createScriptProcessor_Call back_0_(unwrap_jso(this)));
482 } 399 }
483 400
484 @DomName('AudioContext.createWaveShaper') 401 @DomName('AudioContext.createWaveShaper')
485 @DocsEditable() 402 @DocsEditable()
486 WaveShaperNode createWaveShaper() => wrap_jso(_blink.BlinkAudioContext.instanc e.createWaveShaper_Callback_0_(unwrap_jso(this))); 403 WaveShaperNode createWaveShaper() => wrap_jso(_blink.BlinkAudioContext.instanc e.createWaveShaper_Callback_0_(unwrap_jso(this)));
487 404
488 @DomName('AudioContext.decodeAudioData') 405 @DomName('AudioContext.decodeAudioData')
489 @DocsEditable() 406 @DocsEditable()
490 void _decodeAudioData(ByteBuffer audioData, AudioBufferCallback successCallbac k, [AudioBufferCallback errorCallback]) => _blink.BlinkAudioContext.instance.dec odeAudioData_Callback_3_(unwrap_jso(this), audioData, unwrap_jso((audioBuffer) = > successCallback(wrap_jso(audioBuffer))), unwrap_jso((audioBuffer) => errorCall back(wrap_jso(audioBuffer)))); 407 void _decodeAudioData(ByteBuffer audioData, AudioBufferCallback successCallbac k, [AudioBufferCallback errorCallback]) => _blink.BlinkAudioContext.instance.dec odeAudioData_Callback_3_(unwrap_jso(this), audioData, unwrap_jso(successCallback ), unwrap_jso(errorCallback));
491 408
492 @DomName('AudioContext.startRendering') 409 @DomName('AudioContext.startRendering')
493 @DocsEditable() 410 @DocsEditable()
494 void startRendering() => _blink.BlinkAudioContext.instance.startRendering_Call back_0_(unwrap_jso(this)); 411 void startRendering() => _blink.BlinkAudioContext.instance.startRendering_Call back_0_(unwrap_jso(this));
495 412
496 /// Stream of `complete` events handled by this [AudioContext]. 413 /// Stream of `complete` events handled by this [AudioContext].
497 @DomName('AudioContext.oncomplete') 414 @DomName('AudioContext.oncomplete')
498 @DocsEditable() 415 @DocsEditable()
499 Stream<Event> get onComplete => completeEvent.forTarget(this); 416 Stream<Event> get onComplete => completeEvent.forTarget(this);
500 417
(...skipping 20 matching lines...) Expand all
521 438
522 439
523 @DocsEditable() 440 @DocsEditable()
524 @DomName('AudioDestinationNode') 441 @DomName('AudioDestinationNode')
525 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioDe stinationNode-section 442 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioDe stinationNode-section
526 @Experimental() 443 @Experimental()
527 class AudioDestinationNode extends AudioNode { 444 class AudioDestinationNode extends AudioNode {
528 // To suppress missing implicit constructor warnings. 445 // To suppress missing implicit constructor warnings.
529 factory AudioDestinationNode._() { throw new UnsupportedError("Not supported") ; } 446 factory AudioDestinationNode._() { throw new UnsupportedError("Not supported") ; }
530 447
531
532 static AudioDestinationNode internalCreateAudioDestinationNode() {
533 return new AudioDestinationNode._internalWrap();
534 }
535
536 factory AudioDestinationNode._internalWrap() {
537 return new AudioDestinationNode.internal_();
538 }
539
540 AudioDestinationNode.internal_() : super.internal_();
541
542
543 @DomName('AudioDestinationNode.maxChannelCount') 448 @DomName('AudioDestinationNode.maxChannelCount')
544 @DocsEditable() 449 @DocsEditable()
545 int get maxChannelCount => _blink.BlinkAudioDestinationNode.instance.maxChanne lCount_Getter_(unwrap_jso(this)); 450 int get maxChannelCount => _blink.BlinkAudioDestinationNode.instance.maxChanne lCount_Getter_(unwrap_jso(this));
546 451
547 } 452 }
548 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 453 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
549 // for details. All rights reserved. Use of this source code is governed by a 454 // for details. All rights reserved. Use of this source code is governed by a
550 // BSD-style license that can be found in the LICENSE file. 455 // BSD-style license that can be found in the LICENSE file.
551 456
552 // WARNING: Do not edit - generated code. 457 // WARNING: Do not edit - generated code.
553 458
554 459
555 @DocsEditable() 460 @DocsEditable()
556 @DomName('AudioListener') 461 @DomName('AudioListener')
557 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioLi stener-section 462 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioLi stener-section
558 @Experimental() 463 @Experimental()
559 class AudioListener extends NativeFieldWrapperClass2 { 464 class AudioListener extends NativeFieldWrapperClass2 {
560 // To suppress missing implicit constructor warnings. 465 // To suppress missing implicit constructor warnings.
561 factory AudioListener._() { throw new UnsupportedError("Not supported"); } 466 factory AudioListener._() { throw new UnsupportedError("Not supported"); }
562 467
563 static AudioListener internalCreateAudioListener() {
564 return new AudioListener._internalWrap();
565 }
566
567 js.JsObject blink_jsObject;
568
569 factory AudioListener._internalWrap() {
570 return new AudioListener.internal_();
571 }
572
573 AudioListener.internal_() { }
574
575 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical( this, other);
576 int get hashCode => unwrap_jso(this).hashCode;
577
578 @DomName('AudioListener.dopplerFactor') 468 @DomName('AudioListener.dopplerFactor')
579 @DocsEditable() 469 @DocsEditable()
580 num get dopplerFactor => _blink.BlinkAudioListener.instance.dopplerFactor_Gett er_(unwrap_jso(this)); 470 num get dopplerFactor => _blink.BlinkAudioListener.instance.dopplerFactor_Gett er_(unwrap_jso(this));
581 471
582 @DomName('AudioListener.dopplerFactor') 472 @DomName('AudioListener.dopplerFactor')
583 @DocsEditable() 473 @DocsEditable()
584 set dopplerFactor(num value) => _blink.BlinkAudioListener.instance.dopplerFact or_Setter_(unwrap_jso(this), value); 474 void set dopplerFactor(num value) => _blink.BlinkAudioListener.instance.dopple rFactor_Setter_(unwrap_jso(this), value);
585 475
586 @DomName('AudioListener.speedOfSound') 476 @DomName('AudioListener.speedOfSound')
587 @DocsEditable() 477 @DocsEditable()
588 num get speedOfSound => _blink.BlinkAudioListener.instance.speedOfSound_Getter _(unwrap_jso(this)); 478 num get speedOfSound => _blink.BlinkAudioListener.instance.speedOfSound_Getter _(unwrap_jso(this));
589 479
590 @DomName('AudioListener.speedOfSound') 480 @DomName('AudioListener.speedOfSound')
591 @DocsEditable() 481 @DocsEditable()
592 set speedOfSound(num value) => _blink.BlinkAudioListener.instance.speedOfSound _Setter_(unwrap_jso(this), value); 482 void set speedOfSound(num value) => _blink.BlinkAudioListener.instance.speedOf Sound_Setter_(unwrap_jso(this), value);
593 483
594 @DomName('AudioListener.setOrientation') 484 @DomName('AudioListener.setOrientation')
595 @DocsEditable() 485 @DocsEditable()
596 void setOrientation(num x, num y, num z, num xUp, num yUp, num zUp) => _blink. BlinkAudioListener.instance.setOrientation_Callback_6_(unwrap_jso(this), x, y, z , xUp, yUp, zUp); 486 void setOrientation(num x, num y, num z, num xUp, num yUp, num zUp) => _blink. BlinkAudioListener.instance.setOrientation_Callback_6_(unwrap_jso(this), x, y, z , xUp, yUp, zUp);
597 487
598 @DomName('AudioListener.setPosition') 488 @DomName('AudioListener.setPosition')
599 @DocsEditable() 489 @DocsEditable()
600 void setPosition(num x, num y, num z) => _blink.BlinkAudioListener.instance.se tPosition_Callback_3_(unwrap_jso(this), x, y, z); 490 void setPosition(num x, num y, num z) => _blink.BlinkAudioListener.instance.se tPosition_Callback_3_(unwrap_jso(this), x, y, z);
601 491
602 @DomName('AudioListener.setVelocity') 492 @DomName('AudioListener.setVelocity')
603 @DocsEditable() 493 @DocsEditable()
604 void setVelocity(num x, num y, num z) => _blink.BlinkAudioListener.instance.se tVelocity_Callback_3_(unwrap_jso(this), x, y, z); 494 void setVelocity(num x, num y, num z) => _blink.BlinkAudioListener.instance.se tVelocity_Callback_3_(unwrap_jso(this), x, y, z);
605 495
606 } 496 }
607 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 497 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
608 // for details. All rights reserved. Use of this source code is governed by a 498 // for details. All rights reserved. Use of this source code is governed by a
609 // BSD-style license that can be found in the LICENSE file. 499 // BSD-style license that can be found in the LICENSE file.
610 500
611 501
612 @DomName('AudioNode') 502 @DomName('AudioNode')
613 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioNo de-section 503 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioNo de-section
614 @Experimental() 504 @Experimental()
615 class AudioNode extends EventTarget { 505 class AudioNode extends EventTarget {
616 // To suppress missing implicit constructor warnings. 506 // To suppress missing implicit constructor warnings.
617 factory AudioNode._() { throw new UnsupportedError("Not supported"); } 507 factory AudioNode._() { throw new UnsupportedError("Not supported"); }
618 508
619
620 static AudioNode internalCreateAudioNode() {
621 return new AudioNode._internalWrap();
622 }
623
624 factory AudioNode._internalWrap() {
625 return new AudioNode.internal_();
626 }
627
628 AudioNode.internal_() : super.internal_();
629
630
631 @DomName('AudioNode.channelCount') 509 @DomName('AudioNode.channelCount')
632 @DocsEditable() 510 @DocsEditable()
633 int get channelCount => _blink.BlinkAudioNode.instance.channelCount_Getter_(un wrap_jso(this)); 511 int get channelCount => _blink.BlinkAudioNode.instance.channelCount_Getter_(un wrap_jso(this));
634 512
635 @DomName('AudioNode.channelCount') 513 @DomName('AudioNode.channelCount')
636 @DocsEditable() 514 @DocsEditable()
637 set channelCount(int value) => _blink.BlinkAudioNode.instance.channelCount_Set ter_(unwrap_jso(this), value); 515 void set channelCount(int value) => _blink.BlinkAudioNode.instance.channelCoun t_Setter_(unwrap_jso(this), value);
638 516
639 @DomName('AudioNode.channelCountMode') 517 @DomName('AudioNode.channelCountMode')
640 @DocsEditable() 518 @DocsEditable()
641 String get channelCountMode => _blink.BlinkAudioNode.instance.channelCountMode _Getter_(unwrap_jso(this)); 519 String get channelCountMode => _blink.BlinkAudioNode.instance.channelCountMode _Getter_(unwrap_jso(this));
642 520
643 @DomName('AudioNode.channelCountMode') 521 @DomName('AudioNode.channelCountMode')
644 @DocsEditable() 522 @DocsEditable()
645 set channelCountMode(String value) => _blink.BlinkAudioNode.instance.channelCo untMode_Setter_(unwrap_jso(this), value); 523 void set channelCountMode(String value) => _blink.BlinkAudioNode.instance.chan nelCountMode_Setter_(unwrap_jso(this), value);
646 524
647 @DomName('AudioNode.channelInterpretation') 525 @DomName('AudioNode.channelInterpretation')
648 @DocsEditable() 526 @DocsEditable()
649 String get channelInterpretation => _blink.BlinkAudioNode.instance.channelInte rpretation_Getter_(unwrap_jso(this)); 527 String get channelInterpretation => _blink.BlinkAudioNode.instance.channelInte rpretation_Getter_(unwrap_jso(this));
650 528
651 @DomName('AudioNode.channelInterpretation') 529 @DomName('AudioNode.channelInterpretation')
652 @DocsEditable() 530 @DocsEditable()
653 set channelInterpretation(String value) => _blink.BlinkAudioNode.instance.chan nelInterpretation_Setter_(unwrap_jso(this), value); 531 void set channelInterpretation(String value) => _blink.BlinkAudioNode.instance .channelInterpretation_Setter_(unwrap_jso(this), value);
654 532
655 @DomName('AudioNode.context') 533 @DomName('AudioNode.context')
656 @DocsEditable() 534 @DocsEditable()
657 AudioContext get context => wrap_jso(_blink.BlinkAudioNode.instance.context_Ge tter_(unwrap_jso(this))); 535 AudioContext get context => wrap_jso(_blink.BlinkAudioNode.instance.context_Ge tter_(unwrap_jso(this)));
658 536
659 @DomName('AudioNode.numberOfInputs') 537 @DomName('AudioNode.numberOfInputs')
660 @DocsEditable() 538 @DocsEditable()
661 int get numberOfInputs => _blink.BlinkAudioNode.instance.numberOfInputs_Getter _(unwrap_jso(this)); 539 int get numberOfInputs => _blink.BlinkAudioNode.instance.numberOfInputs_Getter _(unwrap_jso(this));
662 540
663 @DomName('AudioNode.numberOfOutputs') 541 @DomName('AudioNode.numberOfOutputs')
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
696 574
697 575
698 @DocsEditable() 576 @DocsEditable()
699 @DomName('AudioParam') 577 @DomName('AudioParam')
700 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioPa ram 578 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioPa ram
701 @Experimental() 579 @Experimental()
702 class AudioParam extends NativeFieldWrapperClass2 { 580 class AudioParam extends NativeFieldWrapperClass2 {
703 // To suppress missing implicit constructor warnings. 581 // To suppress missing implicit constructor warnings.
704 factory AudioParam._() { throw new UnsupportedError("Not supported"); } 582 factory AudioParam._() { throw new UnsupportedError("Not supported"); }
705 583
706 static AudioParam internalCreateAudioParam() {
707 return new AudioParam._internalWrap();
708 }
709
710 js.JsObject blink_jsObject;
711
712 factory AudioParam._internalWrap() {
713 return new AudioParam.internal_();
714 }
715
716 AudioParam.internal_() { }
717
718 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical( this, other);
719 int get hashCode => unwrap_jso(this).hashCode;
720
721 @DomName('AudioParam.defaultValue') 584 @DomName('AudioParam.defaultValue')
722 @DocsEditable() 585 @DocsEditable()
723 num get defaultValue => _blink.BlinkAudioParam.instance.defaultValue_Getter_(u nwrap_jso(this)); 586 double get defaultValue => _blink.BlinkAudioParam.instance.defaultValue_Getter _(unwrap_jso(this));
724 587
725 @DomName('AudioParam.value') 588 @DomName('AudioParam.value')
726 @DocsEditable() 589 @DocsEditable()
727 num get value => _blink.BlinkAudioParam.instance.value_Getter_(unwrap_jso(this )); 590 num get value => _blink.BlinkAudioParam.instance.value_Getter_(unwrap_jso(this ));
728 591
729 @DomName('AudioParam.value') 592 @DomName('AudioParam.value')
730 @DocsEditable() 593 @DocsEditable()
731 set value(num value) => _blink.BlinkAudioParam.instance.value_Setter_(unwrap_j so(this), value); 594 void set value(num value) => _blink.BlinkAudioParam.instance.value_Setter_(unw rap_jso(this), value);
732 595
733 @DomName('AudioParam.cancelScheduledValues') 596 @DomName('AudioParam.cancelScheduledValues')
734 @DocsEditable() 597 @DocsEditable()
735 void cancelScheduledValues(num startTime) => _blink.BlinkAudioParam.instance.c ancelScheduledValues_Callback_1_(unwrap_jso(this), startTime); 598 void cancelScheduledValues(num startTime) => _blink.BlinkAudioParam.instance.c ancelScheduledValues_Callback_1_(unwrap_jso(this), startTime);
736 599
737 @DomName('AudioParam.exponentialRampToValueAtTime') 600 @DomName('AudioParam.exponentialRampToValueAtTime')
738 @DocsEditable() 601 @DocsEditable()
739 void exponentialRampToValueAtTime(num value, num time) => _blink.BlinkAudioPar am.instance.exponentialRampToValueAtTime_Callback_2_(unwrap_jso(this), value, ti me); 602 void exponentialRampToValueAtTime(num value, num time) => _blink.BlinkAudioPar am.instance.exponentialRampToValueAtTime_Callback_2_(unwrap_jso(this), value, ti me);
740 603
741 @DomName('AudioParam.linearRampToValueAtTime') 604 @DomName('AudioParam.linearRampToValueAtTime')
(...skipping 21 matching lines...) Expand all
763 626
764 627
765 @DocsEditable() 628 @DocsEditable()
766 @DomName('AudioProcessingEvent') 629 @DomName('AudioProcessingEvent')
767 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioPr ocessingEvent-section 630 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioPr ocessingEvent-section
768 @Experimental() 631 @Experimental()
769 class AudioProcessingEvent extends Event { 632 class AudioProcessingEvent extends Event {
770 // To suppress missing implicit constructor warnings. 633 // To suppress missing implicit constructor warnings.
771 factory AudioProcessingEvent._() { throw new UnsupportedError("Not supported") ; } 634 factory AudioProcessingEvent._() { throw new UnsupportedError("Not supported") ; }
772 635
773
774 static AudioProcessingEvent internalCreateAudioProcessingEvent() {
775 return new AudioProcessingEvent._internalWrap();
776 }
777
778 factory AudioProcessingEvent._internalWrap() {
779 return new AudioProcessingEvent.internal_();
780 }
781
782 AudioProcessingEvent.internal_() : super.internal_();
783
784
785 @DomName('AudioProcessingEvent.inputBuffer') 636 @DomName('AudioProcessingEvent.inputBuffer')
786 @DocsEditable() 637 @DocsEditable()
787 AudioBuffer get inputBuffer => wrap_jso(_blink.BlinkAudioProcessingEvent.insta nce.inputBuffer_Getter_(unwrap_jso(this))); 638 AudioBuffer get inputBuffer => wrap_jso(_blink.BlinkAudioProcessingEvent.insta nce.inputBuffer_Getter_(unwrap_jso(this)));
788 639
789 @DomName('AudioProcessingEvent.outputBuffer') 640 @DomName('AudioProcessingEvent.outputBuffer')
790 @DocsEditable() 641 @DocsEditable()
791 AudioBuffer get outputBuffer => wrap_jso(_blink.BlinkAudioProcessingEvent.inst ance.outputBuffer_Getter_(unwrap_jso(this))); 642 AudioBuffer get outputBuffer => wrap_jso(_blink.BlinkAudioProcessingEvent.inst ance.outputBuffer_Getter_(unwrap_jso(this)));
792 643
793 @DomName('AudioProcessingEvent.playbackTime') 644 @DomName('AudioProcessingEvent.playbackTime')
794 @DocsEditable() 645 @DocsEditable()
795 @Experimental() // untriaged 646 @Experimental() // untriaged
796 num get playbackTime => _blink.BlinkAudioProcessingEvent.instance.playbackTime _Getter_(unwrap_jso(this)); 647 double get playbackTime => _blink.BlinkAudioProcessingEvent.instance.playbackT ime_Getter_(unwrap_jso(this));
797 648
798 } 649 }
799 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 650 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
800 // for details. All rights reserved. Use of this source code is governed by a 651 // for details. All rights reserved. Use of this source code is governed by a
801 // BSD-style license that can be found in the LICENSE file. 652 // BSD-style license that can be found in the LICENSE file.
802 653
803 // WARNING: Do not edit - generated code. 654 // WARNING: Do not edit - generated code.
804 655
805 656
806 @DocsEditable() 657 @DocsEditable()
807 @DomName('AudioSourceNode') 658 @DomName('AudioSourceNode')
808 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html 659 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html
809 @Experimental() 660 @Experimental()
810 class AudioSourceNode extends AudioNode { 661 class AudioSourceNode extends AudioNode {
811 // To suppress missing implicit constructor warnings. 662 // To suppress missing implicit constructor warnings.
812 factory AudioSourceNode._() { throw new UnsupportedError("Not supported"); } 663 factory AudioSourceNode._() { throw new UnsupportedError("Not supported"); }
813 664
814
815 static AudioSourceNode internalCreateAudioSourceNode() {
816 return new AudioSourceNode._internalWrap();
817 }
818
819 factory AudioSourceNode._internalWrap() {
820 return new AudioSourceNode.internal_();
821 }
822
823 AudioSourceNode.internal_() : super.internal_();
824
825
826 } 665 }
827 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 666 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
828 // for details. All rights reserved. Use of this source code is governed by a 667 // for details. All rights reserved. Use of this source code is governed by a
829 // BSD-style license that can be found in the LICENSE file. 668 // BSD-style license that can be found in the LICENSE file.
830 669
831 // WARNING: Do not edit - generated code. 670 // WARNING: Do not edit - generated code.
832 671
833 672
834 @DocsEditable() 673 @DocsEditable()
835 @DomName('BiquadFilterNode') 674 @DomName('BiquadFilterNode')
836 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#BiquadF ilterNode-section 675 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#BiquadF ilterNode-section
837 @Experimental() 676 @Experimental()
838 class BiquadFilterNode extends AudioNode { 677 class BiquadFilterNode extends AudioNode {
839 // To suppress missing implicit constructor warnings. 678 // To suppress missing implicit constructor warnings.
840 factory BiquadFilterNode._() { throw new UnsupportedError("Not supported"); } 679 factory BiquadFilterNode._() { throw new UnsupportedError("Not supported"); }
841 680
842
843 static BiquadFilterNode internalCreateBiquadFilterNode() {
844 return new BiquadFilterNode._internalWrap();
845 }
846
847 factory BiquadFilterNode._internalWrap() {
848 return new BiquadFilterNode.internal_();
849 }
850
851 BiquadFilterNode.internal_() : super.internal_();
852
853
854 @DomName('BiquadFilterNode.Q') 681 @DomName('BiquadFilterNode.Q')
855 @DocsEditable() 682 @DocsEditable()
856 AudioParam get Q => wrap_jso(_blink.BlinkBiquadFilterNode.instance.Q_Getter_(u nwrap_jso(this))); 683 AudioParam get Q => wrap_jso(_blink.BlinkBiquadFilterNode.instance.Q_Getter_(u nwrap_jso(this)));
857 684
858 @DomName('BiquadFilterNode.detune') 685 @DomName('BiquadFilterNode.detune')
859 @DocsEditable() 686 @DocsEditable()
860 AudioParam get detune => wrap_jso(_blink.BlinkBiquadFilterNode.instance.detune _Getter_(unwrap_jso(this))); 687 AudioParam get detune => wrap_jso(_blink.BlinkBiquadFilterNode.instance.detune _Getter_(unwrap_jso(this)));
861 688
862 @DomName('BiquadFilterNode.frequency') 689 @DomName('BiquadFilterNode.frequency')
863 @DocsEditable() 690 @DocsEditable()
864 AudioParam get frequency => wrap_jso(_blink.BlinkBiquadFilterNode.instance.fre quency_Getter_(unwrap_jso(this))); 691 AudioParam get frequency => wrap_jso(_blink.BlinkBiquadFilterNode.instance.fre quency_Getter_(unwrap_jso(this)));
865 692
866 @DomName('BiquadFilterNode.gain') 693 @DomName('BiquadFilterNode.gain')
867 @DocsEditable() 694 @DocsEditable()
868 AudioParam get gain => wrap_jso(_blink.BlinkBiquadFilterNode.instance.gain_Get ter_(unwrap_jso(this))); 695 AudioParam get gain => wrap_jso(_blink.BlinkBiquadFilterNode.instance.gain_Get ter_(unwrap_jso(this)));
869 696
870 @DomName('BiquadFilterNode.type') 697 @DomName('BiquadFilterNode.type')
871 @DocsEditable() 698 @DocsEditable()
872 String get type => _blink.BlinkBiquadFilterNode.instance.type_Getter_(unwrap_j so(this)); 699 String get type => _blink.BlinkBiquadFilterNode.instance.type_Getter_(unwrap_j so(this));
873 700
874 @DomName('BiquadFilterNode.type') 701 @DomName('BiquadFilterNode.type')
875 @DocsEditable() 702 @DocsEditable()
876 set type(String value) => _blink.BlinkBiquadFilterNode.instance.type_Setter_(u nwrap_jso(this), value); 703 void set type(String value) => _blink.BlinkBiquadFilterNode.instance.type_Sett er_(unwrap_jso(this), value);
877 704
878 @DomName('BiquadFilterNode.getFrequencyResponse') 705 @DomName('BiquadFilterNode.getFrequencyResponse')
879 @DocsEditable() 706 @DocsEditable()
880 void getFrequencyResponse(Float32List frequencyHz, Float32List magResponse, Fl oat32List phaseResponse) => _blink.BlinkBiquadFilterNode.instance.getFrequencyRe sponse_Callback_3_(unwrap_jso(this), frequencyHz, magResponse, phaseResponse); 707 void getFrequencyResponse(Float32List frequencyHz, Float32List magResponse, Fl oat32List phaseResponse) => _blink.BlinkBiquadFilterNode.instance.getFrequencyRe sponse_Callback_3_(unwrap_jso(this), frequencyHz, magResponse, phaseResponse);
881 708
882 } 709 }
883 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 710 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
884 // for details. All rights reserved. Use of this source code is governed by a 711 // for details. All rights reserved. Use of this source code is governed by a
885 // BSD-style license that can be found in the LICENSE file. 712 // BSD-style license that can be found in the LICENSE file.
886 713
887 // WARNING: Do not edit - generated code. 714 // WARNING: Do not edit - generated code.
888 715
889 716
890 @DocsEditable() 717 @DocsEditable()
891 @DomName('ChannelMergerNode') 718 @DomName('ChannelMergerNode')
892 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Channel MergerNode-section 719 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Channel MergerNode-section
893 @Experimental() 720 @Experimental()
894 class ChannelMergerNode extends AudioNode { 721 class ChannelMergerNode extends AudioNode {
895 // To suppress missing implicit constructor warnings. 722 // To suppress missing implicit constructor warnings.
896 factory ChannelMergerNode._() { throw new UnsupportedError("Not supported"); } 723 factory ChannelMergerNode._() { throw new UnsupportedError("Not supported"); }
897 724
898
899 static ChannelMergerNode internalCreateChannelMergerNode() {
900 return new ChannelMergerNode._internalWrap();
901 }
902
903 factory ChannelMergerNode._internalWrap() {
904 return new ChannelMergerNode.internal_();
905 }
906
907 ChannelMergerNode.internal_() : super.internal_();
908
909
910 } 725 }
911 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 726 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
912 // for details. All rights reserved. Use of this source code is governed by a 727 // for details. All rights reserved. Use of this source code is governed by a
913 // BSD-style license that can be found in the LICENSE file. 728 // BSD-style license that can be found in the LICENSE file.
914 729
915 // WARNING: Do not edit - generated code. 730 // WARNING: Do not edit - generated code.
916 731
917 732
918 @DocsEditable() 733 @DocsEditable()
919 @DomName('ChannelSplitterNode') 734 @DomName('ChannelSplitterNode')
920 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Channel SplitterNode-section 735 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Channel SplitterNode-section
921 @Experimental() 736 @Experimental()
922 class ChannelSplitterNode extends AudioNode { 737 class ChannelSplitterNode extends AudioNode {
923 // To suppress missing implicit constructor warnings. 738 // To suppress missing implicit constructor warnings.
924 factory ChannelSplitterNode._() { throw new UnsupportedError("Not supported"); } 739 factory ChannelSplitterNode._() { throw new UnsupportedError("Not supported"); }
925 740
926
927 static ChannelSplitterNode internalCreateChannelSplitterNode() {
928 return new ChannelSplitterNode._internalWrap();
929 }
930
931 factory ChannelSplitterNode._internalWrap() {
932 return new ChannelSplitterNode.internal_();
933 }
934
935 ChannelSplitterNode.internal_() : super.internal_();
936
937
938 } 741 }
939 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 742 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
940 // for details. All rights reserved. Use of this source code is governed by a 743 // for details. All rights reserved. Use of this source code is governed by a
941 // BSD-style license that can be found in the LICENSE file. 744 // BSD-style license that can be found in the LICENSE file.
942 745
943 // WARNING: Do not edit - generated code. 746 // WARNING: Do not edit - generated code.
944 747
945 748
946 @DocsEditable() 749 @DocsEditable()
947 @DomName('ConvolverNode') 750 @DomName('ConvolverNode')
948 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Convolv erNode 751 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Convolv erNode
949 @Experimental() 752 @Experimental()
950 class ConvolverNode extends AudioNode { 753 class ConvolverNode extends AudioNode {
951 // To suppress missing implicit constructor warnings. 754 // To suppress missing implicit constructor warnings.
952 factory ConvolverNode._() { throw new UnsupportedError("Not supported"); } 755 factory ConvolverNode._() { throw new UnsupportedError("Not supported"); }
953 756
954
955 static ConvolverNode internalCreateConvolverNode() {
956 return new ConvolverNode._internalWrap();
957 }
958
959 factory ConvolverNode._internalWrap() {
960 return new ConvolverNode.internal_();
961 }
962
963 ConvolverNode.internal_() : super.internal_();
964
965
966 @DomName('ConvolverNode.buffer') 757 @DomName('ConvolverNode.buffer')
967 @DocsEditable() 758 @DocsEditable()
968 AudioBuffer get buffer => wrap_jso(_blink.BlinkConvolverNode.instance.buffer_G etter_(unwrap_jso(this))); 759 AudioBuffer get buffer => wrap_jso(_blink.BlinkConvolverNode.instance.buffer_G etter_(unwrap_jso(this)));
969 760
970 @DomName('ConvolverNode.buffer') 761 @DomName('ConvolverNode.buffer')
971 @DocsEditable() 762 @DocsEditable()
972 set buffer(AudioBuffer value) => _blink.BlinkConvolverNode.instance.buffer_Set ter_(unwrap_jso(this), unwrap_jso(value)); 763 void set buffer(AudioBuffer value) => _blink.BlinkConvolverNode.instance.buffe r_Setter_(unwrap_jso(this), unwrap_jso(value));
973 764
974 @DomName('ConvolverNode.normalize') 765 @DomName('ConvolverNode.normalize')
975 @DocsEditable() 766 @DocsEditable()
976 bool get normalize => _blink.BlinkConvolverNode.instance.normalize_Getter_(unw rap_jso(this)); 767 bool get normalize => _blink.BlinkConvolverNode.instance.normalize_Getter_(unw rap_jso(this));
977 768
978 @DomName('ConvolverNode.normalize') 769 @DomName('ConvolverNode.normalize')
979 @DocsEditable() 770 @DocsEditable()
980 set normalize(bool value) => _blink.BlinkConvolverNode.instance.normalize_Sett er_(unwrap_jso(this), value); 771 void set normalize(bool value) => _blink.BlinkConvolverNode.instance.normalize _Setter_(unwrap_jso(this), value);
981 772
982 } 773 }
983 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 774 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
984 // for details. All rights reserved. Use of this source code is governed by a 775 // for details. All rights reserved. Use of this source code is governed by a
985 // BSD-style license that can be found in the LICENSE file. 776 // BSD-style license that can be found in the LICENSE file.
986 777
987 // WARNING: Do not edit - generated code. 778 // WARNING: Do not edit - generated code.
988 779
989 780
990 @DocsEditable() 781 @DocsEditable()
991 @DomName('DelayNode') 782 @DomName('DelayNode')
992 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#DelayNo de 783 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#DelayNo de
993 @Experimental() 784 @Experimental()
994 class DelayNode extends AudioNode { 785 class DelayNode extends AudioNode {
995 // To suppress missing implicit constructor warnings. 786 // To suppress missing implicit constructor warnings.
996 factory DelayNode._() { throw new UnsupportedError("Not supported"); } 787 factory DelayNode._() { throw new UnsupportedError("Not supported"); }
997 788
998
999 static DelayNode internalCreateDelayNode() {
1000 return new DelayNode._internalWrap();
1001 }
1002
1003 factory DelayNode._internalWrap() {
1004 return new DelayNode.internal_();
1005 }
1006
1007 DelayNode.internal_() : super.internal_();
1008
1009
1010 @DomName('DelayNode.delayTime') 789 @DomName('DelayNode.delayTime')
1011 @DocsEditable() 790 @DocsEditable()
1012 AudioParam get delayTime => wrap_jso(_blink.BlinkDelayNode.instance.delayTime_ Getter_(unwrap_jso(this))); 791 AudioParam get delayTime => wrap_jso(_blink.BlinkDelayNode.instance.delayTime_ Getter_(unwrap_jso(this)));
1013 792
1014 } 793 }
1015 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 794 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1016 // for details. All rights reserved. Use of this source code is governed by a 795 // for details. All rights reserved. Use of this source code is governed by a
1017 // BSD-style license that can be found in the LICENSE file. 796 // BSD-style license that can be found in the LICENSE file.
1018 797
1019 // WARNING: Do not edit - generated code. 798 // WARNING: Do not edit - generated code.
1020 799
1021 800
1022 @DocsEditable() 801 @DocsEditable()
1023 @DomName('DynamicsCompressorNode') 802 @DomName('DynamicsCompressorNode')
1024 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Dynamic sCompressorNode 803 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Dynamic sCompressorNode
1025 @Experimental() 804 @Experimental()
1026 class DynamicsCompressorNode extends AudioNode { 805 class DynamicsCompressorNode extends AudioNode {
1027 // To suppress missing implicit constructor warnings. 806 // To suppress missing implicit constructor warnings.
1028 factory DynamicsCompressorNode._() { throw new UnsupportedError("Not supported "); } 807 factory DynamicsCompressorNode._() { throw new UnsupportedError("Not supported "); }
1029 808
1030
1031 static DynamicsCompressorNode internalCreateDynamicsCompressorNode() {
1032 return new DynamicsCompressorNode._internalWrap();
1033 }
1034
1035 factory DynamicsCompressorNode._internalWrap() {
1036 return new DynamicsCompressorNode.internal_();
1037 }
1038
1039 DynamicsCompressorNode.internal_() : super.internal_();
1040
1041
1042 @DomName('DynamicsCompressorNode.attack') 809 @DomName('DynamicsCompressorNode.attack')
1043 @DocsEditable() 810 @DocsEditable()
1044 AudioParam get attack => wrap_jso(_blink.BlinkDynamicsCompressorNode.instance. attack_Getter_(unwrap_jso(this))); 811 AudioParam get attack => wrap_jso(_blink.BlinkDynamicsCompressorNode.instance. attack_Getter_(unwrap_jso(this)));
1045 812
1046 @DomName('DynamicsCompressorNode.knee') 813 @DomName('DynamicsCompressorNode.knee')
1047 @DocsEditable() 814 @DocsEditable()
1048 AudioParam get knee => wrap_jso(_blink.BlinkDynamicsCompressorNode.instance.kn ee_Getter_(unwrap_jso(this))); 815 AudioParam get knee => wrap_jso(_blink.BlinkDynamicsCompressorNode.instance.kn ee_Getter_(unwrap_jso(this)));
1049 816
1050 @DomName('DynamicsCompressorNode.ratio') 817 @DomName('DynamicsCompressorNode.ratio')
1051 @DocsEditable() 818 @DocsEditable()
(...skipping 20 matching lines...) Expand all
1072 839
1073 840
1074 @DocsEditable() 841 @DocsEditable()
1075 @DomName('GainNode') 842 @DomName('GainNode')
1076 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#GainNod e 843 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#GainNod e
1077 @Experimental() 844 @Experimental()
1078 class GainNode extends AudioNode { 845 class GainNode extends AudioNode {
1079 // To suppress missing implicit constructor warnings. 846 // To suppress missing implicit constructor warnings.
1080 factory GainNode._() { throw new UnsupportedError("Not supported"); } 847 factory GainNode._() { throw new UnsupportedError("Not supported"); }
1081 848
1082
1083 static GainNode internalCreateGainNode() {
1084 return new GainNode._internalWrap();
1085 }
1086
1087 factory GainNode._internalWrap() {
1088 return new GainNode.internal_();
1089 }
1090
1091 GainNode.internal_() : super.internal_();
1092
1093
1094 @DomName('GainNode.gain') 849 @DomName('GainNode.gain')
1095 @DocsEditable() 850 @DocsEditable()
1096 AudioParam get gain => wrap_jso(_blink.BlinkGainNode.instance.gain_Getter_(unw rap_jso(this))); 851 AudioParam get gain => wrap_jso(_blink.BlinkGainNode.instance.gain_Getter_(unw rap_jso(this)));
1097 852
1098 } 853 }
1099 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 854 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1100 // for details. All rights reserved. Use of this source code is governed by a 855 // for details. All rights reserved. Use of this source code is governed by a
1101 // BSD-style license that can be found in the LICENSE file. 856 // BSD-style license that can be found in the LICENSE file.
1102 857
1103 // WARNING: Do not edit - generated code. 858 // WARNING: Do not edit - generated code.
1104 859
1105 860
1106 @DocsEditable() 861 @DocsEditable()
1107 @DomName('MediaElementAudioSourceNode') 862 @DomName('MediaElementAudioSourceNode')
1108 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#MediaEl ementAudioSourceNode 863 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#MediaEl ementAudioSourceNode
1109 @Experimental() 864 @Experimental()
1110 class MediaElementAudioSourceNode extends AudioSourceNode { 865 class MediaElementAudioSourceNode extends AudioSourceNode {
1111 // To suppress missing implicit constructor warnings. 866 // To suppress missing implicit constructor warnings.
1112 factory MediaElementAudioSourceNode._() { throw new UnsupportedError("Not supp orted"); } 867 factory MediaElementAudioSourceNode._() { throw new UnsupportedError("Not supp orted"); }
1113 868
1114
1115 static MediaElementAudioSourceNode internalCreateMediaElementAudioSourceNode() {
1116 return new MediaElementAudioSourceNode._internalWrap();
1117 }
1118
1119 factory MediaElementAudioSourceNode._internalWrap() {
1120 return new MediaElementAudioSourceNode.internal_();
1121 }
1122
1123 MediaElementAudioSourceNode.internal_() : super.internal_();
1124
1125
1126 @DomName('MediaElementAudioSourceNode.mediaElement') 869 @DomName('MediaElementAudioSourceNode.mediaElement')
1127 @DocsEditable() 870 @DocsEditable()
1128 @Experimental() // non-standard 871 @Experimental() // non-standard
1129 MediaElement get mediaElement => wrap_jso(_blink.BlinkMediaElementAudioSourceN ode.instance.mediaElement_Getter_(unwrap_jso(this))); 872 MediaElement get mediaElement => wrap_jso(_blink.BlinkMediaElementAudioSourceN ode.instance.mediaElement_Getter_(unwrap_jso(this)));
1130 873
1131 } 874 }
1132 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 875 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1133 // for details. All rights reserved. Use of this source code is governed by a 876 // for details. All rights reserved. Use of this source code is governed by a
1134 // BSD-style license that can be found in the LICENSE file. 877 // BSD-style license that can be found in the LICENSE file.
1135 878
1136 // WARNING: Do not edit - generated code. 879 // WARNING: Do not edit - generated code.
1137 880
1138 881
1139 @DocsEditable() 882 @DocsEditable()
1140 @DomName('MediaStreamAudioDestinationNode') 883 @DomName('MediaStreamAudioDestinationNode')
1141 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#MediaSt reamAudioDestinationNode 884 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#MediaSt reamAudioDestinationNode
1142 @Experimental() 885 @Experimental()
1143 class MediaStreamAudioDestinationNode extends AudioNode { 886 class MediaStreamAudioDestinationNode extends AudioNode {
1144 // To suppress missing implicit constructor warnings. 887 // To suppress missing implicit constructor warnings.
1145 factory MediaStreamAudioDestinationNode._() { throw new UnsupportedError("Not supported"); } 888 factory MediaStreamAudioDestinationNode._() { throw new UnsupportedError("Not supported"); }
1146 889
1147
1148 static MediaStreamAudioDestinationNode internalCreateMediaStreamAudioDestinati onNode() {
1149 return new MediaStreamAudioDestinationNode._internalWrap();
1150 }
1151
1152 factory MediaStreamAudioDestinationNode._internalWrap() {
1153 return new MediaStreamAudioDestinationNode.internal_();
1154 }
1155
1156 MediaStreamAudioDestinationNode.internal_() : super.internal_();
1157
1158
1159 @DomName('MediaStreamAudioDestinationNode.stream') 890 @DomName('MediaStreamAudioDestinationNode.stream')
1160 @DocsEditable() 891 @DocsEditable()
1161 MediaStream get stream => wrap_jso(_blink.BlinkMediaStreamAudioDestinationNode .instance.stream_Getter_(unwrap_jso(this))); 892 MediaStream get stream => wrap_jso(_blink.BlinkMediaStreamAudioDestinationNode .instance.stream_Getter_(unwrap_jso(this)));
1162 893
1163 } 894 }
1164 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 895 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1165 // for details. All rights reserved. Use of this source code is governed by a 896 // for details. All rights reserved. Use of this source code is governed by a
1166 // BSD-style license that can be found in the LICENSE file. 897 // BSD-style license that can be found in the LICENSE file.
1167 898
1168 // WARNING: Do not edit - generated code. 899 // WARNING: Do not edit - generated code.
1169 900
1170 901
1171 @DocsEditable() 902 @DocsEditable()
1172 @DomName('MediaStreamAudioSourceNode') 903 @DomName('MediaStreamAudioSourceNode')
1173 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#MediaSt reamAudioSourceNode 904 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#MediaSt reamAudioSourceNode
1174 @Experimental() 905 @Experimental()
1175 class MediaStreamAudioSourceNode extends AudioSourceNode { 906 class MediaStreamAudioSourceNode extends AudioSourceNode {
1176 // To suppress missing implicit constructor warnings. 907 // To suppress missing implicit constructor warnings.
1177 factory MediaStreamAudioSourceNode._() { throw new UnsupportedError("Not suppo rted"); } 908 factory MediaStreamAudioSourceNode._() { throw new UnsupportedError("Not suppo rted"); }
1178 909
1179
1180 static MediaStreamAudioSourceNode internalCreateMediaStreamAudioSourceNode() {
1181 return new MediaStreamAudioSourceNode._internalWrap();
1182 }
1183
1184 factory MediaStreamAudioSourceNode._internalWrap() {
1185 return new MediaStreamAudioSourceNode.internal_();
1186 }
1187
1188 MediaStreamAudioSourceNode.internal_() : super.internal_();
1189
1190
1191 @DomName('MediaStreamAudioSourceNode.mediaStream') 910 @DomName('MediaStreamAudioSourceNode.mediaStream')
1192 @DocsEditable() 911 @DocsEditable()
1193 MediaStream get mediaStream => wrap_jso(_blink.BlinkMediaStreamAudioSourceNode .instance.mediaStream_Getter_(unwrap_jso(this))); 912 MediaStream get mediaStream => wrap_jso(_blink.BlinkMediaStreamAudioSourceNode .instance.mediaStream_Getter_(unwrap_jso(this)));
1194 913
1195 } 914 }
1196 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 915 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1197 // for details. All rights reserved. Use of this source code is governed by a 916 // for details. All rights reserved. Use of this source code is governed by a
1198 // BSD-style license that can be found in the LICENSE file. 917 // BSD-style license that can be found in the LICENSE file.
1199 918
1200 // WARNING: Do not edit - generated code. 919 // WARNING: Do not edit - generated code.
1201 920
1202 921
1203 @DocsEditable() 922 @DocsEditable()
1204 @DomName('OfflineAudioCompletionEvent') 923 @DomName('OfflineAudioCompletionEvent')
1205 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Offline AudioCompletionEvent-section 924 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Offline AudioCompletionEvent-section
1206 @Experimental() 925 @Experimental()
1207 class OfflineAudioCompletionEvent extends Event { 926 class OfflineAudioCompletionEvent extends Event {
1208 // To suppress missing implicit constructor warnings. 927 // To suppress missing implicit constructor warnings.
1209 factory OfflineAudioCompletionEvent._() { throw new UnsupportedError("Not supp orted"); } 928 factory OfflineAudioCompletionEvent._() { throw new UnsupportedError("Not supp orted"); }
1210 929
1211
1212 static OfflineAudioCompletionEvent internalCreateOfflineAudioCompletionEvent() {
1213 return new OfflineAudioCompletionEvent._internalWrap();
1214 }
1215
1216 factory OfflineAudioCompletionEvent._internalWrap() {
1217 return new OfflineAudioCompletionEvent.internal_();
1218 }
1219
1220 OfflineAudioCompletionEvent.internal_() : super.internal_();
1221
1222
1223 @DomName('OfflineAudioCompletionEvent.renderedBuffer') 930 @DomName('OfflineAudioCompletionEvent.renderedBuffer')
1224 @DocsEditable() 931 @DocsEditable()
1225 AudioBuffer get renderedBuffer => wrap_jso(_blink.BlinkOfflineAudioCompletionE vent.instance.renderedBuffer_Getter_(unwrap_jso(this))); 932 AudioBuffer get renderedBuffer => wrap_jso(_blink.BlinkOfflineAudioCompletionE vent.instance.renderedBuffer_Getter_(unwrap_jso(this)));
1226 933
1227 } 934 }
1228 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 935 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1229 // for details. All rights reserved. Use of this source code is governed by a 936 // for details. All rights reserved. Use of this source code is governed by a
1230 // BSD-style license that can be found in the LICENSE file. 937 // BSD-style license that can be found in the LICENSE file.
1231 938
1232 // WARNING: Do not edit - generated code. 939 // WARNING: Do not edit - generated code.
1233 940
1234 941
1235 @DocsEditable() 942 @DocsEditable()
1236 @DomName('OfflineAudioContext') 943 @DomName('OfflineAudioContext')
1237 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Offline AudioContext-section 944 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Offline AudioContext-section
1238 @Experimental() 945 @Experimental()
1239 class OfflineAudioContext extends AudioContext { 946 class OfflineAudioContext extends AudioContext {
1240 // To suppress missing implicit constructor warnings. 947 // To suppress missing implicit constructor warnings.
1241 factory OfflineAudioContext._() { throw new UnsupportedError("Not supported"); } 948 factory OfflineAudioContext._() { throw new UnsupportedError("Not supported"); }
1242 949
1243 @DomName('OfflineAudioContext.OfflineAudioContext') 950 @DomName('OfflineAudioContext.OfflineAudioContext')
1244 @DocsEditable() 951 @DocsEditable()
1245 factory OfflineAudioContext(int numberOfChannels, int numberOfFrames, num samp leRate) { 952 factory OfflineAudioContext(int numberOfChannels, int numberOfFrames, num samp leRate) {
1246 return wrap_jso(_blink.BlinkOfflineAudioContext.instance.constructorCallback _3_(numberOfChannels, numberOfFrames, sampleRate)); 953 return _blink.BlinkOfflineAudioContext.instance.constructorCallback_3_(numbe rOfChannels, numberOfFrames, sampleRate);
1247 } 954 }
1248 955
1249
1250 static OfflineAudioContext internalCreateOfflineAudioContext() {
1251 return new OfflineAudioContext._internalWrap();
1252 }
1253
1254 factory OfflineAudioContext._internalWrap() {
1255 return new OfflineAudioContext.internal_();
1256 }
1257
1258 OfflineAudioContext.internal_() : super.internal_();
1259
1260
1261 } 956 }
1262 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 957 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1263 // for details. All rights reserved. Use of this source code is governed by a 958 // for details. All rights reserved. Use of this source code is governed by a
1264 // BSD-style license that can be found in the LICENSE file. 959 // BSD-style license that can be found in the LICENSE file.
1265 960
1266 // WARNING: Do not edit - generated code. 961 // WARNING: Do not edit - generated code.
1267 962
1268 963
1269 @DocsEditable() 964 @DocsEditable()
1270 @DomName('OscillatorNode') 965 @DomName('OscillatorNode')
1271 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#dfn-Osc illatorNode 966 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#dfn-Osc illatorNode
1272 @Experimental() 967 @Experimental()
1273 class OscillatorNode extends AudioSourceNode { 968 class OscillatorNode extends AudioSourceNode {
1274 // To suppress missing implicit constructor warnings. 969 // To suppress missing implicit constructor warnings.
1275 factory OscillatorNode._() { throw new UnsupportedError("Not supported"); } 970 factory OscillatorNode._() { throw new UnsupportedError("Not supported"); }
1276 971
1277 /** 972 /**
1278 * Static factory designed to expose `ended` events to event 973 * Static factory designed to expose `ended` events to event
1279 * handlers that are not necessarily instances of [OscillatorNode]. 974 * handlers that are not necessarily instances of [OscillatorNode].
1280 * 975 *
1281 * See [EventStreamProvider] for usage information. 976 * See [EventStreamProvider] for usage information.
1282 */ 977 */
1283 @DomName('OscillatorNode.endedEvent') 978 @DomName('OscillatorNode.endedEvent')
1284 @DocsEditable() 979 @DocsEditable()
1285 @Experimental() // untriaged 980 @Experimental() // untriaged
1286 static const EventStreamProvider<Event> endedEvent = const EventStreamProvider <Event>('ended'); 981 static const EventStreamProvider<Event> endedEvent = const EventStreamProvider <Event>('ended');
1287 982
1288
1289 static OscillatorNode internalCreateOscillatorNode() {
1290 return new OscillatorNode._internalWrap();
1291 }
1292
1293 factory OscillatorNode._internalWrap() {
1294 return new OscillatorNode.internal_();
1295 }
1296
1297 OscillatorNode.internal_() : super.internal_();
1298
1299
1300 @DomName('OscillatorNode.detune') 983 @DomName('OscillatorNode.detune')
1301 @DocsEditable() 984 @DocsEditable()
1302 AudioParam get detune => wrap_jso(_blink.BlinkOscillatorNode.instance.detune_G etter_(unwrap_jso(this))); 985 AudioParam get detune => wrap_jso(_blink.BlinkOscillatorNode.instance.detune_G etter_(unwrap_jso(this)));
1303 986
1304 @DomName('OscillatorNode.frequency') 987 @DomName('OscillatorNode.frequency')
1305 @DocsEditable() 988 @DocsEditable()
1306 AudioParam get frequency => wrap_jso(_blink.BlinkOscillatorNode.instance.frequ ency_Getter_(unwrap_jso(this))); 989 AudioParam get frequency => wrap_jso(_blink.BlinkOscillatorNode.instance.frequ ency_Getter_(unwrap_jso(this)));
1307 990
1308 @DomName('OscillatorNode.type') 991 @DomName('OscillatorNode.type')
1309 @DocsEditable() 992 @DocsEditable()
1310 String get type => _blink.BlinkOscillatorNode.instance.type_Getter_(unwrap_jso (this)); 993 String get type => _blink.BlinkOscillatorNode.instance.type_Getter_(unwrap_jso (this));
1311 994
1312 @DomName('OscillatorNode.type') 995 @DomName('OscillatorNode.type')
1313 @DocsEditable() 996 @DocsEditable()
1314 set type(String value) => _blink.BlinkOscillatorNode.instance.type_Setter_(unw rap_jso(this), value); 997 void set type(String value) => _blink.BlinkOscillatorNode.instance.type_Setter _(unwrap_jso(this), value);
1315 998
1316 @DomName('OscillatorNode.noteOff') 999 @DomName('OscillatorNode.noteOff')
1317 @DocsEditable() 1000 @DocsEditable()
1318 void noteOff(num when) => _blink.BlinkOscillatorNode.instance.noteOff_Callback _1_(unwrap_jso(this), when); 1001 void noteOff(num when) => _blink.BlinkOscillatorNode.instance.noteOff_Callback _1_(unwrap_jso(this), when);
1319 1002
1320 @DomName('OscillatorNode.noteOn') 1003 @DomName('OscillatorNode.noteOn')
1321 @DocsEditable() 1004 @DocsEditable()
1322 void noteOn(num when) => _blink.BlinkOscillatorNode.instance.noteOn_Callback_1 _(unwrap_jso(this), when); 1005 void noteOn(num when) => _blink.BlinkOscillatorNode.instance.noteOn_Callback_1 _(unwrap_jso(this), when);
1323 1006
1324 @DomName('OscillatorNode.setPeriodicWave') 1007 @DomName('OscillatorNode.setPeriodicWave')
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
1359 1042
1360 1043
1361 @DocsEditable() 1044 @DocsEditable()
1362 @DomName('PannerNode') 1045 @DomName('PannerNode')
1363 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#PannerN ode 1046 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#PannerN ode
1364 @Experimental() 1047 @Experimental()
1365 class PannerNode extends AudioNode { 1048 class PannerNode extends AudioNode {
1366 // To suppress missing implicit constructor warnings. 1049 // To suppress missing implicit constructor warnings.
1367 factory PannerNode._() { throw new UnsupportedError("Not supported"); } 1050 factory PannerNode._() { throw new UnsupportedError("Not supported"); }
1368 1051
1369
1370 static PannerNode internalCreatePannerNode() {
1371 return new PannerNode._internalWrap();
1372 }
1373
1374 factory PannerNode._internalWrap() {
1375 return new PannerNode.internal_();
1376 }
1377
1378 PannerNode.internal_() : super.internal_();
1379
1380
1381 @DomName('PannerNode.coneInnerAngle') 1052 @DomName('PannerNode.coneInnerAngle')
1382 @DocsEditable() 1053 @DocsEditable()
1383 num get coneInnerAngle => _blink.BlinkPannerNode.instance.coneInnerAngle_Gette r_(unwrap_jso(this)); 1054 num get coneInnerAngle => _blink.BlinkPannerNode.instance.coneInnerAngle_Gette r_(unwrap_jso(this));
1384 1055
1385 @DomName('PannerNode.coneInnerAngle') 1056 @DomName('PannerNode.coneInnerAngle')
1386 @DocsEditable() 1057 @DocsEditable()
1387 set coneInnerAngle(num value) => _blink.BlinkPannerNode.instance.coneInnerAngl e_Setter_(unwrap_jso(this), value); 1058 void set coneInnerAngle(num value) => _blink.BlinkPannerNode.instance.coneInne rAngle_Setter_(unwrap_jso(this), value);
1388 1059
1389 @DomName('PannerNode.coneOuterAngle') 1060 @DomName('PannerNode.coneOuterAngle')
1390 @DocsEditable() 1061 @DocsEditable()
1391 num get coneOuterAngle => _blink.BlinkPannerNode.instance.coneOuterAngle_Gette r_(unwrap_jso(this)); 1062 num get coneOuterAngle => _blink.BlinkPannerNode.instance.coneOuterAngle_Gette r_(unwrap_jso(this));
1392 1063
1393 @DomName('PannerNode.coneOuterAngle') 1064 @DomName('PannerNode.coneOuterAngle')
1394 @DocsEditable() 1065 @DocsEditable()
1395 set coneOuterAngle(num value) => _blink.BlinkPannerNode.instance.coneOuterAngl e_Setter_(unwrap_jso(this), value); 1066 void set coneOuterAngle(num value) => _blink.BlinkPannerNode.instance.coneOute rAngle_Setter_(unwrap_jso(this), value);
1396 1067
1397 @DomName('PannerNode.coneOuterGain') 1068 @DomName('PannerNode.coneOuterGain')
1398 @DocsEditable() 1069 @DocsEditable()
1399 num get coneOuterGain => _blink.BlinkPannerNode.instance.coneOuterGain_Getter_ (unwrap_jso(this)); 1070 num get coneOuterGain => _blink.BlinkPannerNode.instance.coneOuterGain_Getter_ (unwrap_jso(this));
1400 1071
1401 @DomName('PannerNode.coneOuterGain') 1072 @DomName('PannerNode.coneOuterGain')
1402 @DocsEditable() 1073 @DocsEditable()
1403 set coneOuterGain(num value) => _blink.BlinkPannerNode.instance.coneOuterGain_ Setter_(unwrap_jso(this), value); 1074 void set coneOuterGain(num value) => _blink.BlinkPannerNode.instance.coneOuter Gain_Setter_(unwrap_jso(this), value);
1404 1075
1405 @DomName('PannerNode.distanceModel') 1076 @DomName('PannerNode.distanceModel')
1406 @DocsEditable() 1077 @DocsEditable()
1407 String get distanceModel => _blink.BlinkPannerNode.instance.distanceModel_Gett er_(unwrap_jso(this)); 1078 String get distanceModel => _blink.BlinkPannerNode.instance.distanceModel_Gett er_(unwrap_jso(this));
1408 1079
1409 @DomName('PannerNode.distanceModel') 1080 @DomName('PannerNode.distanceModel')
1410 @DocsEditable() 1081 @DocsEditable()
1411 set distanceModel(String value) => _blink.BlinkPannerNode.instance.distanceMod el_Setter_(unwrap_jso(this), value); 1082 void set distanceModel(String value) => _blink.BlinkPannerNode.instance.distan ceModel_Setter_(unwrap_jso(this), value);
1412 1083
1413 @DomName('PannerNode.maxDistance') 1084 @DomName('PannerNode.maxDistance')
1414 @DocsEditable() 1085 @DocsEditable()
1415 num get maxDistance => _blink.BlinkPannerNode.instance.maxDistance_Getter_(unw rap_jso(this)); 1086 num get maxDistance => _blink.BlinkPannerNode.instance.maxDistance_Getter_(unw rap_jso(this));
1416 1087
1417 @DomName('PannerNode.maxDistance') 1088 @DomName('PannerNode.maxDistance')
1418 @DocsEditable() 1089 @DocsEditable()
1419 set maxDistance(num value) => _blink.BlinkPannerNode.instance.maxDistance_Sett er_(unwrap_jso(this), value); 1090 void set maxDistance(num value) => _blink.BlinkPannerNode.instance.maxDistance _Setter_(unwrap_jso(this), value);
1420 1091
1421 @DomName('PannerNode.panningModel') 1092 @DomName('PannerNode.panningModel')
1422 @DocsEditable() 1093 @DocsEditable()
1423 String get panningModel => _blink.BlinkPannerNode.instance.panningModel_Getter _(unwrap_jso(this)); 1094 String get panningModel => _blink.BlinkPannerNode.instance.panningModel_Getter _(unwrap_jso(this));
1424 1095
1425 @DomName('PannerNode.panningModel') 1096 @DomName('PannerNode.panningModel')
1426 @DocsEditable() 1097 @DocsEditable()
1427 set panningModel(String value) => _blink.BlinkPannerNode.instance.panningModel _Setter_(unwrap_jso(this), value); 1098 void set panningModel(String value) => _blink.BlinkPannerNode.instance.panning Model_Setter_(unwrap_jso(this), value);
1428 1099
1429 @DomName('PannerNode.refDistance') 1100 @DomName('PannerNode.refDistance')
1430 @DocsEditable() 1101 @DocsEditable()
1431 num get refDistance => _blink.BlinkPannerNode.instance.refDistance_Getter_(unw rap_jso(this)); 1102 num get refDistance => _blink.BlinkPannerNode.instance.refDistance_Getter_(unw rap_jso(this));
1432 1103
1433 @DomName('PannerNode.refDistance') 1104 @DomName('PannerNode.refDistance')
1434 @DocsEditable() 1105 @DocsEditable()
1435 set refDistance(num value) => _blink.BlinkPannerNode.instance.refDistance_Sett er_(unwrap_jso(this), value); 1106 void set refDistance(num value) => _blink.BlinkPannerNode.instance.refDistance _Setter_(unwrap_jso(this), value);
1436 1107
1437 @DomName('PannerNode.rolloffFactor') 1108 @DomName('PannerNode.rolloffFactor')
1438 @DocsEditable() 1109 @DocsEditable()
1439 num get rolloffFactor => _blink.BlinkPannerNode.instance.rolloffFactor_Getter_ (unwrap_jso(this)); 1110 num get rolloffFactor => _blink.BlinkPannerNode.instance.rolloffFactor_Getter_ (unwrap_jso(this));
1440 1111
1441 @DomName('PannerNode.rolloffFactor') 1112 @DomName('PannerNode.rolloffFactor')
1442 @DocsEditable() 1113 @DocsEditable()
1443 set rolloffFactor(num value) => _blink.BlinkPannerNode.instance.rolloffFactor_ Setter_(unwrap_jso(this), value); 1114 void set rolloffFactor(num value) => _blink.BlinkPannerNode.instance.rolloffFa ctor_Setter_(unwrap_jso(this), value);
1444 1115
1445 @DomName('PannerNode.setOrientation') 1116 @DomName('PannerNode.setOrientation')
1446 @DocsEditable() 1117 @DocsEditable()
1447 void setOrientation(num x, num y, num z) => _blink.BlinkPannerNode.instance.se tOrientation_Callback_3_(unwrap_jso(this), x, y, z); 1118 void setOrientation(num x, num y, num z) => _blink.BlinkPannerNode.instance.se tOrientation_Callback_3_(unwrap_jso(this), x, y, z);
1448 1119
1449 @DomName('PannerNode.setPosition') 1120 @DomName('PannerNode.setPosition')
1450 @DocsEditable() 1121 @DocsEditable()
1451 void setPosition(num x, num y, num z) => _blink.BlinkPannerNode.instance.setPo sition_Callback_3_(unwrap_jso(this), x, y, z); 1122 void setPosition(num x, num y, num z) => _blink.BlinkPannerNode.instance.setPo sition_Callback_3_(unwrap_jso(this), x, y, z);
1452 1123
1453 @DomName('PannerNode.setVelocity') 1124 @DomName('PannerNode.setVelocity')
1454 @DocsEditable() 1125 @DocsEditable()
1455 void setVelocity(num x, num y, num z) => _blink.BlinkPannerNode.instance.setVe locity_Callback_3_(unwrap_jso(this), x, y, z); 1126 void setVelocity(num x, num y, num z) => _blink.BlinkPannerNode.instance.setVe locity_Callback_3_(unwrap_jso(this), x, y, z);
1456 1127
1457 } 1128 }
1458 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1129 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1459 // for details. All rights reserved. Use of this source code is governed by a 1130 // for details. All rights reserved. Use of this source code is governed by a
1460 // BSD-style license that can be found in the LICENSE file. 1131 // BSD-style license that can be found in the LICENSE file.
1461 1132
1462 // WARNING: Do not edit - generated code. 1133 // WARNING: Do not edit - generated code.
1463 1134
1464 1135
1465 @DocsEditable() 1136 @DocsEditable()
1466 @DomName('PeriodicWave') 1137 @DomName('PeriodicWave')
1467 @Experimental() // untriaged 1138 @Experimental() // untriaged
1468 class PeriodicWave extends NativeFieldWrapperClass2 { 1139 class PeriodicWave extends NativeFieldWrapperClass2 {
1469 // To suppress missing implicit constructor warnings. 1140 // To suppress missing implicit constructor warnings.
1470 factory PeriodicWave._() { throw new UnsupportedError("Not supported"); } 1141 factory PeriodicWave._() { throw new UnsupportedError("Not supported"); }
1471 1142
1472 static PeriodicWave internalCreatePeriodicWave() {
1473 return new PeriodicWave._internalWrap();
1474 }
1475
1476 js.JsObject blink_jsObject;
1477
1478 factory PeriodicWave._internalWrap() {
1479 return new PeriodicWave.internal_();
1480 }
1481
1482 PeriodicWave.internal_() { }
1483
1484 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical( this, other);
1485 int get hashCode => unwrap_jso(this).hashCode;
1486
1487 } 1143 }
1488 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1144 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1489 // for details. All rights reserved. Use of this source code is governed by a 1145 // for details. All rights reserved. Use of this source code is governed by a
1490 // BSD-style license that can be found in the LICENSE file. 1146 // BSD-style license that can be found in the LICENSE file.
1491 1147
1492 // WARNING: Do not edit - generated code. 1148 // WARNING: Do not edit - generated code.
1493 1149
1494 1150
1495 @DocsEditable() 1151 @DocsEditable()
1496 @DomName('ScriptProcessorNode') 1152 @DomName('ScriptProcessorNode')
1497 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#ScriptP rocessorNode 1153 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#ScriptP rocessorNode
1498 @Experimental() 1154 @Experimental()
1499 class ScriptProcessorNode extends AudioNode { 1155 class ScriptProcessorNode extends AudioNode {
1500 // To suppress missing implicit constructor warnings. 1156 // To suppress missing implicit constructor warnings.
1501 factory ScriptProcessorNode._() { throw new UnsupportedError("Not supported"); } 1157 factory ScriptProcessorNode._() { throw new UnsupportedError("Not supported"); }
1502 1158
1503 /** 1159 /**
1504 * Static factory designed to expose `audioprocess` events to event 1160 * Static factory designed to expose `audioprocess` events to event
1505 * handlers that are not necessarily instances of [ScriptProcessorNode]. 1161 * handlers that are not necessarily instances of [ScriptProcessorNode].
1506 * 1162 *
1507 * See [EventStreamProvider] for usage information. 1163 * See [EventStreamProvider] for usage information.
1508 */ 1164 */
1509 @DomName('ScriptProcessorNode.audioprocessEvent') 1165 @DomName('ScriptProcessorNode.audioprocessEvent')
1510 @DocsEditable() 1166 @DocsEditable()
1511 @Experimental() // untriaged 1167 @Experimental() // untriaged
1512 static const EventStreamProvider<AudioProcessingEvent> audioProcessEvent = con st EventStreamProvider<AudioProcessingEvent>('audioprocess'); 1168 static const EventStreamProvider<AudioProcessingEvent> audioProcessEvent = con st EventStreamProvider<AudioProcessingEvent>('audioprocess');
1513 1169
1514
1515 static ScriptProcessorNode internalCreateScriptProcessorNode() {
1516 return new ScriptProcessorNode._internalWrap();
1517 }
1518
1519 factory ScriptProcessorNode._internalWrap() {
1520 return new ScriptProcessorNode.internal_();
1521 }
1522
1523 ScriptProcessorNode.internal_() : super.internal_();
1524
1525
1526 @DomName('ScriptProcessorNode.bufferSize') 1170 @DomName('ScriptProcessorNode.bufferSize')
1527 @DocsEditable() 1171 @DocsEditable()
1528 int get bufferSize => _blink.BlinkScriptProcessorNode.instance.bufferSize_Gett er_(unwrap_jso(this)); 1172 int get bufferSize => _blink.BlinkScriptProcessorNode.instance.bufferSize_Gett er_(unwrap_jso(this));
1529 1173
1530 @DomName('ScriptProcessorNode.setEventListener') 1174 @DomName('ScriptProcessorNode.setEventListener')
1531 @DocsEditable() 1175 @DocsEditable()
1532 @Experimental() // untriaged 1176 @Experimental() // untriaged
1533 void setEventListener(EventListener eventListener) => _blink.BlinkScriptProces sorNode.instance.setEventListener_Callback_1_(unwrap_jso(this), unwrap_jso((even t) => eventListener(wrap_jso(event)))); 1177 void setEventListener(EventListener eventListener) => _blink.BlinkScriptProces sorNode.instance.setEventListener_Callback_1_(unwrap_jso(this), unwrap_jso(event Listener));
1534 1178
1535 /// Stream of `audioprocess` events handled by this [ScriptProcessorNode]. 1179 /// Stream of `audioprocess` events handled by this [ScriptProcessorNode].
1536 /** 1180 /**
1537 * Get a Stream that fires events when AudioProcessingEvents occur. 1181 * Get a Stream that fires events when AudioProcessingEvents occur.
1538 * This particular stream is special in that it only allows one listener to a 1182 * This particular stream is special in that it only allows one listener to a
1539 * given stream. Converting the returned Stream [asBroadcast] will likely ruin 1183 * given stream. Converting the returned Stream [asBroadcast] will likely ruin
1540 * the soft-real-time properties which which these events are fired and can 1184 * the soft-real-time properties which which these events are fired and can
1541 * be processed. 1185 * be processed.
1542 */ 1186 */
1543 @DomName('ScriptProcessorNode.onaudioprocess') 1187 @DomName('ScriptProcessorNode.onaudioprocess')
(...skipping 10 matching lines...) Expand all
1554 1198
1555 1199
1556 @DocsEditable() 1200 @DocsEditable()
1557 @DomName('WaveShaperNode') 1201 @DomName('WaveShaperNode')
1558 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#dfn-Wav eShaperNode 1202 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#dfn-Wav eShaperNode
1559 @Experimental() 1203 @Experimental()
1560 class WaveShaperNode extends AudioNode { 1204 class WaveShaperNode extends AudioNode {
1561 // To suppress missing implicit constructor warnings. 1205 // To suppress missing implicit constructor warnings.
1562 factory WaveShaperNode._() { throw new UnsupportedError("Not supported"); } 1206 factory WaveShaperNode._() { throw new UnsupportedError("Not supported"); }
1563 1207
1564
1565 static WaveShaperNode internalCreateWaveShaperNode() {
1566 return new WaveShaperNode._internalWrap();
1567 }
1568
1569 factory WaveShaperNode._internalWrap() {
1570 return new WaveShaperNode.internal_();
1571 }
1572
1573 WaveShaperNode.internal_() : super.internal_();
1574
1575
1576 @DomName('WaveShaperNode.curve') 1208 @DomName('WaveShaperNode.curve')
1577 @DocsEditable() 1209 @DocsEditable()
1578 Float32List get curve => _blink.BlinkWaveShaperNode.instance.curve_Getter_(unw rap_jso(this)); 1210 Float32List get curve => wrap_jso(_blink.BlinkWaveShaperNode.instance.curve_Ge tter_(unwrap_jso(this)));
1579 1211
1580 @DomName('WaveShaperNode.curve') 1212 @DomName('WaveShaperNode.curve')
1581 @DocsEditable() 1213 @DocsEditable()
1582 set curve(Float32List value) => _blink.BlinkWaveShaperNode.instance.curve_Sett er_(unwrap_jso(this), unwrap_jso(value)); 1214 void set curve(Float32List value) => _blink.BlinkWaveShaperNode.instance.curve _Setter_(unwrap_jso(this), unwrap_jso(value));
1583 1215
1584 @DomName('WaveShaperNode.oversample') 1216 @DomName('WaveShaperNode.oversample')
1585 @DocsEditable() 1217 @DocsEditable()
1586 String get oversample => _blink.BlinkWaveShaperNode.instance.oversample_Getter _(unwrap_jso(this)); 1218 String get oversample => _blink.BlinkWaveShaperNode.instance.oversample_Getter _(unwrap_jso(this));
1587 1219
1588 @DomName('WaveShaperNode.oversample') 1220 @DomName('WaveShaperNode.oversample')
1589 @DocsEditable() 1221 @DocsEditable()
1590 set oversample(String value) => _blink.BlinkWaveShaperNode.instance.oversample _Setter_(unwrap_jso(this), value); 1222 void set oversample(String value) => _blink.BlinkWaveShaperNode.instance.overs ample_Setter_(unwrap_jso(this), value);
1591 1223
1592 } 1224 }
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