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

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

Issue 1237263005: Revert "- Update _blink library using dart:js instead of native keyword" (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: 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 };
83 // 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
84 // 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
85 // BSD-style license that can be found in the LICENSE file. 54 // BSD-style license that can be found in the LICENSE file.
86 55
87 // WARNING: Do not edit - generated code. 56 // WARNING: Do not edit - generated code.
88 57
89 58
90 @DocsEditable() 59 @DocsEditable()
91 @DomName('AnalyserNode') 60 @DomName('AnalyserNode')
92 // 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
93 @Experimental() 62 @Experimental()
94 class AnalyserNode extends AudioNode { 63 class AnalyserNode extends AudioNode {
95 // To suppress missing implicit constructor warnings. 64 // To suppress missing implicit constructor warnings.
96 factory AnalyserNode._() { throw new UnsupportedError("Not supported"); } 65 factory AnalyserNode._() { throw new UnsupportedError("Not supported"); }
97 66
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
110 @DomName('AnalyserNode.fftSize') 67 @DomName('AnalyserNode.fftSize')
111 @DocsEditable() 68 @DocsEditable()
112 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));
113 70
114 @DomName('AnalyserNode.fftSize') 71 @DomName('AnalyserNode.fftSize')
115 @DocsEditable() 72 @DocsEditable()
116 void set fftSize(int value) => _blink.BlinkAnalyserNode.instance.fftSize_Sette r_(unwrap_jso(this), value); 73 void set fftSize(int value) => _blink.BlinkAnalyserNode.instance.fftSize_Sette r_(unwrap_jso(this), value);
117 74
118 @DomName('AnalyserNode.frequencyBinCount') 75 @DomName('AnalyserNode.frequencyBinCount')
119 @DocsEditable() 76 @DocsEditable()
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
169 126
170 127
171 @DocsEditable() 128 @DocsEditable()
172 @DomName('AudioBuffer') 129 @DomName('AudioBuffer')
173 // 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
174 @Experimental() 131 @Experimental()
175 class AudioBuffer extends NativeFieldWrapperClass2 { 132 class AudioBuffer extends NativeFieldWrapperClass2 {
176 // To suppress missing implicit constructor warnings. 133 // To suppress missing implicit constructor warnings.
177 factory AudioBuffer._() { throw new UnsupportedError("Not supported"); } 134 factory AudioBuffer._() { throw new UnsupportedError("Not supported"); }
178 135
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
193 @DomName('AudioBuffer.duration') 136 @DomName('AudioBuffer.duration')
194 @DocsEditable() 137 @DocsEditable()
195 double get duration => _blink.BlinkAudioBuffer.instance.duration_Getter_(unwra p_jso(this)); 138 double get duration => _blink.BlinkAudioBuffer.instance.duration_Getter_(unwra p_jso(this));
196 139
197 @DomName('AudioBuffer.length') 140 @DomName('AudioBuffer.length')
198 @DocsEditable() 141 @DocsEditable()
199 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));
200 143
201 @DomName('AudioBuffer.numberOfChannels') 144 @DomName('AudioBuffer.numberOfChannels')
202 @DocsEditable() 145 @DocsEditable()
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
243 * Static factory designed to expose `ended` events to event 186 * Static factory designed to expose `ended` events to event
244 * handlers that are not necessarily instances of [AudioBufferSourceNode]. 187 * handlers that are not necessarily instances of [AudioBufferSourceNode].
245 * 188 *
246 * See [EventStreamProvider] for usage information. 189 * See [EventStreamProvider] for usage information.
247 */ 190 */
248 @DomName('AudioBufferSourceNode.endedEvent') 191 @DomName('AudioBufferSourceNode.endedEvent')
249 @DocsEditable() 192 @DocsEditable()
250 @Experimental() // untriaged 193 @Experimental() // untriaged
251 static const EventStreamProvider<Event> endedEvent = const EventStreamProvider <Event>('ended'); 194 static const EventStreamProvider<Event> endedEvent = const EventStreamProvider <Event>('ended');
252 195
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
265 @DomName('AudioBufferSourceNode.buffer') 196 @DomName('AudioBufferSourceNode.buffer')
266 @DocsEditable() 197 @DocsEditable()
267 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)));
268 199
269 @DomName('AudioBufferSourceNode.buffer') 200 @DomName('AudioBufferSourceNode.buffer')
270 @DocsEditable() 201 @DocsEditable()
271 void set buffer(AudioBuffer value) => _blink.BlinkAudioBufferSourceNode.instan ce.buffer_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));
272 203
273 @DomName('AudioBufferSourceNode.loop') 204 @DomName('AudioBufferSourceNode.loop')
274 @DocsEditable() 205 @DocsEditable()
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
354 @DomName('AudioContext.completeEvent') 285 @DomName('AudioContext.completeEvent')
355 @DocsEditable() 286 @DocsEditable()
356 static const EventStreamProvider<Event> completeEvent = const EventStreamProvi der<Event>('complete'); 287 static const EventStreamProvider<Event> completeEvent = const EventStreamProvi der<Event>('complete');
357 288
358 @DomName('AudioContext.AudioContext') 289 @DomName('AudioContext.AudioContext')
359 @DocsEditable() 290 @DocsEditable()
360 factory AudioContext() { 291 factory AudioContext() {
361 return _blink.BlinkAudioContext.instance.constructorCallback_0_(); 292 return _blink.BlinkAudioContext.instance.constructorCallback_0_();
362 } 293 }
363 294
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
376 /// Checks if this type is supported on the current platform. 295 /// Checks if this type is supported on the current platform.
377 static bool get supported => true; 296 static bool get supported => true;
378 297
379 @DomName('AudioContext.currentTime') 298 @DomName('AudioContext.currentTime')
380 @DocsEditable() 299 @DocsEditable()
381 double get currentTime => _blink.BlinkAudioContext.instance.currentTime_Getter _(unwrap_jso(this)); 300 double get currentTime => _blink.BlinkAudioContext.instance.currentTime_Getter _(unwrap_jso(this));
382 301
383 @DomName('AudioContext.destination') 302 @DomName('AudioContext.destination')
384 @DocsEditable() 303 @DocsEditable()
385 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)));
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
519 438
520 439
521 @DocsEditable() 440 @DocsEditable()
522 @DomName('AudioDestinationNode') 441 @DomName('AudioDestinationNode')
523 // 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
524 @Experimental() 443 @Experimental()
525 class AudioDestinationNode extends AudioNode { 444 class AudioDestinationNode extends AudioNode {
526 // To suppress missing implicit constructor warnings. 445 // To suppress missing implicit constructor warnings.
527 factory AudioDestinationNode._() { throw new UnsupportedError("Not supported") ; } 446 factory AudioDestinationNode._() { throw new UnsupportedError("Not supported") ; }
528 447
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
541 @DomName('AudioDestinationNode.maxChannelCount') 448 @DomName('AudioDestinationNode.maxChannelCount')
542 @DocsEditable() 449 @DocsEditable()
543 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));
544 451
545 } 452 }
546 // 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
547 // 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
548 // BSD-style license that can be found in the LICENSE file. 455 // BSD-style license that can be found in the LICENSE file.
549 456
550 // WARNING: Do not edit - generated code. 457 // WARNING: Do not edit - generated code.
551 458
552 459
553 @DocsEditable() 460 @DocsEditable()
554 @DomName('AudioListener') 461 @DomName('AudioListener')
555 // 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
556 @Experimental() 463 @Experimental()
557 class AudioListener extends NativeFieldWrapperClass2 { 464 class AudioListener extends NativeFieldWrapperClass2 {
558 // To suppress missing implicit constructor warnings. 465 // To suppress missing implicit constructor warnings.
559 factory AudioListener._() { throw new UnsupportedError("Not supported"); } 466 factory AudioListener._() { throw new UnsupportedError("Not supported"); }
560 467
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
575 @DomName('AudioListener.dopplerFactor') 468 @DomName('AudioListener.dopplerFactor')
576 @DocsEditable() 469 @DocsEditable()
577 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));
578 471
579 @DomName('AudioListener.dopplerFactor') 472 @DomName('AudioListener.dopplerFactor')
580 @DocsEditable() 473 @DocsEditable()
581 void set dopplerFactor(num value) => _blink.BlinkAudioListener.instance.dopple rFactor_Setter_(unwrap_jso(this), value); 474 void set dopplerFactor(num value) => _blink.BlinkAudioListener.instance.dopple rFactor_Setter_(unwrap_jso(this), value);
582 475
583 @DomName('AudioListener.speedOfSound') 476 @DomName('AudioListener.speedOfSound')
584 @DocsEditable() 477 @DocsEditable()
(...skipping 21 matching lines...) Expand all
606 // BSD-style license that can be found in the LICENSE file. 499 // BSD-style license that can be found in the LICENSE file.
607 500
608 501
609 @DomName('AudioNode') 502 @DomName('AudioNode')
610 // 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
611 @Experimental() 504 @Experimental()
612 class AudioNode extends EventTarget { 505 class AudioNode extends EventTarget {
613 // To suppress missing implicit constructor warnings. 506 // To suppress missing implicit constructor warnings.
614 factory AudioNode._() { throw new UnsupportedError("Not supported"); } 507 factory AudioNode._() { throw new UnsupportedError("Not supported"); }
615 508
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
628 @DomName('AudioNode.channelCount') 509 @DomName('AudioNode.channelCount')
629 @DocsEditable() 510 @DocsEditable()
630 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));
631 512
632 @DomName('AudioNode.channelCount') 513 @DomName('AudioNode.channelCount')
633 @DocsEditable() 514 @DocsEditable()
634 void set channelCount(int value) => _blink.BlinkAudioNode.instance.channelCoun t_Setter_(unwrap_jso(this), value); 515 void set channelCount(int value) => _blink.BlinkAudioNode.instance.channelCoun t_Setter_(unwrap_jso(this), value);
635 516
636 @DomName('AudioNode.channelCountMode') 517 @DomName('AudioNode.channelCountMode')
637 @DocsEditable() 518 @DocsEditable()
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
693 574
694 575
695 @DocsEditable() 576 @DocsEditable()
696 @DomName('AudioParam') 577 @DomName('AudioParam')
697 // 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
698 @Experimental() 579 @Experimental()
699 class AudioParam extends NativeFieldWrapperClass2 { 580 class AudioParam extends NativeFieldWrapperClass2 {
700 // To suppress missing implicit constructor warnings. 581 // To suppress missing implicit constructor warnings.
701 factory AudioParam._() { throw new UnsupportedError("Not supported"); } 582 factory AudioParam._() { throw new UnsupportedError("Not supported"); }
702 583
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
717 @DomName('AudioParam.defaultValue') 584 @DomName('AudioParam.defaultValue')
718 @DocsEditable() 585 @DocsEditable()
719 double get defaultValue => _blink.BlinkAudioParam.instance.defaultValue_Getter _(unwrap_jso(this)); 586 double get defaultValue => _blink.BlinkAudioParam.instance.defaultValue_Getter _(unwrap_jso(this));
720 587
721 @DomName('AudioParam.value') 588 @DomName('AudioParam.value')
722 @DocsEditable() 589 @DocsEditable()
723 num get value => _blink.BlinkAudioParam.instance.value_Getter_(unwrap_jso(this )); 590 num get value => _blink.BlinkAudioParam.instance.value_Getter_(unwrap_jso(this ));
724 591
725 @DomName('AudioParam.value') 592 @DomName('AudioParam.value')
726 @DocsEditable() 593 @DocsEditable()
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
759 626
760 627
761 @DocsEditable() 628 @DocsEditable()
762 @DomName('AudioProcessingEvent') 629 @DomName('AudioProcessingEvent')
763 // 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
764 @Experimental() 631 @Experimental()
765 class AudioProcessingEvent extends Event { 632 class AudioProcessingEvent extends Event {
766 // To suppress missing implicit constructor warnings. 633 // To suppress missing implicit constructor warnings.
767 factory AudioProcessingEvent._() { throw new UnsupportedError("Not supported") ; } 634 factory AudioProcessingEvent._() { throw new UnsupportedError("Not supported") ; }
768 635
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
781 @DomName('AudioProcessingEvent.inputBuffer') 636 @DomName('AudioProcessingEvent.inputBuffer')
782 @DocsEditable() 637 @DocsEditable()
783 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)));
784 639
785 @DomName('AudioProcessingEvent.outputBuffer') 640 @DomName('AudioProcessingEvent.outputBuffer')
786 @DocsEditable() 641 @DocsEditable()
787 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)));
788 643
789 @DomName('AudioProcessingEvent.playbackTime') 644 @DomName('AudioProcessingEvent.playbackTime')
790 @DocsEditable() 645 @DocsEditable()
791 @Experimental() // untriaged 646 @Experimental() // untriaged
792 double get playbackTime => _blink.BlinkAudioProcessingEvent.instance.playbackT ime_Getter_(unwrap_jso(this)); 647 double get playbackTime => _blink.BlinkAudioProcessingEvent.instance.playbackT ime_Getter_(unwrap_jso(this));
793 648
794 } 649 }
795 // 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
796 // 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
797 // BSD-style license that can be found in the LICENSE file. 652 // BSD-style license that can be found in the LICENSE file.
798 653
799 // WARNING: Do not edit - generated code. 654 // WARNING: Do not edit - generated code.
800 655
801 656
802 @DocsEditable() 657 @DocsEditable()
803 @DomName('AudioSourceNode') 658 @DomName('AudioSourceNode')
804 // 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
805 @Experimental() 660 @Experimental()
806 class AudioSourceNode extends AudioNode { 661 class AudioSourceNode extends AudioNode {
807 // To suppress missing implicit constructor warnings. 662 // To suppress missing implicit constructor warnings.
808 factory AudioSourceNode._() { throw new UnsupportedError("Not supported"); } 663 factory AudioSourceNode._() { throw new UnsupportedError("Not supported"); }
809 664
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
822 } 665 }
823 // 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
824 // 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
825 // BSD-style license that can be found in the LICENSE file. 668 // BSD-style license that can be found in the LICENSE file.
826 669
827 // WARNING: Do not edit - generated code. 670 // WARNING: Do not edit - generated code.
828 671
829 672
830 @DocsEditable() 673 @DocsEditable()
831 @DomName('BiquadFilterNode') 674 @DomName('BiquadFilterNode')
832 // 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
833 @Experimental() 676 @Experimental()
834 class BiquadFilterNode extends AudioNode { 677 class BiquadFilterNode extends AudioNode {
835 // To suppress missing implicit constructor warnings. 678 // To suppress missing implicit constructor warnings.
836 factory BiquadFilterNode._() { throw new UnsupportedError("Not supported"); } 679 factory BiquadFilterNode._() { throw new UnsupportedError("Not supported"); }
837 680
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
850 @DomName('BiquadFilterNode.Q') 681 @DomName('BiquadFilterNode.Q')
851 @DocsEditable() 682 @DocsEditable()
852 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)));
853 684
854 @DomName('BiquadFilterNode.detune') 685 @DomName('BiquadFilterNode.detune')
855 @DocsEditable() 686 @DocsEditable()
856 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)));
857 688
858 @DomName('BiquadFilterNode.frequency') 689 @DomName('BiquadFilterNode.frequency')
859 @DocsEditable() 690 @DocsEditable()
(...skipping 24 matching lines...) Expand all
884 715
885 716
886 @DocsEditable() 717 @DocsEditable()
887 @DomName('ChannelMergerNode') 718 @DomName('ChannelMergerNode')
888 // 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
889 @Experimental() 720 @Experimental()
890 class ChannelMergerNode extends AudioNode { 721 class ChannelMergerNode extends AudioNode {
891 // To suppress missing implicit constructor warnings. 722 // To suppress missing implicit constructor warnings.
892 factory ChannelMergerNode._() { throw new UnsupportedError("Not supported"); } 723 factory ChannelMergerNode._() { throw new UnsupportedError("Not supported"); }
893 724
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
906 } 725 }
907 // 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
908 // 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
909 // BSD-style license that can be found in the LICENSE file. 728 // BSD-style license that can be found in the LICENSE file.
910 729
911 // WARNING: Do not edit - generated code. 730 // WARNING: Do not edit - generated code.
912 731
913 732
914 @DocsEditable() 733 @DocsEditable()
915 @DomName('ChannelSplitterNode') 734 @DomName('ChannelSplitterNode')
916 // 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
917 @Experimental() 736 @Experimental()
918 class ChannelSplitterNode extends AudioNode { 737 class ChannelSplitterNode extends AudioNode {
919 // To suppress missing implicit constructor warnings. 738 // To suppress missing implicit constructor warnings.
920 factory ChannelSplitterNode._() { throw new UnsupportedError("Not supported"); } 739 factory ChannelSplitterNode._() { throw new UnsupportedError("Not supported"); }
921 740
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
934 } 741 }
935 // 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
936 // 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
937 // BSD-style license that can be found in the LICENSE file. 744 // BSD-style license that can be found in the LICENSE file.
938 745
939 // WARNING: Do not edit - generated code. 746 // WARNING: Do not edit - generated code.
940 747
941 748
942 @DocsEditable() 749 @DocsEditable()
943 @DomName('ConvolverNode') 750 @DomName('ConvolverNode')
944 // 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
945 @Experimental() 752 @Experimental()
946 class ConvolverNode extends AudioNode { 753 class ConvolverNode extends AudioNode {
947 // To suppress missing implicit constructor warnings. 754 // To suppress missing implicit constructor warnings.
948 factory ConvolverNode._() { throw new UnsupportedError("Not supported"); } 755 factory ConvolverNode._() { throw new UnsupportedError("Not supported"); }
949 756
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
962 @DomName('ConvolverNode.buffer') 757 @DomName('ConvolverNode.buffer')
963 @DocsEditable() 758 @DocsEditable()
964 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)));
965 760
966 @DomName('ConvolverNode.buffer') 761 @DomName('ConvolverNode.buffer')
967 @DocsEditable() 762 @DocsEditable()
968 void set buffer(AudioBuffer value) => _blink.BlinkConvolverNode.instance.buffe r_Setter_(unwrap_jso(this), unwrap_jso(value)); 763 void set buffer(AudioBuffer value) => _blink.BlinkConvolverNode.instance.buffe r_Setter_(unwrap_jso(this), unwrap_jso(value));
969 764
970 @DomName('ConvolverNode.normalize') 765 @DomName('ConvolverNode.normalize')
971 @DocsEditable() 766 @DocsEditable()
(...skipping 12 matching lines...) Expand all
984 779
985 780
986 @DocsEditable() 781 @DocsEditable()
987 @DomName('DelayNode') 782 @DomName('DelayNode')
988 // 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
989 @Experimental() 784 @Experimental()
990 class DelayNode extends AudioNode { 785 class DelayNode extends AudioNode {
991 // To suppress missing implicit constructor warnings. 786 // To suppress missing implicit constructor warnings.
992 factory DelayNode._() { throw new UnsupportedError("Not supported"); } 787 factory DelayNode._() { throw new UnsupportedError("Not supported"); }
993 788
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
1006 @DomName('DelayNode.delayTime') 789 @DomName('DelayNode.delayTime')
1007 @DocsEditable() 790 @DocsEditable()
1008 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)));
1009 792
1010 } 793 }
1011 // 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
1012 // 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
1013 // BSD-style license that can be found in the LICENSE file. 796 // BSD-style license that can be found in the LICENSE file.
1014 797
1015 // WARNING: Do not edit - generated code. 798 // WARNING: Do not edit - generated code.
1016 799
1017 800
1018 @DocsEditable() 801 @DocsEditable()
1019 @DomName('DynamicsCompressorNode') 802 @DomName('DynamicsCompressorNode')
1020 // 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
1021 @Experimental() 804 @Experimental()
1022 class DynamicsCompressorNode extends AudioNode { 805 class DynamicsCompressorNode extends AudioNode {
1023 // To suppress missing implicit constructor warnings. 806 // To suppress missing implicit constructor warnings.
1024 factory DynamicsCompressorNode._() { throw new UnsupportedError("Not supported "); } 807 factory DynamicsCompressorNode._() { throw new UnsupportedError("Not supported "); }
1025 808
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
1038 @DomName('DynamicsCompressorNode.attack') 809 @DomName('DynamicsCompressorNode.attack')
1039 @DocsEditable() 810 @DocsEditable()
1040 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)));
1041 812
1042 @DomName('DynamicsCompressorNode.knee') 813 @DomName('DynamicsCompressorNode.knee')
1043 @DocsEditable() 814 @DocsEditable()
1044 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)));
1045 816
1046 @DomName('DynamicsCompressorNode.ratio') 817 @DomName('DynamicsCompressorNode.ratio')
1047 @DocsEditable() 818 @DocsEditable()
(...skipping 20 matching lines...) Expand all
1068 839
1069 840
1070 @DocsEditable() 841 @DocsEditable()
1071 @DomName('GainNode') 842 @DomName('GainNode')
1072 // 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
1073 @Experimental() 844 @Experimental()
1074 class GainNode extends AudioNode { 845 class GainNode extends AudioNode {
1075 // To suppress missing implicit constructor warnings. 846 // To suppress missing implicit constructor warnings.
1076 factory GainNode._() { throw new UnsupportedError("Not supported"); } 847 factory GainNode._() { throw new UnsupportedError("Not supported"); }
1077 848
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
1090 @DomName('GainNode.gain') 849 @DomName('GainNode.gain')
1091 @DocsEditable() 850 @DocsEditable()
1092 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)));
1093 852
1094 } 853 }
1095 // 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
1096 // 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
1097 // BSD-style license that can be found in the LICENSE file. 856 // BSD-style license that can be found in the LICENSE file.
1098 857
1099 // WARNING: Do not edit - generated code. 858 // WARNING: Do not edit - generated code.
1100 859
1101 860
1102 @DocsEditable() 861 @DocsEditable()
1103 @DomName('MediaElementAudioSourceNode') 862 @DomName('MediaElementAudioSourceNode')
1104 // 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
1105 @Experimental() 864 @Experimental()
1106 class MediaElementAudioSourceNode extends AudioSourceNode { 865 class MediaElementAudioSourceNode extends AudioSourceNode {
1107 // To suppress missing implicit constructor warnings. 866 // To suppress missing implicit constructor warnings.
1108 factory MediaElementAudioSourceNode._() { throw new UnsupportedError("Not supp orted"); } 867 factory MediaElementAudioSourceNode._() { throw new UnsupportedError("Not supp orted"); }
1109 868
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
1122 @DomName('MediaElementAudioSourceNode.mediaElement') 869 @DomName('MediaElementAudioSourceNode.mediaElement')
1123 @DocsEditable() 870 @DocsEditable()
1124 @Experimental() // non-standard 871 @Experimental() // non-standard
1125 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)));
1126 873
1127 } 874 }
1128 // 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
1129 // 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
1130 // BSD-style license that can be found in the LICENSE file. 877 // BSD-style license that can be found in the LICENSE file.
1131 878
1132 // WARNING: Do not edit - generated code. 879 // WARNING: Do not edit - generated code.
1133 880
1134 881
1135 @DocsEditable() 882 @DocsEditable()
1136 @DomName('MediaStreamAudioDestinationNode') 883 @DomName('MediaStreamAudioDestinationNode')
1137 // 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
1138 @Experimental() 885 @Experimental()
1139 class MediaStreamAudioDestinationNode extends AudioNode { 886 class MediaStreamAudioDestinationNode extends AudioNode {
1140 // To suppress missing implicit constructor warnings. 887 // To suppress missing implicit constructor warnings.
1141 factory MediaStreamAudioDestinationNode._() { throw new UnsupportedError("Not supported"); } 888 factory MediaStreamAudioDestinationNode._() { throw new UnsupportedError("Not supported"); }
1142 889
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
1155 @DomName('MediaStreamAudioDestinationNode.stream') 890 @DomName('MediaStreamAudioDestinationNode.stream')
1156 @DocsEditable() 891 @DocsEditable()
1157 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)));
1158 893
1159 } 894 }
1160 // 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
1161 // 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
1162 // BSD-style license that can be found in the LICENSE file. 897 // BSD-style license that can be found in the LICENSE file.
1163 898
1164 // WARNING: Do not edit - generated code. 899 // WARNING: Do not edit - generated code.
1165 900
1166 901
1167 @DocsEditable() 902 @DocsEditable()
1168 @DomName('MediaStreamAudioSourceNode') 903 @DomName('MediaStreamAudioSourceNode')
1169 // 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
1170 @Experimental() 905 @Experimental()
1171 class MediaStreamAudioSourceNode extends AudioSourceNode { 906 class MediaStreamAudioSourceNode extends AudioSourceNode {
1172 // To suppress missing implicit constructor warnings. 907 // To suppress missing implicit constructor warnings.
1173 factory MediaStreamAudioSourceNode._() { throw new UnsupportedError("Not suppo rted"); } 908 factory MediaStreamAudioSourceNode._() { throw new UnsupportedError("Not suppo rted"); }
1174 909
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
1187 @DomName('MediaStreamAudioSourceNode.mediaStream') 910 @DomName('MediaStreamAudioSourceNode.mediaStream')
1188 @DocsEditable() 911 @DocsEditable()
1189 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)));
1190 913
1191 } 914 }
1192 // 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
1193 // 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
1194 // BSD-style license that can be found in the LICENSE file. 917 // BSD-style license that can be found in the LICENSE file.
1195 918
1196 // WARNING: Do not edit - generated code. 919 // WARNING: Do not edit - generated code.
1197 920
1198 921
1199 @DocsEditable() 922 @DocsEditable()
1200 @DomName('OfflineAudioCompletionEvent') 923 @DomName('OfflineAudioCompletionEvent')
1201 // 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
1202 @Experimental() 925 @Experimental()
1203 class OfflineAudioCompletionEvent extends Event { 926 class OfflineAudioCompletionEvent extends Event {
1204 // To suppress missing implicit constructor warnings. 927 // To suppress missing implicit constructor warnings.
1205 factory OfflineAudioCompletionEvent._() { throw new UnsupportedError("Not supp orted"); } 928 factory OfflineAudioCompletionEvent._() { throw new UnsupportedError("Not supp orted"); }
1206 929
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
1219 @DomName('OfflineAudioCompletionEvent.renderedBuffer') 930 @DomName('OfflineAudioCompletionEvent.renderedBuffer')
1220 @DocsEditable() 931 @DocsEditable()
1221 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)));
1222 933
1223 } 934 }
1224 // 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
1225 // 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
1226 // BSD-style license that can be found in the LICENSE file. 937 // BSD-style license that can be found in the LICENSE file.
1227 938
1228 // WARNING: Do not edit - generated code. 939 // WARNING: Do not edit - generated code.
1229 940
1230 941
1231 @DocsEditable() 942 @DocsEditable()
1232 @DomName('OfflineAudioContext') 943 @DomName('OfflineAudioContext')
1233 // 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
1234 @Experimental() 945 @Experimental()
1235 class OfflineAudioContext extends AudioContext { 946 class OfflineAudioContext extends AudioContext {
1236 // To suppress missing implicit constructor warnings. 947 // To suppress missing implicit constructor warnings.
1237 factory OfflineAudioContext._() { throw new UnsupportedError("Not supported"); } 948 factory OfflineAudioContext._() { throw new UnsupportedError("Not supported"); }
1238 949
1239 @DomName('OfflineAudioContext.OfflineAudioContext') 950 @DomName('OfflineAudioContext.OfflineAudioContext')
1240 @DocsEditable() 951 @DocsEditable()
1241 factory OfflineAudioContext(int numberOfChannels, int numberOfFrames, num samp leRate) { 952 factory OfflineAudioContext(int numberOfChannels, int numberOfFrames, num samp leRate) {
1242 return _blink.BlinkOfflineAudioContext.instance.constructorCallback_3_(numbe rOfChannels, numberOfFrames, sampleRate); 953 return _blink.BlinkOfflineAudioContext.instance.constructorCallback_3_(numbe rOfChannels, numberOfFrames, sampleRate);
1243 } 954 }
1244 955
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
1257 } 956 }
1258 // 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
1259 // 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
1260 // BSD-style license that can be found in the LICENSE file. 959 // BSD-style license that can be found in the LICENSE file.
1261 960
1262 // WARNING: Do not edit - generated code. 961 // WARNING: Do not edit - generated code.
1263 962
1264 963
1265 @DocsEditable() 964 @DocsEditable()
1266 @DomName('OscillatorNode') 965 @DomName('OscillatorNode')
1267 // 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
1268 @Experimental() 967 @Experimental()
1269 class OscillatorNode extends AudioSourceNode { 968 class OscillatorNode extends AudioSourceNode {
1270 // To suppress missing implicit constructor warnings. 969 // To suppress missing implicit constructor warnings.
1271 factory OscillatorNode._() { throw new UnsupportedError("Not supported"); } 970 factory OscillatorNode._() { throw new UnsupportedError("Not supported"); }
1272 971
1273 /** 972 /**
1274 * Static factory designed to expose `ended` events to event 973 * Static factory designed to expose `ended` events to event
1275 * handlers that are not necessarily instances of [OscillatorNode]. 974 * handlers that are not necessarily instances of [OscillatorNode].
1276 * 975 *
1277 * See [EventStreamProvider] for usage information. 976 * See [EventStreamProvider] for usage information.
1278 */ 977 */
1279 @DomName('OscillatorNode.endedEvent') 978 @DomName('OscillatorNode.endedEvent')
1280 @DocsEditable() 979 @DocsEditable()
1281 @Experimental() // untriaged 980 @Experimental() // untriaged
1282 static const EventStreamProvider<Event> endedEvent = const EventStreamProvider <Event>('ended'); 981 static const EventStreamProvider<Event> endedEvent = const EventStreamProvider <Event>('ended');
1283 982
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
1296 @DomName('OscillatorNode.detune') 983 @DomName('OscillatorNode.detune')
1297 @DocsEditable() 984 @DocsEditable()
1298 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)));
1299 986
1300 @DomName('OscillatorNode.frequency') 987 @DomName('OscillatorNode.frequency')
1301 @DocsEditable() 988 @DocsEditable()
1302 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)));
1303 990
1304 @DomName('OscillatorNode.type') 991 @DomName('OscillatorNode.type')
1305 @DocsEditable() 992 @DocsEditable()
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
1355 1042
1356 1043
1357 @DocsEditable() 1044 @DocsEditable()
1358 @DomName('PannerNode') 1045 @DomName('PannerNode')
1359 // 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
1360 @Experimental() 1047 @Experimental()
1361 class PannerNode extends AudioNode { 1048 class PannerNode extends AudioNode {
1362 // To suppress missing implicit constructor warnings. 1049 // To suppress missing implicit constructor warnings.
1363 factory PannerNode._() { throw new UnsupportedError("Not supported"); } 1050 factory PannerNode._() { throw new UnsupportedError("Not supported"); }
1364 1051
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
1377 @DomName('PannerNode.coneInnerAngle') 1052 @DomName('PannerNode.coneInnerAngle')
1378 @DocsEditable() 1053 @DocsEditable()
1379 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));
1380 1055
1381 @DomName('PannerNode.coneInnerAngle') 1056 @DomName('PannerNode.coneInnerAngle')
1382 @DocsEditable() 1057 @DocsEditable()
1383 void set coneInnerAngle(num value) => _blink.BlinkPannerNode.instance.coneInne rAngle_Setter_(unwrap_jso(this), value); 1058 void set coneInnerAngle(num value) => _blink.BlinkPannerNode.instance.coneInne rAngle_Setter_(unwrap_jso(this), value);
1384 1059
1385 @DomName('PannerNode.coneOuterAngle') 1060 @DomName('PannerNode.coneOuterAngle')
1386 @DocsEditable() 1061 @DocsEditable()
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
1458 // WARNING: Do not edit - generated code. 1133 // WARNING: Do not edit - generated code.
1459 1134
1460 1135
1461 @DocsEditable() 1136 @DocsEditable()
1462 @DomName('PeriodicWave') 1137 @DomName('PeriodicWave')
1463 @Experimental() // untriaged 1138 @Experimental() // untriaged
1464 class PeriodicWave extends NativeFieldWrapperClass2 { 1139 class PeriodicWave extends NativeFieldWrapperClass2 {
1465 // To suppress missing implicit constructor warnings. 1140 // To suppress missing implicit constructor warnings.
1466 factory PeriodicWave._() { throw new UnsupportedError("Not supported"); } 1141 factory PeriodicWave._() { throw new UnsupportedError("Not supported"); }
1467 1142
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
1482 } 1143 }
1483 // 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
1484 // 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
1485 // BSD-style license that can be found in the LICENSE file. 1146 // BSD-style license that can be found in the LICENSE file.
1486 1147
1487 // WARNING: Do not edit - generated code. 1148 // WARNING: Do not edit - generated code.
1488 1149
1489 1150
1490 @DocsEditable() 1151 @DocsEditable()
1491 @DomName('ScriptProcessorNode') 1152 @DomName('ScriptProcessorNode')
1492 // 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
1493 @Experimental() 1154 @Experimental()
1494 class ScriptProcessorNode extends AudioNode { 1155 class ScriptProcessorNode extends AudioNode {
1495 // To suppress missing implicit constructor warnings. 1156 // To suppress missing implicit constructor warnings.
1496 factory ScriptProcessorNode._() { throw new UnsupportedError("Not supported"); } 1157 factory ScriptProcessorNode._() { throw new UnsupportedError("Not supported"); }
1497 1158
1498 /** 1159 /**
1499 * Static factory designed to expose `audioprocess` events to event 1160 * Static factory designed to expose `audioprocess` events to event
1500 * handlers that are not necessarily instances of [ScriptProcessorNode]. 1161 * handlers that are not necessarily instances of [ScriptProcessorNode].
1501 * 1162 *
1502 * See [EventStreamProvider] for usage information. 1163 * See [EventStreamProvider] for usage information.
1503 */ 1164 */
1504 @DomName('ScriptProcessorNode.audioprocessEvent') 1165 @DomName('ScriptProcessorNode.audioprocessEvent')
1505 @DocsEditable() 1166 @DocsEditable()
1506 @Experimental() // untriaged 1167 @Experimental() // untriaged
1507 static const EventStreamProvider<AudioProcessingEvent> audioProcessEvent = con st EventStreamProvider<AudioProcessingEvent>('audioprocess'); 1168 static const EventStreamProvider<AudioProcessingEvent> audioProcessEvent = con st EventStreamProvider<AudioProcessingEvent>('audioprocess');
1508 1169
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
1521 @DomName('ScriptProcessorNode.bufferSize') 1170 @DomName('ScriptProcessorNode.bufferSize')
1522 @DocsEditable() 1171 @DocsEditable()
1523 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));
1524 1173
1525 @DomName('ScriptProcessorNode.setEventListener') 1174 @DomName('ScriptProcessorNode.setEventListener')
1526 @DocsEditable() 1175 @DocsEditable()
1527 @Experimental() // untriaged 1176 @Experimental() // untriaged
1528 void setEventListener(EventListener eventListener) => _blink.BlinkScriptProces sorNode.instance.setEventListener_Callback_1_(unwrap_jso(this), unwrap_jso(event Listener)); 1177 void setEventListener(EventListener eventListener) => _blink.BlinkScriptProces sorNode.instance.setEventListener_Callback_1_(unwrap_jso(this), unwrap_jso(event Listener));
1529 1178
1530 /// Stream of `audioprocess` events handled by this [ScriptProcessorNode]. 1179 /// Stream of `audioprocess` events handled by this [ScriptProcessorNode].
(...skipping 18 matching lines...) Expand all
1549 1198
1550 1199
1551 @DocsEditable() 1200 @DocsEditable()
1552 @DomName('WaveShaperNode') 1201 @DomName('WaveShaperNode')
1553 // 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
1554 @Experimental() 1203 @Experimental()
1555 class WaveShaperNode extends AudioNode { 1204 class WaveShaperNode extends AudioNode {
1556 // To suppress missing implicit constructor warnings. 1205 // To suppress missing implicit constructor warnings.
1557 factory WaveShaperNode._() { throw new UnsupportedError("Not supported"); } 1206 factory WaveShaperNode._() { throw new UnsupportedError("Not supported"); }
1558 1207
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
1571 @DomName('WaveShaperNode.curve') 1208 @DomName('WaveShaperNode.curve')
1572 @DocsEditable() 1209 @DocsEditable()
1573 Float32List get curve => wrap_jso(_blink.BlinkWaveShaperNode.instance.curve_Ge tter_(unwrap_jso(this))); 1210 Float32List get curve => wrap_jso(_blink.BlinkWaveShaperNode.instance.curve_Ge tter_(unwrap_jso(this)));
1574 1211
1575 @DomName('WaveShaperNode.curve') 1212 @DomName('WaveShaperNode.curve')
1576 @DocsEditable() 1213 @DocsEditable()
1577 void set curve(Float32List value) => _blink.BlinkWaveShaperNode.instance.curve _Setter_(unwrap_jso(this), unwrap_jso(value)); 1214 void set curve(Float32List value) => _blink.BlinkWaveShaperNode.instance.curve _Setter_(unwrap_jso(this), unwrap_jso(value));
1578 1215
1579 @DomName('WaveShaperNode.oversample') 1216 @DomName('WaveShaperNode.oversample')
1580 @DocsEditable() 1217 @DocsEditable()
1581 String get oversample => _blink.BlinkWaveShaperNode.instance.oversample_Getter _(unwrap_jso(this)); 1218 String get oversample => _blink.BlinkWaveShaperNode.instance.oversample_Getter _(unwrap_jso(this));
1582 1219
1583 @DomName('WaveShaperNode.oversample') 1220 @DomName('WaveShaperNode.oversample')
1584 @DocsEditable() 1221 @DocsEditable()
1585 void set oversample(String value) => _blink.BlinkWaveShaperNode.instance.overs ample_Setter_(unwrap_jso(this), value); 1222 void set oversample(String value) => _blink.BlinkWaveShaperNode.instance.overs ample_Setter_(unwrap_jso(this), value);
1586 1223
1587 } 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