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

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

Issue 1234273003: - Update _blink library using dart:js instead of native keyword (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Enable --gen-interop Created 5 years, 5 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';
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 'OfflineAudioCompletionEvent': () => OfflineAudioCompletionEvent, 42 'OfflineAudioCompletionEvent': () => OfflineAudioCompletionEvent,
43 'OfflineAudioContext': () => OfflineAudioContext, 43 'OfflineAudioContext': () => OfflineAudioContext,
44 'OscillatorNode': () => OscillatorNode, 44 'OscillatorNode': () => OscillatorNode,
45 'PannerNode': () => PannerNode, 45 'PannerNode': () => PannerNode,
46 'PeriodicWave': () => PeriodicWave, 46 'PeriodicWave': () => PeriodicWave,
47 'ScriptProcessorNode': () => ScriptProcessorNode, 47 'ScriptProcessorNode': () => ScriptProcessorNode,
48 'WaveShaperNode': () => WaveShaperNode, 48 'WaveShaperNode': () => WaveShaperNode,
49 49
50 }; 50 };
51 51
52 // FIXME: Can we make this private?
53 final web_audioBlinkFunctionMap = {
54 'AnalyserNode': () => AnalyserNode.internalCreateAnalyserNode,
55 'AudioBuffer': () => AudioBuffer.internalCreateAudioBuffer,
56 'AudioBufferSourceNode': () => AudioBufferSourceNode.internalCreateAudioBuffer SourceNode,
57 'AudioContext': () => AudioContext.internalCreateAudioContext,
58 'AudioDestinationNode': () => AudioDestinationNode.internalCreateAudioDestinat ionNode,
59 'AudioListener': () => AudioListener.internalCreateAudioListener,
60 'AudioNode': () => AudioNode.internalCreateAudioNode,
61 'AudioParam': () => AudioParam.internalCreateAudioParam,
62 'AudioProcessingEvent': () => AudioProcessingEvent.internalCreateAudioProcessi ngEvent,
63 'AudioSourceNode': () => AudioSourceNode.internalCreateAudioSourceNode,
64 'BiquadFilterNode': () => BiquadFilterNode.internalCreateBiquadFilterNode,
65 'ChannelMergerNode': () => ChannelMergerNode.internalCreateChannelMergerNode,
66 'ChannelSplitterNode': () => ChannelSplitterNode.internalCreateChannelSplitter Node,
67 'ConvolverNode': () => ConvolverNode.internalCreateConvolverNode,
68 'DelayNode': () => DelayNode.internalCreateDelayNode,
69 'DynamicsCompressorNode': () => DynamicsCompressorNode.internalCreateDynamicsC ompressorNode,
70 'GainNode': () => GainNode.internalCreateGainNode,
71 'MediaElementAudioSourceNode': () => MediaElementAudioSourceNode.internalCreat eMediaElementAudioSourceNode,
72 'MediaStreamAudioDestinationNode': () => MediaStreamAudioDestinationNode.inter nalCreateMediaStreamAudioDestinationNode,
73 'MediaStreamAudioSourceNode': () => MediaStreamAudioSourceNode.internalCreateM ediaStreamAudioSourceNode,
74 'OfflineAudioCompletionEvent': () => OfflineAudioCompletionEvent.internalCreat eOfflineAudioCompletionEvent,
75 'OfflineAudioContext': () => OfflineAudioContext.internalCreateOfflineAudioCon text,
76 'OscillatorNode': () => OscillatorNode.internalCreateOscillatorNode,
77 'PannerNode': () => PannerNode.internalCreatePannerNode,
78 'PeriodicWave': () => PeriodicWave.internalCreatePeriodicWave,
79 'ScriptProcessorNode': () => ScriptProcessorNode.internalCreateScriptProcessor Node,
80 'WaveShaperNode': () => WaveShaperNode.internalCreateWaveShaperNode,
81
82 };
52 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 83 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
53 // for details. All rights reserved. Use of this source code is governed by a 84 // for details. All rights reserved. Use of this source code is governed by a
54 // BSD-style license that can be found in the LICENSE file. 85 // BSD-style license that can be found in the LICENSE file.
55 86
56 // WARNING: Do not edit - generated code. 87 // WARNING: Do not edit - generated code.
57 88
58 89
59 @DocsEditable() 90 @DocsEditable()
60 @DomName('AnalyserNode') 91 @DomName('AnalyserNode')
61 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Analyse rNode 92 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Analyse rNode
62 @Experimental() 93 @Experimental()
63 class AnalyserNode extends AudioNode { 94 class AnalyserNode extends AudioNode {
64 // To suppress missing implicit constructor warnings. 95 // To suppress missing implicit constructor warnings.
65 factory AnalyserNode._() { throw new UnsupportedError("Not supported"); } 96 factory AnalyserNode._() { throw new UnsupportedError("Not supported"); }
66 97
98
99 static AnalyserNode internalCreateAnalyserNode() {
100 return new AnalyserNode._internalWrap();
101 }
102
103 factory AnalyserNode._internalWrap() {
104 return new AnalyserNode._internal();
105 }
106
107 AnalyserNode._internal() : super._internal();
108
109
67 @DomName('AnalyserNode.fftSize') 110 @DomName('AnalyserNode.fftSize')
68 @DocsEditable() 111 @DocsEditable()
69 int get fftSize => _blink.BlinkAnalyserNode.instance.fftSize_Getter_(unwrap_js o(this)); 112 int get fftSize => _blink.BlinkAnalyserNode.instance.fftSize_Getter_(unwrap_js o(this));
70 113
71 @DomName('AnalyserNode.fftSize') 114 @DomName('AnalyserNode.fftSize')
72 @DocsEditable() 115 @DocsEditable()
73 void set fftSize(int value) => _blink.BlinkAnalyserNode.instance.fftSize_Sette r_(unwrap_jso(this), value); 116 void set fftSize(int value) => _blink.BlinkAnalyserNode.instance.fftSize_Sette r_(unwrap_jso(this), value);
74 117
75 @DomName('AnalyserNode.frequencyBinCount') 118 @DomName('AnalyserNode.frequencyBinCount')
76 @DocsEditable() 119 @DocsEditable()
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 169
127 170
128 @DocsEditable() 171 @DocsEditable()
129 @DomName('AudioBuffer') 172 @DomName('AudioBuffer')
130 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioBu ffer-section 173 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioBu ffer-section
131 @Experimental() 174 @Experimental()
132 class AudioBuffer extends NativeFieldWrapperClass2 { 175 class AudioBuffer extends NativeFieldWrapperClass2 {
133 // To suppress missing implicit constructor warnings. 176 // To suppress missing implicit constructor warnings.
134 factory AudioBuffer._() { throw new UnsupportedError("Not supported"); } 177 factory AudioBuffer._() { throw new UnsupportedError("Not supported"); }
135 178
179 static AudioBuffer internalCreateAudioBuffer() {
180 return new AudioBuffer._internalWrap();
181 }
182
183 JsObject blink_jsObject = null;
184
185 factory AudioBuffer._internalWrap() {
186 return new AudioBuffer._internal();
187 }
188
189 AudioBuffer._internal() { }
190
191 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical( this, other);
192
136 @DomName('AudioBuffer.duration') 193 @DomName('AudioBuffer.duration')
137 @DocsEditable() 194 @DocsEditable()
138 double get duration => _blink.BlinkAudioBuffer.instance.duration_Getter_(unwra p_jso(this)); 195 double get duration => _blink.BlinkAudioBuffer.instance.duration_Getter_(unwra p_jso(this));
139 196
140 @DomName('AudioBuffer.length') 197 @DomName('AudioBuffer.length')
141 @DocsEditable() 198 @DocsEditable()
142 int get length => _blink.BlinkAudioBuffer.instance.length_Getter_(unwrap_jso(t his)); 199 int get length => _blink.BlinkAudioBuffer.instance.length_Getter_(unwrap_jso(t his));
143 200
144 @DomName('AudioBuffer.numberOfChannels') 201 @DomName('AudioBuffer.numberOfChannels')
145 @DocsEditable() 202 @DocsEditable()
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
186 * Static factory designed to expose `ended` events to event 243 * Static factory designed to expose `ended` events to event
187 * handlers that are not necessarily instances of [AudioBufferSourceNode]. 244 * handlers that are not necessarily instances of [AudioBufferSourceNode].
188 * 245 *
189 * See [EventStreamProvider] for usage information. 246 * See [EventStreamProvider] for usage information.
190 */ 247 */
191 @DomName('AudioBufferSourceNode.endedEvent') 248 @DomName('AudioBufferSourceNode.endedEvent')
192 @DocsEditable() 249 @DocsEditable()
193 @Experimental() // untriaged 250 @Experimental() // untriaged
194 static const EventStreamProvider<Event> endedEvent = const EventStreamProvider <Event>('ended'); 251 static const EventStreamProvider<Event> endedEvent = const EventStreamProvider <Event>('ended');
195 252
253
254 static AudioBufferSourceNode internalCreateAudioBufferSourceNode() {
255 return new AudioBufferSourceNode._internalWrap();
256 }
257
258 factory AudioBufferSourceNode._internalWrap() {
259 return new AudioBufferSourceNode._internal();
260 }
261
262 AudioBufferSourceNode._internal() : super._internal();
263
264
196 @DomName('AudioBufferSourceNode.buffer') 265 @DomName('AudioBufferSourceNode.buffer')
197 @DocsEditable() 266 @DocsEditable()
198 AudioBuffer get buffer => wrap_jso(_blink.BlinkAudioBufferSourceNode.instance. buffer_Getter_(unwrap_jso(this))); 267 AudioBuffer get buffer => wrap_jso(_blink.BlinkAudioBufferSourceNode.instance. buffer_Getter_(unwrap_jso(this)));
199 268
200 @DomName('AudioBufferSourceNode.buffer') 269 @DomName('AudioBufferSourceNode.buffer')
201 @DocsEditable() 270 @DocsEditable()
202 void set buffer(AudioBuffer value) => _blink.BlinkAudioBufferSourceNode.instan ce.buffer_Setter_(unwrap_jso(this), unwrap_jso(value)); 271 void set buffer(AudioBuffer value) => _blink.BlinkAudioBufferSourceNode.instan ce.buffer_Setter_(unwrap_jso(this), unwrap_jso(value));
203 272
204 @DomName('AudioBufferSourceNode.loop') 273 @DomName('AudioBufferSourceNode.loop')
205 @DocsEditable() 274 @DocsEditable()
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
285 @DomName('AudioContext.completeEvent') 354 @DomName('AudioContext.completeEvent')
286 @DocsEditable() 355 @DocsEditable()
287 static const EventStreamProvider<Event> completeEvent = const EventStreamProvi der<Event>('complete'); 356 static const EventStreamProvider<Event> completeEvent = const EventStreamProvi der<Event>('complete');
288 357
289 @DomName('AudioContext.AudioContext') 358 @DomName('AudioContext.AudioContext')
290 @DocsEditable() 359 @DocsEditable()
291 factory AudioContext() { 360 factory AudioContext() {
292 return _blink.BlinkAudioContext.instance.constructorCallback_0_(); 361 return _blink.BlinkAudioContext.instance.constructorCallback_0_();
293 } 362 }
294 363
364
365 static AudioContext internalCreateAudioContext() {
366 return new AudioContext._internalWrap();
367 }
368
369 factory AudioContext._internalWrap() {
370 return new AudioContext._internal();
371 }
372
373 AudioContext._internal() : super._internal();
374
375
295 /// Checks if this type is supported on the current platform. 376 /// Checks if this type is supported on the current platform.
296 static bool get supported => true; 377 static bool get supported => true;
297 378
298 @DomName('AudioContext.currentTime') 379 @DomName('AudioContext.currentTime')
299 @DocsEditable() 380 @DocsEditable()
300 double get currentTime => _blink.BlinkAudioContext.instance.currentTime_Getter _(unwrap_jso(this)); 381 double get currentTime => _blink.BlinkAudioContext.instance.currentTime_Getter _(unwrap_jso(this));
301 382
302 @DomName('AudioContext.destination') 383 @DomName('AudioContext.destination')
303 @DocsEditable() 384 @DocsEditable()
304 AudioDestinationNode get destination => wrap_jso(_blink.BlinkAudioContext.inst ance.destination_Getter_(unwrap_jso(this))); 385 AudioDestinationNode get destination => wrap_jso(_blink.BlinkAudioContext.inst ance.destination_Getter_(unwrap_jso(this)));
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
438 519
439 520
440 @DocsEditable() 521 @DocsEditable()
441 @DomName('AudioDestinationNode') 522 @DomName('AudioDestinationNode')
442 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioDe stinationNode-section 523 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioDe stinationNode-section
443 @Experimental() 524 @Experimental()
444 class AudioDestinationNode extends AudioNode { 525 class AudioDestinationNode extends AudioNode {
445 // To suppress missing implicit constructor warnings. 526 // To suppress missing implicit constructor warnings.
446 factory AudioDestinationNode._() { throw new UnsupportedError("Not supported") ; } 527 factory AudioDestinationNode._() { throw new UnsupportedError("Not supported") ; }
447 528
529
530 static AudioDestinationNode internalCreateAudioDestinationNode() {
531 return new AudioDestinationNode._internalWrap();
532 }
533
534 factory AudioDestinationNode._internalWrap() {
535 return new AudioDestinationNode._internal();
536 }
537
538 AudioDestinationNode._internal() : super._internal();
539
540
448 @DomName('AudioDestinationNode.maxChannelCount') 541 @DomName('AudioDestinationNode.maxChannelCount')
449 @DocsEditable() 542 @DocsEditable()
450 int get maxChannelCount => _blink.BlinkAudioDestinationNode.instance.maxChanne lCount_Getter_(unwrap_jso(this)); 543 int get maxChannelCount => _blink.BlinkAudioDestinationNode.instance.maxChanne lCount_Getter_(unwrap_jso(this));
451 544
452 } 545 }
453 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 546 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
454 // for details. All rights reserved. Use of this source code is governed by a 547 // for details. All rights reserved. Use of this source code is governed by a
455 // BSD-style license that can be found in the LICENSE file. 548 // BSD-style license that can be found in the LICENSE file.
456 549
457 // WARNING: Do not edit - generated code. 550 // WARNING: Do not edit - generated code.
458 551
459 552
460 @DocsEditable() 553 @DocsEditable()
461 @DomName('AudioListener') 554 @DomName('AudioListener')
462 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioLi stener-section 555 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioLi stener-section
463 @Experimental() 556 @Experimental()
464 class AudioListener extends NativeFieldWrapperClass2 { 557 class AudioListener extends NativeFieldWrapperClass2 {
465 // To suppress missing implicit constructor warnings. 558 // To suppress missing implicit constructor warnings.
466 factory AudioListener._() { throw new UnsupportedError("Not supported"); } 559 factory AudioListener._() { throw new UnsupportedError("Not supported"); }
467 560
561 static AudioListener internalCreateAudioListener() {
562 return new AudioListener._internalWrap();
563 }
564
565 JsObject blink_jsObject = null;
566
567 factory AudioListener._internalWrap() {
568 return new AudioListener._internal();
569 }
570
571 AudioListener._internal() { }
572
573 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical( this, other);
574
468 @DomName('AudioListener.dopplerFactor') 575 @DomName('AudioListener.dopplerFactor')
469 @DocsEditable() 576 @DocsEditable()
470 num get dopplerFactor => _blink.BlinkAudioListener.instance.dopplerFactor_Gett er_(unwrap_jso(this)); 577 num get dopplerFactor => _blink.BlinkAudioListener.instance.dopplerFactor_Gett er_(unwrap_jso(this));
471 578
472 @DomName('AudioListener.dopplerFactor') 579 @DomName('AudioListener.dopplerFactor')
473 @DocsEditable() 580 @DocsEditable()
474 void set dopplerFactor(num value) => _blink.BlinkAudioListener.instance.dopple rFactor_Setter_(unwrap_jso(this), value); 581 void set dopplerFactor(num value) => _blink.BlinkAudioListener.instance.dopple rFactor_Setter_(unwrap_jso(this), value);
475 582
476 @DomName('AudioListener.speedOfSound') 583 @DomName('AudioListener.speedOfSound')
477 @DocsEditable() 584 @DocsEditable()
(...skipping 21 matching lines...) Expand all
499 // BSD-style license that can be found in the LICENSE file. 606 // BSD-style license that can be found in the LICENSE file.
500 607
501 608
502 @DomName('AudioNode') 609 @DomName('AudioNode')
503 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioNo de-section 610 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioNo de-section
504 @Experimental() 611 @Experimental()
505 class AudioNode extends EventTarget { 612 class AudioNode extends EventTarget {
506 // To suppress missing implicit constructor warnings. 613 // To suppress missing implicit constructor warnings.
507 factory AudioNode._() { throw new UnsupportedError("Not supported"); } 614 factory AudioNode._() { throw new UnsupportedError("Not supported"); }
508 615
616
617 static AudioNode internalCreateAudioNode() {
618 return new AudioNode._internalWrap();
619 }
620
621 factory AudioNode._internalWrap() {
622 return new AudioNode._internal();
623 }
624
625 AudioNode._internal() : super._internal();
626
627
509 @DomName('AudioNode.channelCount') 628 @DomName('AudioNode.channelCount')
510 @DocsEditable() 629 @DocsEditable()
511 int get channelCount => _blink.BlinkAudioNode.instance.channelCount_Getter_(un wrap_jso(this)); 630 int get channelCount => _blink.BlinkAudioNode.instance.channelCount_Getter_(un wrap_jso(this));
512 631
513 @DomName('AudioNode.channelCount') 632 @DomName('AudioNode.channelCount')
514 @DocsEditable() 633 @DocsEditable()
515 void set channelCount(int value) => _blink.BlinkAudioNode.instance.channelCoun t_Setter_(unwrap_jso(this), value); 634 void set channelCount(int value) => _blink.BlinkAudioNode.instance.channelCoun t_Setter_(unwrap_jso(this), value);
516 635
517 @DomName('AudioNode.channelCountMode') 636 @DomName('AudioNode.channelCountMode')
518 @DocsEditable() 637 @DocsEditable()
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
574 693
575 694
576 @DocsEditable() 695 @DocsEditable()
577 @DomName('AudioParam') 696 @DomName('AudioParam')
578 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioPa ram 697 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioPa ram
579 @Experimental() 698 @Experimental()
580 class AudioParam extends NativeFieldWrapperClass2 { 699 class AudioParam extends NativeFieldWrapperClass2 {
581 // To suppress missing implicit constructor warnings. 700 // To suppress missing implicit constructor warnings.
582 factory AudioParam._() { throw new UnsupportedError("Not supported"); } 701 factory AudioParam._() { throw new UnsupportedError("Not supported"); }
583 702
703 static AudioParam internalCreateAudioParam() {
704 return new AudioParam._internalWrap();
705 }
706
707 JsObject blink_jsObject = null;
708
709 factory AudioParam._internalWrap() {
710 return new AudioParam._internal();
711 }
712
713 AudioParam._internal() { }
714
715 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical( this, other);
716
584 @DomName('AudioParam.defaultValue') 717 @DomName('AudioParam.defaultValue')
585 @DocsEditable() 718 @DocsEditable()
586 double get defaultValue => _blink.BlinkAudioParam.instance.defaultValue_Getter _(unwrap_jso(this)); 719 double get defaultValue => _blink.BlinkAudioParam.instance.defaultValue_Getter _(unwrap_jso(this));
587 720
588 @DomName('AudioParam.value') 721 @DomName('AudioParam.value')
589 @DocsEditable() 722 @DocsEditable()
590 num get value => _blink.BlinkAudioParam.instance.value_Getter_(unwrap_jso(this )); 723 num get value => _blink.BlinkAudioParam.instance.value_Getter_(unwrap_jso(this ));
591 724
592 @DomName('AudioParam.value') 725 @DomName('AudioParam.value')
593 @DocsEditable() 726 @DocsEditable()
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
626 759
627 760
628 @DocsEditable() 761 @DocsEditable()
629 @DomName('AudioProcessingEvent') 762 @DomName('AudioProcessingEvent')
630 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioPr ocessingEvent-section 763 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioPr ocessingEvent-section
631 @Experimental() 764 @Experimental()
632 class AudioProcessingEvent extends Event { 765 class AudioProcessingEvent extends Event {
633 // To suppress missing implicit constructor warnings. 766 // To suppress missing implicit constructor warnings.
634 factory AudioProcessingEvent._() { throw new UnsupportedError("Not supported") ; } 767 factory AudioProcessingEvent._() { throw new UnsupportedError("Not supported") ; }
635 768
769
770 static AudioProcessingEvent internalCreateAudioProcessingEvent() {
771 return new AudioProcessingEvent._internalWrap();
772 }
773
774 factory AudioProcessingEvent._internalWrap() {
775 return new AudioProcessingEvent._internal();
776 }
777
778 AudioProcessingEvent._internal() : super._internal();
779
780
636 @DomName('AudioProcessingEvent.inputBuffer') 781 @DomName('AudioProcessingEvent.inputBuffer')
637 @DocsEditable() 782 @DocsEditable()
638 AudioBuffer get inputBuffer => wrap_jso(_blink.BlinkAudioProcessingEvent.insta nce.inputBuffer_Getter_(unwrap_jso(this))); 783 AudioBuffer get inputBuffer => wrap_jso(_blink.BlinkAudioProcessingEvent.insta nce.inputBuffer_Getter_(unwrap_jso(this)));
639 784
640 @DomName('AudioProcessingEvent.outputBuffer') 785 @DomName('AudioProcessingEvent.outputBuffer')
641 @DocsEditable() 786 @DocsEditable()
642 AudioBuffer get outputBuffer => wrap_jso(_blink.BlinkAudioProcessingEvent.inst ance.outputBuffer_Getter_(unwrap_jso(this))); 787 AudioBuffer get outputBuffer => wrap_jso(_blink.BlinkAudioProcessingEvent.inst ance.outputBuffer_Getter_(unwrap_jso(this)));
643 788
644 @DomName('AudioProcessingEvent.playbackTime') 789 @DomName('AudioProcessingEvent.playbackTime')
645 @DocsEditable() 790 @DocsEditable()
646 @Experimental() // untriaged 791 @Experimental() // untriaged
647 double get playbackTime => _blink.BlinkAudioProcessingEvent.instance.playbackT ime_Getter_(unwrap_jso(this)); 792 double get playbackTime => _blink.BlinkAudioProcessingEvent.instance.playbackT ime_Getter_(unwrap_jso(this));
648 793
649 } 794 }
650 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 795 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
651 // for details. All rights reserved. Use of this source code is governed by a 796 // for details. All rights reserved. Use of this source code is governed by a
652 // BSD-style license that can be found in the LICENSE file. 797 // BSD-style license that can be found in the LICENSE file.
653 798
654 // WARNING: Do not edit - generated code. 799 // WARNING: Do not edit - generated code.
655 800
656 801
657 @DocsEditable() 802 @DocsEditable()
658 @DomName('AudioSourceNode') 803 @DomName('AudioSourceNode')
659 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html 804 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html
660 @Experimental() 805 @Experimental()
661 class AudioSourceNode extends AudioNode { 806 class AudioSourceNode extends AudioNode {
662 // To suppress missing implicit constructor warnings. 807 // To suppress missing implicit constructor warnings.
663 factory AudioSourceNode._() { throw new UnsupportedError("Not supported"); } 808 factory AudioSourceNode._() { throw new UnsupportedError("Not supported"); }
664 809
810
811 static AudioSourceNode internalCreateAudioSourceNode() {
812 return new AudioSourceNode._internalWrap();
813 }
814
815 factory AudioSourceNode._internalWrap() {
816 return new AudioSourceNode._internal();
817 }
818
819 AudioSourceNode._internal() : super._internal();
820
821
665 } 822 }
666 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 823 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
667 // for details. All rights reserved. Use of this source code is governed by a 824 // for details. All rights reserved. Use of this source code is governed by a
668 // BSD-style license that can be found in the LICENSE file. 825 // BSD-style license that can be found in the LICENSE file.
669 826
670 // WARNING: Do not edit - generated code. 827 // WARNING: Do not edit - generated code.
671 828
672 829
673 @DocsEditable() 830 @DocsEditable()
674 @DomName('BiquadFilterNode') 831 @DomName('BiquadFilterNode')
675 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#BiquadF ilterNode-section 832 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#BiquadF ilterNode-section
676 @Experimental() 833 @Experimental()
677 class BiquadFilterNode extends AudioNode { 834 class BiquadFilterNode extends AudioNode {
678 // To suppress missing implicit constructor warnings. 835 // To suppress missing implicit constructor warnings.
679 factory BiquadFilterNode._() { throw new UnsupportedError("Not supported"); } 836 factory BiquadFilterNode._() { throw new UnsupportedError("Not supported"); }
680 837
838
839 static BiquadFilterNode internalCreateBiquadFilterNode() {
840 return new BiquadFilterNode._internalWrap();
841 }
842
843 factory BiquadFilterNode._internalWrap() {
844 return new BiquadFilterNode._internal();
845 }
846
847 BiquadFilterNode._internal() : super._internal();
848
849
681 @DomName('BiquadFilterNode.Q') 850 @DomName('BiquadFilterNode.Q')
682 @DocsEditable() 851 @DocsEditable()
683 AudioParam get Q => wrap_jso(_blink.BlinkBiquadFilterNode.instance.Q_Getter_(u nwrap_jso(this))); 852 AudioParam get Q => wrap_jso(_blink.BlinkBiquadFilterNode.instance.Q_Getter_(u nwrap_jso(this)));
684 853
685 @DomName('BiquadFilterNode.detune') 854 @DomName('BiquadFilterNode.detune')
686 @DocsEditable() 855 @DocsEditable()
687 AudioParam get detune => wrap_jso(_blink.BlinkBiquadFilterNode.instance.detune _Getter_(unwrap_jso(this))); 856 AudioParam get detune => wrap_jso(_blink.BlinkBiquadFilterNode.instance.detune _Getter_(unwrap_jso(this)));
688 857
689 @DomName('BiquadFilterNode.frequency') 858 @DomName('BiquadFilterNode.frequency')
690 @DocsEditable() 859 @DocsEditable()
(...skipping 24 matching lines...) Expand all
715 884
716 885
717 @DocsEditable() 886 @DocsEditable()
718 @DomName('ChannelMergerNode') 887 @DomName('ChannelMergerNode')
719 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Channel MergerNode-section 888 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Channel MergerNode-section
720 @Experimental() 889 @Experimental()
721 class ChannelMergerNode extends AudioNode { 890 class ChannelMergerNode extends AudioNode {
722 // To suppress missing implicit constructor warnings. 891 // To suppress missing implicit constructor warnings.
723 factory ChannelMergerNode._() { throw new UnsupportedError("Not supported"); } 892 factory ChannelMergerNode._() { throw new UnsupportedError("Not supported"); }
724 893
894
895 static ChannelMergerNode internalCreateChannelMergerNode() {
896 return new ChannelMergerNode._internalWrap();
897 }
898
899 factory ChannelMergerNode._internalWrap() {
900 return new ChannelMergerNode._internal();
901 }
902
903 ChannelMergerNode._internal() : super._internal();
904
905
725 } 906 }
726 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 907 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
727 // for details. All rights reserved. Use of this source code is governed by a 908 // for details. All rights reserved. Use of this source code is governed by a
728 // BSD-style license that can be found in the LICENSE file. 909 // BSD-style license that can be found in the LICENSE file.
729 910
730 // WARNING: Do not edit - generated code. 911 // WARNING: Do not edit - generated code.
731 912
732 913
733 @DocsEditable() 914 @DocsEditable()
734 @DomName('ChannelSplitterNode') 915 @DomName('ChannelSplitterNode')
735 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Channel SplitterNode-section 916 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Channel SplitterNode-section
736 @Experimental() 917 @Experimental()
737 class ChannelSplitterNode extends AudioNode { 918 class ChannelSplitterNode extends AudioNode {
738 // To suppress missing implicit constructor warnings. 919 // To suppress missing implicit constructor warnings.
739 factory ChannelSplitterNode._() { throw new UnsupportedError("Not supported"); } 920 factory ChannelSplitterNode._() { throw new UnsupportedError("Not supported"); }
740 921
922
923 static ChannelSplitterNode internalCreateChannelSplitterNode() {
924 return new ChannelSplitterNode._internalWrap();
925 }
926
927 factory ChannelSplitterNode._internalWrap() {
928 return new ChannelSplitterNode._internal();
929 }
930
931 ChannelSplitterNode._internal() : super._internal();
932
933
741 } 934 }
742 // 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
743 // 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
744 // BSD-style license that can be found in the LICENSE file. 937 // BSD-style license that can be found in the LICENSE file.
745 938
746 // WARNING: Do not edit - generated code. 939 // WARNING: Do not edit - generated code.
747 940
748 941
749 @DocsEditable() 942 @DocsEditable()
750 @DomName('ConvolverNode') 943 @DomName('ConvolverNode')
751 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Convolv erNode 944 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Convolv erNode
752 @Experimental() 945 @Experimental()
753 class ConvolverNode extends AudioNode { 946 class ConvolverNode extends AudioNode {
754 // To suppress missing implicit constructor warnings. 947 // To suppress missing implicit constructor warnings.
755 factory ConvolverNode._() { throw new UnsupportedError("Not supported"); } 948 factory ConvolverNode._() { throw new UnsupportedError("Not supported"); }
756 949
950
951 static ConvolverNode internalCreateConvolverNode() {
952 return new ConvolverNode._internalWrap();
953 }
954
955 factory ConvolverNode._internalWrap() {
956 return new ConvolverNode._internal();
957 }
958
959 ConvolverNode._internal() : super._internal();
960
961
757 @DomName('ConvolverNode.buffer') 962 @DomName('ConvolverNode.buffer')
758 @DocsEditable() 963 @DocsEditable()
759 AudioBuffer get buffer => wrap_jso(_blink.BlinkConvolverNode.instance.buffer_G etter_(unwrap_jso(this))); 964 AudioBuffer get buffer => wrap_jso(_blink.BlinkConvolverNode.instance.buffer_G etter_(unwrap_jso(this)));
760 965
761 @DomName('ConvolverNode.buffer') 966 @DomName('ConvolverNode.buffer')
762 @DocsEditable() 967 @DocsEditable()
763 void set buffer(AudioBuffer value) => _blink.BlinkConvolverNode.instance.buffe r_Setter_(unwrap_jso(this), unwrap_jso(value)); 968 void set buffer(AudioBuffer value) => _blink.BlinkConvolverNode.instance.buffe r_Setter_(unwrap_jso(this), unwrap_jso(value));
764 969
765 @DomName('ConvolverNode.normalize') 970 @DomName('ConvolverNode.normalize')
766 @DocsEditable() 971 @DocsEditable()
(...skipping 12 matching lines...) Expand all
779 984
780 985
781 @DocsEditable() 986 @DocsEditable()
782 @DomName('DelayNode') 987 @DomName('DelayNode')
783 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#DelayNo de 988 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#DelayNo de
784 @Experimental() 989 @Experimental()
785 class DelayNode extends AudioNode { 990 class DelayNode extends AudioNode {
786 // To suppress missing implicit constructor warnings. 991 // To suppress missing implicit constructor warnings.
787 factory DelayNode._() { throw new UnsupportedError("Not supported"); } 992 factory DelayNode._() { throw new UnsupportedError("Not supported"); }
788 993
994
995 static DelayNode internalCreateDelayNode() {
996 return new DelayNode._internalWrap();
997 }
998
999 factory DelayNode._internalWrap() {
1000 return new DelayNode._internal();
1001 }
1002
1003 DelayNode._internal() : super._internal();
1004
1005
789 @DomName('DelayNode.delayTime') 1006 @DomName('DelayNode.delayTime')
790 @DocsEditable() 1007 @DocsEditable()
791 AudioParam get delayTime => wrap_jso(_blink.BlinkDelayNode.instance.delayTime_ Getter_(unwrap_jso(this))); 1008 AudioParam get delayTime => wrap_jso(_blink.BlinkDelayNode.instance.delayTime_ Getter_(unwrap_jso(this)));
792 1009
793 } 1010 }
794 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1011 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
795 // for details. All rights reserved. Use of this source code is governed by a 1012 // for details. All rights reserved. Use of this source code is governed by a
796 // BSD-style license that can be found in the LICENSE file. 1013 // BSD-style license that can be found in the LICENSE file.
797 1014
798 // WARNING: Do not edit - generated code. 1015 // WARNING: Do not edit - generated code.
799 1016
800 1017
801 @DocsEditable() 1018 @DocsEditable()
802 @DomName('DynamicsCompressorNode') 1019 @DomName('DynamicsCompressorNode')
803 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Dynamic sCompressorNode 1020 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Dynamic sCompressorNode
804 @Experimental() 1021 @Experimental()
805 class DynamicsCompressorNode extends AudioNode { 1022 class DynamicsCompressorNode extends AudioNode {
806 // To suppress missing implicit constructor warnings. 1023 // To suppress missing implicit constructor warnings.
807 factory DynamicsCompressorNode._() { throw new UnsupportedError("Not supported "); } 1024 factory DynamicsCompressorNode._() { throw new UnsupportedError("Not supported "); }
808 1025
1026
1027 static DynamicsCompressorNode internalCreateDynamicsCompressorNode() {
1028 return new DynamicsCompressorNode._internalWrap();
1029 }
1030
1031 factory DynamicsCompressorNode._internalWrap() {
1032 return new DynamicsCompressorNode._internal();
1033 }
1034
1035 DynamicsCompressorNode._internal() : super._internal();
1036
1037
809 @DomName('DynamicsCompressorNode.attack') 1038 @DomName('DynamicsCompressorNode.attack')
810 @DocsEditable() 1039 @DocsEditable()
811 AudioParam get attack => wrap_jso(_blink.BlinkDynamicsCompressorNode.instance. attack_Getter_(unwrap_jso(this))); 1040 AudioParam get attack => wrap_jso(_blink.BlinkDynamicsCompressorNode.instance. attack_Getter_(unwrap_jso(this)));
812 1041
813 @DomName('DynamicsCompressorNode.knee') 1042 @DomName('DynamicsCompressorNode.knee')
814 @DocsEditable() 1043 @DocsEditable()
815 AudioParam get knee => wrap_jso(_blink.BlinkDynamicsCompressorNode.instance.kn ee_Getter_(unwrap_jso(this))); 1044 AudioParam get knee => wrap_jso(_blink.BlinkDynamicsCompressorNode.instance.kn ee_Getter_(unwrap_jso(this)));
816 1045
817 @DomName('DynamicsCompressorNode.ratio') 1046 @DomName('DynamicsCompressorNode.ratio')
818 @DocsEditable() 1047 @DocsEditable()
(...skipping 20 matching lines...) Expand all
839 1068
840 1069
841 @DocsEditable() 1070 @DocsEditable()
842 @DomName('GainNode') 1071 @DomName('GainNode')
843 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#GainNod e 1072 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#GainNod e
844 @Experimental() 1073 @Experimental()
845 class GainNode extends AudioNode { 1074 class GainNode extends AudioNode {
846 // To suppress missing implicit constructor warnings. 1075 // To suppress missing implicit constructor warnings.
847 factory GainNode._() { throw new UnsupportedError("Not supported"); } 1076 factory GainNode._() { throw new UnsupportedError("Not supported"); }
848 1077
1078
1079 static GainNode internalCreateGainNode() {
1080 return new GainNode._internalWrap();
1081 }
1082
1083 factory GainNode._internalWrap() {
1084 return new GainNode._internal();
1085 }
1086
1087 GainNode._internal() : super._internal();
1088
1089
849 @DomName('GainNode.gain') 1090 @DomName('GainNode.gain')
850 @DocsEditable() 1091 @DocsEditable()
851 AudioParam get gain => wrap_jso(_blink.BlinkGainNode.instance.gain_Getter_(unw rap_jso(this))); 1092 AudioParam get gain => wrap_jso(_blink.BlinkGainNode.instance.gain_Getter_(unw rap_jso(this)));
852 1093
853 } 1094 }
854 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1095 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
855 // for details. All rights reserved. Use of this source code is governed by a 1096 // for details. All rights reserved. Use of this source code is governed by a
856 // BSD-style license that can be found in the LICENSE file. 1097 // BSD-style license that can be found in the LICENSE file.
857 1098
858 // WARNING: Do not edit - generated code. 1099 // WARNING: Do not edit - generated code.
859 1100
860 1101
861 @DocsEditable() 1102 @DocsEditable()
862 @DomName('MediaElementAudioSourceNode') 1103 @DomName('MediaElementAudioSourceNode')
863 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#MediaEl ementAudioSourceNode 1104 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#MediaEl ementAudioSourceNode
864 @Experimental() 1105 @Experimental()
865 class MediaElementAudioSourceNode extends AudioSourceNode { 1106 class MediaElementAudioSourceNode extends AudioSourceNode {
866 // To suppress missing implicit constructor warnings. 1107 // To suppress missing implicit constructor warnings.
867 factory MediaElementAudioSourceNode._() { throw new UnsupportedError("Not supp orted"); } 1108 factory MediaElementAudioSourceNode._() { throw new UnsupportedError("Not supp orted"); }
868 1109
1110
1111 static MediaElementAudioSourceNode internalCreateMediaElementAudioSourceNode() {
1112 return new MediaElementAudioSourceNode._internalWrap();
1113 }
1114
1115 factory MediaElementAudioSourceNode._internalWrap() {
1116 return new MediaElementAudioSourceNode._internal();
1117 }
1118
1119 MediaElementAudioSourceNode._internal() : super._internal();
1120
1121
869 @DomName('MediaElementAudioSourceNode.mediaElement') 1122 @DomName('MediaElementAudioSourceNode.mediaElement')
870 @DocsEditable() 1123 @DocsEditable()
871 @Experimental() // non-standard 1124 @Experimental() // non-standard
872 MediaElement get mediaElement => wrap_jso(_blink.BlinkMediaElementAudioSourceN ode.instance.mediaElement_Getter_(unwrap_jso(this))); 1125 MediaElement get mediaElement => wrap_jso(_blink.BlinkMediaElementAudioSourceN ode.instance.mediaElement_Getter_(unwrap_jso(this)));
873 1126
874 } 1127 }
875 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1128 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
876 // for details. All rights reserved. Use of this source code is governed by a 1129 // for details. All rights reserved. Use of this source code is governed by a
877 // BSD-style license that can be found in the LICENSE file. 1130 // BSD-style license that can be found in the LICENSE file.
878 1131
879 // WARNING: Do not edit - generated code. 1132 // WARNING: Do not edit - generated code.
880 1133
881 1134
882 @DocsEditable() 1135 @DocsEditable()
883 @DomName('MediaStreamAudioDestinationNode') 1136 @DomName('MediaStreamAudioDestinationNode')
884 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#MediaSt reamAudioDestinationNode 1137 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#MediaSt reamAudioDestinationNode
885 @Experimental() 1138 @Experimental()
886 class MediaStreamAudioDestinationNode extends AudioNode { 1139 class MediaStreamAudioDestinationNode extends AudioNode {
887 // To suppress missing implicit constructor warnings. 1140 // To suppress missing implicit constructor warnings.
888 factory MediaStreamAudioDestinationNode._() { throw new UnsupportedError("Not supported"); } 1141 factory MediaStreamAudioDestinationNode._() { throw new UnsupportedError("Not supported"); }
889 1142
1143
1144 static MediaStreamAudioDestinationNode internalCreateMediaStreamAudioDestinati onNode() {
1145 return new MediaStreamAudioDestinationNode._internalWrap();
1146 }
1147
1148 factory MediaStreamAudioDestinationNode._internalWrap() {
1149 return new MediaStreamAudioDestinationNode._internal();
1150 }
1151
1152 MediaStreamAudioDestinationNode._internal() : super._internal();
1153
1154
890 @DomName('MediaStreamAudioDestinationNode.stream') 1155 @DomName('MediaStreamAudioDestinationNode.stream')
891 @DocsEditable() 1156 @DocsEditable()
892 MediaStream get stream => wrap_jso(_blink.BlinkMediaStreamAudioDestinationNode .instance.stream_Getter_(unwrap_jso(this))); 1157 MediaStream get stream => wrap_jso(_blink.BlinkMediaStreamAudioDestinationNode .instance.stream_Getter_(unwrap_jso(this)));
893 1158
894 } 1159 }
895 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1160 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
896 // for details. All rights reserved. Use of this source code is governed by a 1161 // for details. All rights reserved. Use of this source code is governed by a
897 // BSD-style license that can be found in the LICENSE file. 1162 // BSD-style license that can be found in the LICENSE file.
898 1163
899 // WARNING: Do not edit - generated code. 1164 // WARNING: Do not edit - generated code.
900 1165
901 1166
902 @DocsEditable() 1167 @DocsEditable()
903 @DomName('MediaStreamAudioSourceNode') 1168 @DomName('MediaStreamAudioSourceNode')
904 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#MediaSt reamAudioSourceNode 1169 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#MediaSt reamAudioSourceNode
905 @Experimental() 1170 @Experimental()
906 class MediaStreamAudioSourceNode extends AudioSourceNode { 1171 class MediaStreamAudioSourceNode extends AudioSourceNode {
907 // To suppress missing implicit constructor warnings. 1172 // To suppress missing implicit constructor warnings.
908 factory MediaStreamAudioSourceNode._() { throw new UnsupportedError("Not suppo rted"); } 1173 factory MediaStreamAudioSourceNode._() { throw new UnsupportedError("Not suppo rted"); }
909 1174
1175
1176 static MediaStreamAudioSourceNode internalCreateMediaStreamAudioSourceNode() {
1177 return new MediaStreamAudioSourceNode._internalWrap();
1178 }
1179
1180 factory MediaStreamAudioSourceNode._internalWrap() {
1181 return new MediaStreamAudioSourceNode._internal();
1182 }
1183
1184 MediaStreamAudioSourceNode._internal() : super._internal();
1185
1186
910 @DomName('MediaStreamAudioSourceNode.mediaStream') 1187 @DomName('MediaStreamAudioSourceNode.mediaStream')
911 @DocsEditable() 1188 @DocsEditable()
912 MediaStream get mediaStream => wrap_jso(_blink.BlinkMediaStreamAudioSourceNode .instance.mediaStream_Getter_(unwrap_jso(this))); 1189 MediaStream get mediaStream => wrap_jso(_blink.BlinkMediaStreamAudioSourceNode .instance.mediaStream_Getter_(unwrap_jso(this)));
913 1190
914 } 1191 }
915 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1192 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
916 // for details. All rights reserved. Use of this source code is governed by a 1193 // for details. All rights reserved. Use of this source code is governed by a
917 // BSD-style license that can be found in the LICENSE file. 1194 // BSD-style license that can be found in the LICENSE file.
918 1195
919 // WARNING: Do not edit - generated code. 1196 // WARNING: Do not edit - generated code.
920 1197
921 1198
922 @DocsEditable() 1199 @DocsEditable()
923 @DomName('OfflineAudioCompletionEvent') 1200 @DomName('OfflineAudioCompletionEvent')
924 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Offline AudioCompletionEvent-section 1201 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Offline AudioCompletionEvent-section
925 @Experimental() 1202 @Experimental()
926 class OfflineAudioCompletionEvent extends Event { 1203 class OfflineAudioCompletionEvent extends Event {
927 // To suppress missing implicit constructor warnings. 1204 // To suppress missing implicit constructor warnings.
928 factory OfflineAudioCompletionEvent._() { throw new UnsupportedError("Not supp orted"); } 1205 factory OfflineAudioCompletionEvent._() { throw new UnsupportedError("Not supp orted"); }
929 1206
1207
1208 static OfflineAudioCompletionEvent internalCreateOfflineAudioCompletionEvent() {
1209 return new OfflineAudioCompletionEvent._internalWrap();
1210 }
1211
1212 factory OfflineAudioCompletionEvent._internalWrap() {
1213 return new OfflineAudioCompletionEvent._internal();
1214 }
1215
1216 OfflineAudioCompletionEvent._internal() : super._internal();
1217
1218
930 @DomName('OfflineAudioCompletionEvent.renderedBuffer') 1219 @DomName('OfflineAudioCompletionEvent.renderedBuffer')
931 @DocsEditable() 1220 @DocsEditable()
932 AudioBuffer get renderedBuffer => wrap_jso(_blink.BlinkOfflineAudioCompletionE vent.instance.renderedBuffer_Getter_(unwrap_jso(this))); 1221 AudioBuffer get renderedBuffer => wrap_jso(_blink.BlinkOfflineAudioCompletionE vent.instance.renderedBuffer_Getter_(unwrap_jso(this)));
933 1222
934 } 1223 }
935 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1224 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
936 // for details. All rights reserved. Use of this source code is governed by a 1225 // for details. All rights reserved. Use of this source code is governed by a
937 // BSD-style license that can be found in the LICENSE file. 1226 // BSD-style license that can be found in the LICENSE file.
938 1227
939 // WARNING: Do not edit - generated code. 1228 // WARNING: Do not edit - generated code.
940 1229
941 1230
942 @DocsEditable() 1231 @DocsEditable()
943 @DomName('OfflineAudioContext') 1232 @DomName('OfflineAudioContext')
944 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Offline AudioContext-section 1233 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Offline AudioContext-section
945 @Experimental() 1234 @Experimental()
946 class OfflineAudioContext extends AudioContext { 1235 class OfflineAudioContext extends AudioContext {
947 // To suppress missing implicit constructor warnings. 1236 // To suppress missing implicit constructor warnings.
948 factory OfflineAudioContext._() { throw new UnsupportedError("Not supported"); } 1237 factory OfflineAudioContext._() { throw new UnsupportedError("Not supported"); }
949 1238
950 @DomName('OfflineAudioContext.OfflineAudioContext') 1239 @DomName('OfflineAudioContext.OfflineAudioContext')
951 @DocsEditable() 1240 @DocsEditable()
952 factory OfflineAudioContext(int numberOfChannels, int numberOfFrames, num samp leRate) { 1241 factory OfflineAudioContext(int numberOfChannels, int numberOfFrames, num samp leRate) {
953 return _blink.BlinkOfflineAudioContext.instance.constructorCallback_3_(numbe rOfChannels, numberOfFrames, sampleRate); 1242 return _blink.BlinkOfflineAudioContext.instance.constructorCallback_3_(numbe rOfChannels, numberOfFrames, sampleRate);
954 } 1243 }
955 1244
1245
1246 static OfflineAudioContext internalCreateOfflineAudioContext() {
1247 return new OfflineAudioContext._internalWrap();
1248 }
1249
1250 factory OfflineAudioContext._internalWrap() {
1251 return new OfflineAudioContext._internal();
1252 }
1253
1254 OfflineAudioContext._internal() : super._internal();
1255
1256
956 } 1257 }
957 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1258 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
958 // for details. All rights reserved. Use of this source code is governed by a 1259 // for details. All rights reserved. Use of this source code is governed by a
959 // BSD-style license that can be found in the LICENSE file. 1260 // BSD-style license that can be found in the LICENSE file.
960 1261
961 // WARNING: Do not edit - generated code. 1262 // WARNING: Do not edit - generated code.
962 1263
963 1264
964 @DocsEditable() 1265 @DocsEditable()
965 @DomName('OscillatorNode') 1266 @DomName('OscillatorNode')
966 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#dfn-Osc illatorNode 1267 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#dfn-Osc illatorNode
967 @Experimental() 1268 @Experimental()
968 class OscillatorNode extends AudioSourceNode { 1269 class OscillatorNode extends AudioSourceNode {
969 // To suppress missing implicit constructor warnings. 1270 // To suppress missing implicit constructor warnings.
970 factory OscillatorNode._() { throw new UnsupportedError("Not supported"); } 1271 factory OscillatorNode._() { throw new UnsupportedError("Not supported"); }
971 1272
972 /** 1273 /**
973 * Static factory designed to expose `ended` events to event 1274 * Static factory designed to expose `ended` events to event
974 * handlers that are not necessarily instances of [OscillatorNode]. 1275 * handlers that are not necessarily instances of [OscillatorNode].
975 * 1276 *
976 * See [EventStreamProvider] for usage information. 1277 * See [EventStreamProvider] for usage information.
977 */ 1278 */
978 @DomName('OscillatorNode.endedEvent') 1279 @DomName('OscillatorNode.endedEvent')
979 @DocsEditable() 1280 @DocsEditable()
980 @Experimental() // untriaged 1281 @Experimental() // untriaged
981 static const EventStreamProvider<Event> endedEvent = const EventStreamProvider <Event>('ended'); 1282 static const EventStreamProvider<Event> endedEvent = const EventStreamProvider <Event>('ended');
982 1283
1284
1285 static OscillatorNode internalCreateOscillatorNode() {
1286 return new OscillatorNode._internalWrap();
1287 }
1288
1289 factory OscillatorNode._internalWrap() {
1290 return new OscillatorNode._internal();
1291 }
1292
1293 OscillatorNode._internal() : super._internal();
1294
1295
983 @DomName('OscillatorNode.detune') 1296 @DomName('OscillatorNode.detune')
984 @DocsEditable() 1297 @DocsEditable()
985 AudioParam get detune => wrap_jso(_blink.BlinkOscillatorNode.instance.detune_G etter_(unwrap_jso(this))); 1298 AudioParam get detune => wrap_jso(_blink.BlinkOscillatorNode.instance.detune_G etter_(unwrap_jso(this)));
986 1299
987 @DomName('OscillatorNode.frequency') 1300 @DomName('OscillatorNode.frequency')
988 @DocsEditable() 1301 @DocsEditable()
989 AudioParam get frequency => wrap_jso(_blink.BlinkOscillatorNode.instance.frequ ency_Getter_(unwrap_jso(this))); 1302 AudioParam get frequency => wrap_jso(_blink.BlinkOscillatorNode.instance.frequ ency_Getter_(unwrap_jso(this)));
990 1303
991 @DomName('OscillatorNode.type') 1304 @DomName('OscillatorNode.type')
992 @DocsEditable() 1305 @DocsEditable()
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
1042 1355
1043 1356
1044 @DocsEditable() 1357 @DocsEditable()
1045 @DomName('PannerNode') 1358 @DomName('PannerNode')
1046 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#PannerN ode 1359 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#PannerN ode
1047 @Experimental() 1360 @Experimental()
1048 class PannerNode extends AudioNode { 1361 class PannerNode extends AudioNode {
1049 // To suppress missing implicit constructor warnings. 1362 // To suppress missing implicit constructor warnings.
1050 factory PannerNode._() { throw new UnsupportedError("Not supported"); } 1363 factory PannerNode._() { throw new UnsupportedError("Not supported"); }
1051 1364
1365
1366 static PannerNode internalCreatePannerNode() {
1367 return new PannerNode._internalWrap();
1368 }
1369
1370 factory PannerNode._internalWrap() {
1371 return new PannerNode._internal();
1372 }
1373
1374 PannerNode._internal() : super._internal();
1375
1376
1052 @DomName('PannerNode.coneInnerAngle') 1377 @DomName('PannerNode.coneInnerAngle')
1053 @DocsEditable() 1378 @DocsEditable()
1054 num get coneInnerAngle => _blink.BlinkPannerNode.instance.coneInnerAngle_Gette r_(unwrap_jso(this)); 1379 num get coneInnerAngle => _blink.BlinkPannerNode.instance.coneInnerAngle_Gette r_(unwrap_jso(this));
1055 1380
1056 @DomName('PannerNode.coneInnerAngle') 1381 @DomName('PannerNode.coneInnerAngle')
1057 @DocsEditable() 1382 @DocsEditable()
1058 void set coneInnerAngle(num value) => _blink.BlinkPannerNode.instance.coneInne rAngle_Setter_(unwrap_jso(this), value); 1383 void set coneInnerAngle(num value) => _blink.BlinkPannerNode.instance.coneInne rAngle_Setter_(unwrap_jso(this), value);
1059 1384
1060 @DomName('PannerNode.coneOuterAngle') 1385 @DomName('PannerNode.coneOuterAngle')
1061 @DocsEditable() 1386 @DocsEditable()
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
1133 // WARNING: Do not edit - generated code. 1458 // WARNING: Do not edit - generated code.
1134 1459
1135 1460
1136 @DocsEditable() 1461 @DocsEditable()
1137 @DomName('PeriodicWave') 1462 @DomName('PeriodicWave')
1138 @Experimental() // untriaged 1463 @Experimental() // untriaged
1139 class PeriodicWave extends NativeFieldWrapperClass2 { 1464 class PeriodicWave extends NativeFieldWrapperClass2 {
1140 // To suppress missing implicit constructor warnings. 1465 // To suppress missing implicit constructor warnings.
1141 factory PeriodicWave._() { throw new UnsupportedError("Not supported"); } 1466 factory PeriodicWave._() { throw new UnsupportedError("Not supported"); }
1142 1467
1468 static PeriodicWave internalCreatePeriodicWave() {
1469 return new PeriodicWave._internalWrap();
1470 }
1471
1472 JsObject blink_jsObject = null;
1473
1474 factory PeriodicWave._internalWrap() {
1475 return new PeriodicWave._internal();
1476 }
1477
1478 PeriodicWave._internal() { }
1479
1480 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical( this, other);
1481
1143 } 1482 }
1144 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1483 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1145 // for details. All rights reserved. Use of this source code is governed by a 1484 // for details. All rights reserved. Use of this source code is governed by a
1146 // BSD-style license that can be found in the LICENSE file. 1485 // BSD-style license that can be found in the LICENSE file.
1147 1486
1148 // WARNING: Do not edit - generated code. 1487 // WARNING: Do not edit - generated code.
1149 1488
1150 1489
1151 @DocsEditable() 1490 @DocsEditable()
1152 @DomName('ScriptProcessorNode') 1491 @DomName('ScriptProcessorNode')
1153 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#ScriptP rocessorNode 1492 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#ScriptP rocessorNode
1154 @Experimental() 1493 @Experimental()
1155 class ScriptProcessorNode extends AudioNode { 1494 class ScriptProcessorNode extends AudioNode {
1156 // To suppress missing implicit constructor warnings. 1495 // To suppress missing implicit constructor warnings.
1157 factory ScriptProcessorNode._() { throw new UnsupportedError("Not supported"); } 1496 factory ScriptProcessorNode._() { throw new UnsupportedError("Not supported"); }
1158 1497
1159 /** 1498 /**
1160 * Static factory designed to expose `audioprocess` events to event 1499 * Static factory designed to expose `audioprocess` events to event
1161 * handlers that are not necessarily instances of [ScriptProcessorNode]. 1500 * handlers that are not necessarily instances of [ScriptProcessorNode].
1162 * 1501 *
1163 * See [EventStreamProvider] for usage information. 1502 * See [EventStreamProvider] for usage information.
1164 */ 1503 */
1165 @DomName('ScriptProcessorNode.audioprocessEvent') 1504 @DomName('ScriptProcessorNode.audioprocessEvent')
1166 @DocsEditable() 1505 @DocsEditable()
1167 @Experimental() // untriaged 1506 @Experimental() // untriaged
1168 static const EventStreamProvider<AudioProcessingEvent> audioProcessEvent = con st EventStreamProvider<AudioProcessingEvent>('audioprocess'); 1507 static const EventStreamProvider<AudioProcessingEvent> audioProcessEvent = con st EventStreamProvider<AudioProcessingEvent>('audioprocess');
1169 1508
1509
1510 static ScriptProcessorNode internalCreateScriptProcessorNode() {
1511 return new ScriptProcessorNode._internalWrap();
1512 }
1513
1514 factory ScriptProcessorNode._internalWrap() {
1515 return new ScriptProcessorNode._internal();
1516 }
1517
1518 ScriptProcessorNode._internal() : super._internal();
1519
1520
1170 @DomName('ScriptProcessorNode.bufferSize') 1521 @DomName('ScriptProcessorNode.bufferSize')
1171 @DocsEditable() 1522 @DocsEditable()
1172 int get bufferSize => _blink.BlinkScriptProcessorNode.instance.bufferSize_Gett er_(unwrap_jso(this)); 1523 int get bufferSize => _blink.BlinkScriptProcessorNode.instance.bufferSize_Gett er_(unwrap_jso(this));
1173 1524
1174 @DomName('ScriptProcessorNode.setEventListener') 1525 @DomName('ScriptProcessorNode.setEventListener')
1175 @DocsEditable() 1526 @DocsEditable()
1176 @Experimental() // untriaged 1527 @Experimental() // untriaged
1177 void setEventListener(EventListener eventListener) => _blink.BlinkScriptProces sorNode.instance.setEventListener_Callback_1_(unwrap_jso(this), unwrap_jso(event Listener)); 1528 void setEventListener(EventListener eventListener) => _blink.BlinkScriptProces sorNode.instance.setEventListener_Callback_1_(unwrap_jso(this), unwrap_jso(event Listener));
1178 1529
1179 /// Stream of `audioprocess` events handled by this [ScriptProcessorNode]. 1530 /// Stream of `audioprocess` events handled by this [ScriptProcessorNode].
(...skipping 18 matching lines...) Expand all
1198 1549
1199 1550
1200 @DocsEditable() 1551 @DocsEditable()
1201 @DomName('WaveShaperNode') 1552 @DomName('WaveShaperNode')
1202 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#dfn-Wav eShaperNode 1553 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#dfn-Wav eShaperNode
1203 @Experimental() 1554 @Experimental()
1204 class WaveShaperNode extends AudioNode { 1555 class WaveShaperNode extends AudioNode {
1205 // To suppress missing implicit constructor warnings. 1556 // To suppress missing implicit constructor warnings.
1206 factory WaveShaperNode._() { throw new UnsupportedError("Not supported"); } 1557 factory WaveShaperNode._() { throw new UnsupportedError("Not supported"); }
1207 1558
1559
1560 static WaveShaperNode internalCreateWaveShaperNode() {
1561 return new WaveShaperNode._internalWrap();
1562 }
1563
1564 factory WaveShaperNode._internalWrap() {
1565 return new WaveShaperNode._internal();
1566 }
1567
1568 WaveShaperNode._internal() : super._internal();
1569
1570
1208 @DomName('WaveShaperNode.curve') 1571 @DomName('WaveShaperNode.curve')
1209 @DocsEditable() 1572 @DocsEditable()
1210 Float32List get curve => wrap_jso(_blink.BlinkWaveShaperNode.instance.curve_Ge tter_(unwrap_jso(this))); 1573 Float32List get curve => wrap_jso(_blink.BlinkWaveShaperNode.instance.curve_Ge tter_(unwrap_jso(this)));
1211 1574
1212 @DomName('WaveShaperNode.curve') 1575 @DomName('WaveShaperNode.curve')
1213 @DocsEditable() 1576 @DocsEditable()
1214 void set curve(Float32List value) => _blink.BlinkWaveShaperNode.instance.curve _Setter_(unwrap_jso(this), unwrap_jso(value)); 1577 void set curve(Float32List value) => _blink.BlinkWaveShaperNode.instance.curve _Setter_(unwrap_jso(this), unwrap_jso(value));
1215 1578
1216 @DomName('WaveShaperNode.oversample') 1579 @DomName('WaveShaperNode.oversample')
1217 @DocsEditable() 1580 @DocsEditable()
1218 String get oversample => _blink.BlinkWaveShaperNode.instance.oversample_Getter _(unwrap_jso(this)); 1581 String get oversample => _blink.BlinkWaveShaperNode.instance.oversample_Getter _(unwrap_jso(this));
1219 1582
1220 @DomName('WaveShaperNode.oversample') 1583 @DomName('WaveShaperNode.oversample')
1221 @DocsEditable() 1584 @DocsEditable()
1222 void set oversample(String value) => _blink.BlinkWaveShaperNode.instance.overs ample_Setter_(unwrap_jso(this), value); 1585 void set oversample(String value) => _blink.BlinkWaveShaperNode.instance.overs ample_Setter_(unwrap_jso(this), value);
1223 1586
1224 } 1587 }
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