OLD | NEW |
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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
57 | 57 |
58 | 58 |
59 @DocsEditable() | 59 @DocsEditable() |
60 @DomName('AnalyserNode') | 60 @DomName('AnalyserNode') |
61 // 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 |
62 @Experimental() | 62 @Experimental() |
63 class AnalyserNode extends AudioNode { | 63 class AnalyserNode extends AudioNode { |
64 // To suppress missing implicit constructor warnings. | 64 // To suppress missing implicit constructor warnings. |
65 factory AnalyserNode._() { throw new UnsupportedError("Not supported"); } | 65 factory AnalyserNode._() { throw new UnsupportedError("Not supported"); } |
66 | 66 |
67 | |
68 static AnalyserNode internalCreateAnalyserNode() { | |
69 return new AnalyserNode._internalWrap(); | |
70 } | |
71 | |
72 factory AnalyserNode._internalWrap() { | |
73 return new AnalyserNode._internal(); | |
74 } | |
75 | |
76 AnalyserNode._internal() : super._internal(); | |
77 | |
78 | |
79 @DomName('AnalyserNode.fftSize') | 67 @DomName('AnalyserNode.fftSize') |
80 @DocsEditable() | 68 @DocsEditable() |
81 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)); |
82 | 70 |
83 @DomName('AnalyserNode.fftSize') | 71 @DomName('AnalyserNode.fftSize') |
84 @DocsEditable() | 72 @DocsEditable() |
85 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); |
86 | 74 |
87 @DomName('AnalyserNode.frequencyBinCount') | 75 @DomName('AnalyserNode.frequencyBinCount') |
88 @DocsEditable() | 76 @DocsEditable() |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
138 | 126 |
139 | 127 |
140 @DocsEditable() | 128 @DocsEditable() |
141 @DomName('AudioBuffer') | 129 @DomName('AudioBuffer') |
142 // 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 |
143 @Experimental() | 131 @Experimental() |
144 class AudioBuffer extends NativeFieldWrapperClass2 { | 132 class AudioBuffer extends NativeFieldWrapperClass2 { |
145 // To suppress missing implicit constructor warnings. | 133 // To suppress missing implicit constructor warnings. |
146 factory AudioBuffer._() { throw new UnsupportedError("Not supported"); } | 134 factory AudioBuffer._() { throw new UnsupportedError("Not supported"); } |
147 | 135 |
148 static AudioBuffer internalCreateAudioBuffer() { | |
149 return new AudioBuffer._internalWrap(); | |
150 } | |
151 | |
152 JsObject blink_jsObject = null; | |
153 | |
154 factory AudioBuffer._internalWrap() { | |
155 return new AudioBuffer._internal(); | |
156 } | |
157 | |
158 AudioBuffer._internal() { } | |
159 | |
160 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(
this, other); | |
161 | |
162 @DomName('AudioBuffer.duration') | 136 @DomName('AudioBuffer.duration') |
163 @DocsEditable() | 137 @DocsEditable() |
164 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)); |
165 | 139 |
166 @DomName('AudioBuffer.length') | 140 @DomName('AudioBuffer.length') |
167 @DocsEditable() | 141 @DocsEditable() |
168 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)); |
169 | 143 |
170 @DomName('AudioBuffer.numberOfChannels') | 144 @DomName('AudioBuffer.numberOfChannels') |
171 @DocsEditable() | 145 @DocsEditable() |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
212 * Static factory designed to expose `ended` events to event | 186 * Static factory designed to expose `ended` events to event |
213 * handlers that are not necessarily instances of [AudioBufferSourceNode]. | 187 * handlers that are not necessarily instances of [AudioBufferSourceNode]. |
214 * | 188 * |
215 * See [EventStreamProvider] for usage information. | 189 * See [EventStreamProvider] for usage information. |
216 */ | 190 */ |
217 @DomName('AudioBufferSourceNode.endedEvent') | 191 @DomName('AudioBufferSourceNode.endedEvent') |
218 @DocsEditable() | 192 @DocsEditable() |
219 @Experimental() // untriaged | 193 @Experimental() // untriaged |
220 static const EventStreamProvider<Event> endedEvent = const EventStreamProvider
<Event>('ended'); | 194 static const EventStreamProvider<Event> endedEvent = const EventStreamProvider
<Event>('ended'); |
221 | 195 |
222 | |
223 static AudioBufferSourceNode internalCreateAudioBufferSourceNode() { | |
224 return new AudioBufferSourceNode._internalWrap(); | |
225 } | |
226 | |
227 factory AudioBufferSourceNode._internalWrap() { | |
228 return new AudioBufferSourceNode._internal(); | |
229 } | |
230 | |
231 AudioBufferSourceNode._internal() : super._internal(); | |
232 | |
233 | |
234 @DomName('AudioBufferSourceNode.buffer') | 196 @DomName('AudioBufferSourceNode.buffer') |
235 @DocsEditable() | 197 @DocsEditable() |
236 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))); |
237 | 199 |
238 @DomName('AudioBufferSourceNode.buffer') | 200 @DomName('AudioBufferSourceNode.buffer') |
239 @DocsEditable() | 201 @DocsEditable() |
240 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)); |
241 | 203 |
242 @DomName('AudioBufferSourceNode.loop') | 204 @DomName('AudioBufferSourceNode.loop') |
243 @DocsEditable() | 205 @DocsEditable() |
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
323 @DomName('AudioContext.completeEvent') | 285 @DomName('AudioContext.completeEvent') |
324 @DocsEditable() | 286 @DocsEditable() |
325 static const EventStreamProvider<Event> completeEvent = const EventStreamProvi
der<Event>('complete'); | 287 static const EventStreamProvider<Event> completeEvent = const EventStreamProvi
der<Event>('complete'); |
326 | 288 |
327 @DomName('AudioContext.AudioContext') | 289 @DomName('AudioContext.AudioContext') |
328 @DocsEditable() | 290 @DocsEditable() |
329 factory AudioContext() { | 291 factory AudioContext() { |
330 return _blink.BlinkAudioContext.instance.constructorCallback_0_(); | 292 return _blink.BlinkAudioContext.instance.constructorCallback_0_(); |
331 } | 293 } |
332 | 294 |
333 | |
334 static AudioContext internalCreateAudioContext() { | |
335 return new AudioContext._internalWrap(); | |
336 } | |
337 | |
338 factory AudioContext._internalWrap() { | |
339 return new AudioContext._internal(); | |
340 } | |
341 | |
342 AudioContext._internal() : super._internal(); | |
343 | |
344 | |
345 /// Checks if this type is supported on the current platform. | 295 /// Checks if this type is supported on the current platform. |
346 static bool get supported => true; | 296 static bool get supported => true; |
347 | 297 |
348 @DomName('AudioContext.currentTime') | 298 @DomName('AudioContext.currentTime') |
349 @DocsEditable() | 299 @DocsEditable() |
350 double get currentTime => _blink.BlinkAudioContext.instance.currentTime_Getter
_(unwrap_jso(this)); | 300 double get currentTime => _blink.BlinkAudioContext.instance.currentTime_Getter
_(unwrap_jso(this)); |
351 | 301 |
352 @DomName('AudioContext.destination') | 302 @DomName('AudioContext.destination') |
353 @DocsEditable() | 303 @DocsEditable() |
354 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 Loading... |
488 | 438 |
489 | 439 |
490 @DocsEditable() | 440 @DocsEditable() |
491 @DomName('AudioDestinationNode') | 441 @DomName('AudioDestinationNode') |
492 // 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 |
493 @Experimental() | 443 @Experimental() |
494 class AudioDestinationNode extends AudioNode { | 444 class AudioDestinationNode extends AudioNode { |
495 // To suppress missing implicit constructor warnings. | 445 // To suppress missing implicit constructor warnings. |
496 factory AudioDestinationNode._() { throw new UnsupportedError("Not supported")
; } | 446 factory AudioDestinationNode._() { throw new UnsupportedError("Not supported")
; } |
497 | 447 |
498 | |
499 static AudioDestinationNode internalCreateAudioDestinationNode() { | |
500 return new AudioDestinationNode._internalWrap(); | |
501 } | |
502 | |
503 factory AudioDestinationNode._internalWrap() { | |
504 return new AudioDestinationNode._internal(); | |
505 } | |
506 | |
507 AudioDestinationNode._internal() : super._internal(); | |
508 | |
509 | |
510 @DomName('AudioDestinationNode.maxChannelCount') | 448 @DomName('AudioDestinationNode.maxChannelCount') |
511 @DocsEditable() | 449 @DocsEditable() |
512 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)); |
513 | 451 |
514 } | 452 } |
515 // 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 |
516 // 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 |
517 // BSD-style license that can be found in the LICENSE file. | 455 // BSD-style license that can be found in the LICENSE file. |
518 | 456 |
519 // WARNING: Do not edit - generated code. | 457 // WARNING: Do not edit - generated code. |
520 | 458 |
521 | 459 |
522 @DocsEditable() | 460 @DocsEditable() |
523 @DomName('AudioListener') | 461 @DomName('AudioListener') |
524 // 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 |
525 @Experimental() | 463 @Experimental() |
526 class AudioListener extends NativeFieldWrapperClass2 { | 464 class AudioListener extends NativeFieldWrapperClass2 { |
527 // To suppress missing implicit constructor warnings. | 465 // To suppress missing implicit constructor warnings. |
528 factory AudioListener._() { throw new UnsupportedError("Not supported"); } | 466 factory AudioListener._() { throw new UnsupportedError("Not supported"); } |
529 | 467 |
530 static AudioListener internalCreateAudioListener() { | |
531 return new AudioListener._internalWrap(); | |
532 } | |
533 | |
534 JsObject blink_jsObject = null; | |
535 | |
536 factory AudioListener._internalWrap() { | |
537 return new AudioListener._internal(); | |
538 } | |
539 | |
540 AudioListener._internal() { } | |
541 | |
542 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(
this, other); | |
543 | |
544 @DomName('AudioListener.dopplerFactor') | 468 @DomName('AudioListener.dopplerFactor') |
545 @DocsEditable() | 469 @DocsEditable() |
546 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)); |
547 | 471 |
548 @DomName('AudioListener.dopplerFactor') | 472 @DomName('AudioListener.dopplerFactor') |
549 @DocsEditable() | 473 @DocsEditable() |
550 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); |
551 | 475 |
552 @DomName('AudioListener.speedOfSound') | 476 @DomName('AudioListener.speedOfSound') |
553 @DocsEditable() | 477 @DocsEditable() |
(...skipping 21 matching lines...) Expand all Loading... |
575 // BSD-style license that can be found in the LICENSE file. | 499 // BSD-style license that can be found in the LICENSE file. |
576 | 500 |
577 | 501 |
578 @DomName('AudioNode') | 502 @DomName('AudioNode') |
579 // 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 |
580 @Experimental() | 504 @Experimental() |
581 class AudioNode extends EventTarget { | 505 class AudioNode extends EventTarget { |
582 // To suppress missing implicit constructor warnings. | 506 // To suppress missing implicit constructor warnings. |
583 factory AudioNode._() { throw new UnsupportedError("Not supported"); } | 507 factory AudioNode._() { throw new UnsupportedError("Not supported"); } |
584 | 508 |
585 | |
586 static AudioNode internalCreateAudioNode() { | |
587 return new AudioNode._internalWrap(); | |
588 } | |
589 | |
590 factory AudioNode._internalWrap() { | |
591 return new AudioNode._internal(); | |
592 } | |
593 | |
594 AudioNode._internal() : super._internal(); | |
595 | |
596 | |
597 @DomName('AudioNode.channelCount') | 509 @DomName('AudioNode.channelCount') |
598 @DocsEditable() | 510 @DocsEditable() |
599 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)); |
600 | 512 |
601 @DomName('AudioNode.channelCount') | 513 @DomName('AudioNode.channelCount') |
602 @DocsEditable() | 514 @DocsEditable() |
603 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); |
604 | 516 |
605 @DomName('AudioNode.channelCountMode') | 517 @DomName('AudioNode.channelCountMode') |
606 @DocsEditable() | 518 @DocsEditable() |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
662 | 574 |
663 | 575 |
664 @DocsEditable() | 576 @DocsEditable() |
665 @DomName('AudioParam') | 577 @DomName('AudioParam') |
666 // 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 |
667 @Experimental() | 579 @Experimental() |
668 class AudioParam extends NativeFieldWrapperClass2 { | 580 class AudioParam extends NativeFieldWrapperClass2 { |
669 // To suppress missing implicit constructor warnings. | 581 // To suppress missing implicit constructor warnings. |
670 factory AudioParam._() { throw new UnsupportedError("Not supported"); } | 582 factory AudioParam._() { throw new UnsupportedError("Not supported"); } |
671 | 583 |
672 static AudioParam internalCreateAudioParam() { | |
673 return new AudioParam._internalWrap(); | |
674 } | |
675 | |
676 JsObject blink_jsObject = null; | |
677 | |
678 factory AudioParam._internalWrap() { | |
679 return new AudioParam._internal(); | |
680 } | |
681 | |
682 AudioParam._internal() { } | |
683 | |
684 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(
this, other); | |
685 | |
686 @DomName('AudioParam.defaultValue') | 584 @DomName('AudioParam.defaultValue') |
687 @DocsEditable() | 585 @DocsEditable() |
688 double get defaultValue => _blink.BlinkAudioParam.instance.defaultValue_Getter
_(unwrap_jso(this)); | 586 double get defaultValue => _blink.BlinkAudioParam.instance.defaultValue_Getter
_(unwrap_jso(this)); |
689 | 587 |
690 @DomName('AudioParam.value') | 588 @DomName('AudioParam.value') |
691 @DocsEditable() | 589 @DocsEditable() |
692 num get value => _blink.BlinkAudioParam.instance.value_Getter_(unwrap_jso(this
)); | 590 num get value => _blink.BlinkAudioParam.instance.value_Getter_(unwrap_jso(this
)); |
693 | 591 |
694 @DomName('AudioParam.value') | 592 @DomName('AudioParam.value') |
695 @DocsEditable() | 593 @DocsEditable() |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
728 | 626 |
729 | 627 |
730 @DocsEditable() | 628 @DocsEditable() |
731 @DomName('AudioProcessingEvent') | 629 @DomName('AudioProcessingEvent') |
732 // 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 |
733 @Experimental() | 631 @Experimental() |
734 class AudioProcessingEvent extends Event { | 632 class AudioProcessingEvent extends Event { |
735 // To suppress missing implicit constructor warnings. | 633 // To suppress missing implicit constructor warnings. |
736 factory AudioProcessingEvent._() { throw new UnsupportedError("Not supported")
; } | 634 factory AudioProcessingEvent._() { throw new UnsupportedError("Not supported")
; } |
737 | 635 |
738 | |
739 static AudioProcessingEvent internalCreateAudioProcessingEvent() { | |
740 return new AudioProcessingEvent._internalWrap(); | |
741 } | |
742 | |
743 factory AudioProcessingEvent._internalWrap() { | |
744 return new AudioProcessingEvent._internal(); | |
745 } | |
746 | |
747 AudioProcessingEvent._internal() : super._internal(); | |
748 | |
749 | |
750 @DomName('AudioProcessingEvent.inputBuffer') | 636 @DomName('AudioProcessingEvent.inputBuffer') |
751 @DocsEditable() | 637 @DocsEditable() |
752 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))); |
753 | 639 |
754 @DomName('AudioProcessingEvent.outputBuffer') | 640 @DomName('AudioProcessingEvent.outputBuffer') |
755 @DocsEditable() | 641 @DocsEditable() |
756 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))); |
757 | 643 |
758 @DomName('AudioProcessingEvent.playbackTime') | 644 @DomName('AudioProcessingEvent.playbackTime') |
759 @DocsEditable() | 645 @DocsEditable() |
760 @Experimental() // untriaged | 646 @Experimental() // untriaged |
761 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)); |
762 | 648 |
763 } | 649 } |
764 // 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 |
765 // 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 |
766 // BSD-style license that can be found in the LICENSE file. | 652 // BSD-style license that can be found in the LICENSE file. |
767 | 653 |
768 // WARNING: Do not edit - generated code. | 654 // WARNING: Do not edit - generated code. |
769 | 655 |
770 | 656 |
771 @DocsEditable() | 657 @DocsEditable() |
772 @DomName('AudioSourceNode') | 658 @DomName('AudioSourceNode') |
773 // 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 |
774 @Experimental() | 660 @Experimental() |
775 class AudioSourceNode extends AudioNode { | 661 class AudioSourceNode extends AudioNode { |
776 // To suppress missing implicit constructor warnings. | 662 // To suppress missing implicit constructor warnings. |
777 factory AudioSourceNode._() { throw new UnsupportedError("Not supported"); } | 663 factory AudioSourceNode._() { throw new UnsupportedError("Not supported"); } |
778 | 664 |
779 | |
780 static AudioSourceNode internalCreateAudioSourceNode() { | |
781 return new AudioSourceNode._internalWrap(); | |
782 } | |
783 | |
784 factory AudioSourceNode._internalWrap() { | |
785 return new AudioSourceNode._internal(); | |
786 } | |
787 | |
788 AudioSourceNode._internal() : super._internal(); | |
789 | |
790 | |
791 } | 665 } |
792 // 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 |
793 // 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 |
794 // BSD-style license that can be found in the LICENSE file. | 668 // BSD-style license that can be found in the LICENSE file. |
795 | 669 |
796 // WARNING: Do not edit - generated code. | 670 // WARNING: Do not edit - generated code. |
797 | 671 |
798 | 672 |
799 @DocsEditable() | 673 @DocsEditable() |
800 @DomName('BiquadFilterNode') | 674 @DomName('BiquadFilterNode') |
801 // 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 |
802 @Experimental() | 676 @Experimental() |
803 class BiquadFilterNode extends AudioNode { | 677 class BiquadFilterNode extends AudioNode { |
804 // To suppress missing implicit constructor warnings. | 678 // To suppress missing implicit constructor warnings. |
805 factory BiquadFilterNode._() { throw new UnsupportedError("Not supported"); } | 679 factory BiquadFilterNode._() { throw new UnsupportedError("Not supported"); } |
806 | 680 |
807 | |
808 static BiquadFilterNode internalCreateBiquadFilterNode() { | |
809 return new BiquadFilterNode._internalWrap(); | |
810 } | |
811 | |
812 factory BiquadFilterNode._internalWrap() { | |
813 return new BiquadFilterNode._internal(); | |
814 } | |
815 | |
816 BiquadFilterNode._internal() : super._internal(); | |
817 | |
818 | |
819 @DomName('BiquadFilterNode.Q') | 681 @DomName('BiquadFilterNode.Q') |
820 @DocsEditable() | 682 @DocsEditable() |
821 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))); |
822 | 684 |
823 @DomName('BiquadFilterNode.detune') | 685 @DomName('BiquadFilterNode.detune') |
824 @DocsEditable() | 686 @DocsEditable() |
825 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))); |
826 | 688 |
827 @DomName('BiquadFilterNode.frequency') | 689 @DomName('BiquadFilterNode.frequency') |
828 @DocsEditable() | 690 @DocsEditable() |
(...skipping 24 matching lines...) Expand all Loading... |
853 | 715 |
854 | 716 |
855 @DocsEditable() | 717 @DocsEditable() |
856 @DomName('ChannelMergerNode') | 718 @DomName('ChannelMergerNode') |
857 // 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 |
858 @Experimental() | 720 @Experimental() |
859 class ChannelMergerNode extends AudioNode { | 721 class ChannelMergerNode extends AudioNode { |
860 // To suppress missing implicit constructor warnings. | 722 // To suppress missing implicit constructor warnings. |
861 factory ChannelMergerNode._() { throw new UnsupportedError("Not supported"); } | 723 factory ChannelMergerNode._() { throw new UnsupportedError("Not supported"); } |
862 | 724 |
863 | |
864 static ChannelMergerNode internalCreateChannelMergerNode() { | |
865 return new ChannelMergerNode._internalWrap(); | |
866 } | |
867 | |
868 factory ChannelMergerNode._internalWrap() { | |
869 return new ChannelMergerNode._internal(); | |
870 } | |
871 | |
872 ChannelMergerNode._internal() : super._internal(); | |
873 | |
874 | |
875 } | 725 } |
876 // 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 |
877 // 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 |
878 // BSD-style license that can be found in the LICENSE file. | 728 // BSD-style license that can be found in the LICENSE file. |
879 | 729 |
880 // WARNING: Do not edit - generated code. | 730 // WARNING: Do not edit - generated code. |
881 | 731 |
882 | 732 |
883 @DocsEditable() | 733 @DocsEditable() |
884 @DomName('ChannelSplitterNode') | 734 @DomName('ChannelSplitterNode') |
885 // 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 |
886 @Experimental() | 736 @Experimental() |
887 class ChannelSplitterNode extends AudioNode { | 737 class ChannelSplitterNode extends AudioNode { |
888 // To suppress missing implicit constructor warnings. | 738 // To suppress missing implicit constructor warnings. |
889 factory ChannelSplitterNode._() { throw new UnsupportedError("Not supported");
} | 739 factory ChannelSplitterNode._() { throw new UnsupportedError("Not supported");
} |
890 | 740 |
891 | |
892 static ChannelSplitterNode internalCreateChannelSplitterNode() { | |
893 return new ChannelSplitterNode._internalWrap(); | |
894 } | |
895 | |
896 factory ChannelSplitterNode._internalWrap() { | |
897 return new ChannelSplitterNode._internal(); | |
898 } | |
899 | |
900 ChannelSplitterNode._internal() : super._internal(); | |
901 | |
902 | |
903 } | 741 } |
904 // 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 |
905 // 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 |
906 // BSD-style license that can be found in the LICENSE file. | 744 // BSD-style license that can be found in the LICENSE file. |
907 | 745 |
908 // WARNING: Do not edit - generated code. | 746 // WARNING: Do not edit - generated code. |
909 | 747 |
910 | 748 |
911 @DocsEditable() | 749 @DocsEditable() |
912 @DomName('ConvolverNode') | 750 @DomName('ConvolverNode') |
913 // 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 |
914 @Experimental() | 752 @Experimental() |
915 class ConvolverNode extends AudioNode { | 753 class ConvolverNode extends AudioNode { |
916 // To suppress missing implicit constructor warnings. | 754 // To suppress missing implicit constructor warnings. |
917 factory ConvolverNode._() { throw new UnsupportedError("Not supported"); } | 755 factory ConvolverNode._() { throw new UnsupportedError("Not supported"); } |
918 | 756 |
919 | |
920 static ConvolverNode internalCreateConvolverNode() { | |
921 return new ConvolverNode._internalWrap(); | |
922 } | |
923 | |
924 factory ConvolverNode._internalWrap() { | |
925 return new ConvolverNode._internal(); | |
926 } | |
927 | |
928 ConvolverNode._internal() : super._internal(); | |
929 | |
930 | |
931 @DomName('ConvolverNode.buffer') | 757 @DomName('ConvolverNode.buffer') |
932 @DocsEditable() | 758 @DocsEditable() |
933 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))); |
934 | 760 |
935 @DomName('ConvolverNode.buffer') | 761 @DomName('ConvolverNode.buffer') |
936 @DocsEditable() | 762 @DocsEditable() |
937 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)); |
938 | 764 |
939 @DomName('ConvolverNode.normalize') | 765 @DomName('ConvolverNode.normalize') |
940 @DocsEditable() | 766 @DocsEditable() |
(...skipping 12 matching lines...) Expand all Loading... |
953 | 779 |
954 | 780 |
955 @DocsEditable() | 781 @DocsEditable() |
956 @DomName('DelayNode') | 782 @DomName('DelayNode') |
957 // 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 |
958 @Experimental() | 784 @Experimental() |
959 class DelayNode extends AudioNode { | 785 class DelayNode extends AudioNode { |
960 // To suppress missing implicit constructor warnings. | 786 // To suppress missing implicit constructor warnings. |
961 factory DelayNode._() { throw new UnsupportedError("Not supported"); } | 787 factory DelayNode._() { throw new UnsupportedError("Not supported"); } |
962 | 788 |
963 | |
964 static DelayNode internalCreateDelayNode() { | |
965 return new DelayNode._internalWrap(); | |
966 } | |
967 | |
968 factory DelayNode._internalWrap() { | |
969 return new DelayNode._internal(); | |
970 } | |
971 | |
972 DelayNode._internal() : super._internal(); | |
973 | |
974 | |
975 @DomName('DelayNode.delayTime') | 789 @DomName('DelayNode.delayTime') |
976 @DocsEditable() | 790 @DocsEditable() |
977 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))); |
978 | 792 |
979 } | 793 } |
980 // 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 |
981 // 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 |
982 // BSD-style license that can be found in the LICENSE file. | 796 // BSD-style license that can be found in the LICENSE file. |
983 | 797 |
984 // WARNING: Do not edit - generated code. | 798 // WARNING: Do not edit - generated code. |
985 | 799 |
986 | 800 |
987 @DocsEditable() | 801 @DocsEditable() |
988 @DomName('DynamicsCompressorNode') | 802 @DomName('DynamicsCompressorNode') |
989 // 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 |
990 @Experimental() | 804 @Experimental() |
991 class DynamicsCompressorNode extends AudioNode { | 805 class DynamicsCompressorNode extends AudioNode { |
992 // To suppress missing implicit constructor warnings. | 806 // To suppress missing implicit constructor warnings. |
993 factory DynamicsCompressorNode._() { throw new UnsupportedError("Not supported
"); } | 807 factory DynamicsCompressorNode._() { throw new UnsupportedError("Not supported
"); } |
994 | 808 |
995 | |
996 static DynamicsCompressorNode internalCreateDynamicsCompressorNode() { | |
997 return new DynamicsCompressorNode._internalWrap(); | |
998 } | |
999 | |
1000 factory DynamicsCompressorNode._internalWrap() { | |
1001 return new DynamicsCompressorNode._internal(); | |
1002 } | |
1003 | |
1004 DynamicsCompressorNode._internal() : super._internal(); | |
1005 | |
1006 | |
1007 @DomName('DynamicsCompressorNode.attack') | 809 @DomName('DynamicsCompressorNode.attack') |
1008 @DocsEditable() | 810 @DocsEditable() |
1009 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))); |
1010 | 812 |
1011 @DomName('DynamicsCompressorNode.knee') | 813 @DomName('DynamicsCompressorNode.knee') |
1012 @DocsEditable() | 814 @DocsEditable() |
1013 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))); |
1014 | 816 |
1015 @DomName('DynamicsCompressorNode.ratio') | 817 @DomName('DynamicsCompressorNode.ratio') |
1016 @DocsEditable() | 818 @DocsEditable() |
(...skipping 20 matching lines...) Expand all Loading... |
1037 | 839 |
1038 | 840 |
1039 @DocsEditable() | 841 @DocsEditable() |
1040 @DomName('GainNode') | 842 @DomName('GainNode') |
1041 // 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 |
1042 @Experimental() | 844 @Experimental() |
1043 class GainNode extends AudioNode { | 845 class GainNode extends AudioNode { |
1044 // To suppress missing implicit constructor warnings. | 846 // To suppress missing implicit constructor warnings. |
1045 factory GainNode._() { throw new UnsupportedError("Not supported"); } | 847 factory GainNode._() { throw new UnsupportedError("Not supported"); } |
1046 | 848 |
1047 | |
1048 static GainNode internalCreateGainNode() { | |
1049 return new GainNode._internalWrap(); | |
1050 } | |
1051 | |
1052 factory GainNode._internalWrap() { | |
1053 return new GainNode._internal(); | |
1054 } | |
1055 | |
1056 GainNode._internal() : super._internal(); | |
1057 | |
1058 | |
1059 @DomName('GainNode.gain') | 849 @DomName('GainNode.gain') |
1060 @DocsEditable() | 850 @DocsEditable() |
1061 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))); |
1062 | 852 |
1063 } | 853 } |
1064 // 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 |
1065 // 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 |
1066 // BSD-style license that can be found in the LICENSE file. | 856 // BSD-style license that can be found in the LICENSE file. |
1067 | 857 |
1068 // WARNING: Do not edit - generated code. | 858 // WARNING: Do not edit - generated code. |
1069 | 859 |
1070 | 860 |
1071 @DocsEditable() | 861 @DocsEditable() |
1072 @DomName('MediaElementAudioSourceNode') | 862 @DomName('MediaElementAudioSourceNode') |
1073 // 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 |
1074 @Experimental() | 864 @Experimental() |
1075 class MediaElementAudioSourceNode extends AudioSourceNode { | 865 class MediaElementAudioSourceNode extends AudioSourceNode { |
1076 // To suppress missing implicit constructor warnings. | 866 // To suppress missing implicit constructor warnings. |
1077 factory MediaElementAudioSourceNode._() { throw new UnsupportedError("Not supp
orted"); } | 867 factory MediaElementAudioSourceNode._() { throw new UnsupportedError("Not supp
orted"); } |
1078 | 868 |
1079 | |
1080 static MediaElementAudioSourceNode internalCreateMediaElementAudioSourceNode()
{ | |
1081 return new MediaElementAudioSourceNode._internalWrap(); | |
1082 } | |
1083 | |
1084 factory MediaElementAudioSourceNode._internalWrap() { | |
1085 return new MediaElementAudioSourceNode._internal(); | |
1086 } | |
1087 | |
1088 MediaElementAudioSourceNode._internal() : super._internal(); | |
1089 | |
1090 | |
1091 @DomName('MediaElementAudioSourceNode.mediaElement') | 869 @DomName('MediaElementAudioSourceNode.mediaElement') |
1092 @DocsEditable() | 870 @DocsEditable() |
1093 @Experimental() // non-standard | 871 @Experimental() // non-standard |
1094 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))); |
1095 | 873 |
1096 } | 874 } |
1097 // 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 |
1098 // 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 |
1099 // BSD-style license that can be found in the LICENSE file. | 877 // BSD-style license that can be found in the LICENSE file. |
1100 | 878 |
1101 // WARNING: Do not edit - generated code. | 879 // WARNING: Do not edit - generated code. |
1102 | 880 |
1103 | 881 |
1104 @DocsEditable() | 882 @DocsEditable() |
1105 @DomName('MediaStreamAudioDestinationNode') | 883 @DomName('MediaStreamAudioDestinationNode') |
1106 // 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 |
1107 @Experimental() | 885 @Experimental() |
1108 class MediaStreamAudioDestinationNode extends AudioNode { | 886 class MediaStreamAudioDestinationNode extends AudioNode { |
1109 // To suppress missing implicit constructor warnings. | 887 // To suppress missing implicit constructor warnings. |
1110 factory MediaStreamAudioDestinationNode._() { throw new UnsupportedError("Not
supported"); } | 888 factory MediaStreamAudioDestinationNode._() { throw new UnsupportedError("Not
supported"); } |
1111 | 889 |
1112 | |
1113 static MediaStreamAudioDestinationNode internalCreateMediaStreamAudioDestinati
onNode() { | |
1114 return new MediaStreamAudioDestinationNode._internalWrap(); | |
1115 } | |
1116 | |
1117 factory MediaStreamAudioDestinationNode._internalWrap() { | |
1118 return new MediaStreamAudioDestinationNode._internal(); | |
1119 } | |
1120 | |
1121 MediaStreamAudioDestinationNode._internal() : super._internal(); | |
1122 | |
1123 | |
1124 @DomName('MediaStreamAudioDestinationNode.stream') | 890 @DomName('MediaStreamAudioDestinationNode.stream') |
1125 @DocsEditable() | 891 @DocsEditable() |
1126 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))); |
1127 | 893 |
1128 } | 894 } |
1129 // 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 |
1130 // 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 |
1131 // BSD-style license that can be found in the LICENSE file. | 897 // BSD-style license that can be found in the LICENSE file. |
1132 | 898 |
1133 // WARNING: Do not edit - generated code. | 899 // WARNING: Do not edit - generated code. |
1134 | 900 |
1135 | 901 |
1136 @DocsEditable() | 902 @DocsEditable() |
1137 @DomName('MediaStreamAudioSourceNode') | 903 @DomName('MediaStreamAudioSourceNode') |
1138 // 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 |
1139 @Experimental() | 905 @Experimental() |
1140 class MediaStreamAudioSourceNode extends AudioSourceNode { | 906 class MediaStreamAudioSourceNode extends AudioSourceNode { |
1141 // To suppress missing implicit constructor warnings. | 907 // To suppress missing implicit constructor warnings. |
1142 factory MediaStreamAudioSourceNode._() { throw new UnsupportedError("Not suppo
rted"); } | 908 factory MediaStreamAudioSourceNode._() { throw new UnsupportedError("Not suppo
rted"); } |
1143 | 909 |
1144 | |
1145 static MediaStreamAudioSourceNode internalCreateMediaStreamAudioSourceNode() { | |
1146 return new MediaStreamAudioSourceNode._internalWrap(); | |
1147 } | |
1148 | |
1149 factory MediaStreamAudioSourceNode._internalWrap() { | |
1150 return new MediaStreamAudioSourceNode._internal(); | |
1151 } | |
1152 | |
1153 MediaStreamAudioSourceNode._internal() : super._internal(); | |
1154 | |
1155 | |
1156 @DomName('MediaStreamAudioSourceNode.mediaStream') | 910 @DomName('MediaStreamAudioSourceNode.mediaStream') |
1157 @DocsEditable() | 911 @DocsEditable() |
1158 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))); |
1159 | 913 |
1160 } | 914 } |
1161 // 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 |
1162 // 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 |
1163 // BSD-style license that can be found in the LICENSE file. | 917 // BSD-style license that can be found in the LICENSE file. |
1164 | 918 |
1165 // WARNING: Do not edit - generated code. | 919 // WARNING: Do not edit - generated code. |
1166 | 920 |
1167 | 921 |
1168 @DocsEditable() | 922 @DocsEditable() |
1169 @DomName('OfflineAudioCompletionEvent') | 923 @DomName('OfflineAudioCompletionEvent') |
1170 // 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 |
1171 @Experimental() | 925 @Experimental() |
1172 class OfflineAudioCompletionEvent extends Event { | 926 class OfflineAudioCompletionEvent extends Event { |
1173 // To suppress missing implicit constructor warnings. | 927 // To suppress missing implicit constructor warnings. |
1174 factory OfflineAudioCompletionEvent._() { throw new UnsupportedError("Not supp
orted"); } | 928 factory OfflineAudioCompletionEvent._() { throw new UnsupportedError("Not supp
orted"); } |
1175 | 929 |
1176 | |
1177 static OfflineAudioCompletionEvent internalCreateOfflineAudioCompletionEvent()
{ | |
1178 return new OfflineAudioCompletionEvent._internalWrap(); | |
1179 } | |
1180 | |
1181 factory OfflineAudioCompletionEvent._internalWrap() { | |
1182 return new OfflineAudioCompletionEvent._internal(); | |
1183 } | |
1184 | |
1185 OfflineAudioCompletionEvent._internal() : super._internal(); | |
1186 | |
1187 | |
1188 @DomName('OfflineAudioCompletionEvent.renderedBuffer') | 930 @DomName('OfflineAudioCompletionEvent.renderedBuffer') |
1189 @DocsEditable() | 931 @DocsEditable() |
1190 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))); |
1191 | 933 |
1192 } | 934 } |
1193 // 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 |
1194 // 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 |
1195 // BSD-style license that can be found in the LICENSE file. | 937 // BSD-style license that can be found in the LICENSE file. |
1196 | 938 |
1197 // WARNING: Do not edit - generated code. | 939 // WARNING: Do not edit - generated code. |
1198 | 940 |
1199 | 941 |
1200 @DocsEditable() | 942 @DocsEditable() |
1201 @DomName('OfflineAudioContext') | 943 @DomName('OfflineAudioContext') |
1202 // 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 |
1203 @Experimental() | 945 @Experimental() |
1204 class OfflineAudioContext extends AudioContext { | 946 class OfflineAudioContext extends AudioContext { |
1205 // To suppress missing implicit constructor warnings. | 947 // To suppress missing implicit constructor warnings. |
1206 factory OfflineAudioContext._() { throw new UnsupportedError("Not supported");
} | 948 factory OfflineAudioContext._() { throw new UnsupportedError("Not supported");
} |
1207 | 949 |
1208 @DomName('OfflineAudioContext.OfflineAudioContext') | 950 @DomName('OfflineAudioContext.OfflineAudioContext') |
1209 @DocsEditable() | 951 @DocsEditable() |
1210 factory OfflineAudioContext(int numberOfChannels, int numberOfFrames, num samp
leRate) { | 952 factory OfflineAudioContext(int numberOfChannels, int numberOfFrames, num samp
leRate) { |
1211 return _blink.BlinkOfflineAudioContext.instance.constructorCallback_3_(numbe
rOfChannels, numberOfFrames, sampleRate); | 953 return _blink.BlinkOfflineAudioContext.instance.constructorCallback_3_(numbe
rOfChannels, numberOfFrames, sampleRate); |
1212 } | 954 } |
1213 | 955 |
1214 | |
1215 static OfflineAudioContext internalCreateOfflineAudioContext() { | |
1216 return new OfflineAudioContext._internalWrap(); | |
1217 } | |
1218 | |
1219 factory OfflineAudioContext._internalWrap() { | |
1220 return new OfflineAudioContext._internal(); | |
1221 } | |
1222 | |
1223 OfflineAudioContext._internal() : super._internal(); | |
1224 | |
1225 | |
1226 } | 956 } |
1227 // 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 |
1228 // 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 |
1229 // BSD-style license that can be found in the LICENSE file. | 959 // BSD-style license that can be found in the LICENSE file. |
1230 | 960 |
1231 // WARNING: Do not edit - generated code. | 961 // WARNING: Do not edit - generated code. |
1232 | 962 |
1233 | 963 |
1234 @DocsEditable() | 964 @DocsEditable() |
1235 @DomName('OscillatorNode') | 965 @DomName('OscillatorNode') |
1236 // 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 |
1237 @Experimental() | 967 @Experimental() |
1238 class OscillatorNode extends AudioSourceNode { | 968 class OscillatorNode extends AudioSourceNode { |
1239 // To suppress missing implicit constructor warnings. | 969 // To suppress missing implicit constructor warnings. |
1240 factory OscillatorNode._() { throw new UnsupportedError("Not supported"); } | 970 factory OscillatorNode._() { throw new UnsupportedError("Not supported"); } |
1241 | 971 |
1242 /** | 972 /** |
1243 * Static factory designed to expose `ended` events to event | 973 * Static factory designed to expose `ended` events to event |
1244 * handlers that are not necessarily instances of [OscillatorNode]. | 974 * handlers that are not necessarily instances of [OscillatorNode]. |
1245 * | 975 * |
1246 * See [EventStreamProvider] for usage information. | 976 * See [EventStreamProvider] for usage information. |
1247 */ | 977 */ |
1248 @DomName('OscillatorNode.endedEvent') | 978 @DomName('OscillatorNode.endedEvent') |
1249 @DocsEditable() | 979 @DocsEditable() |
1250 @Experimental() // untriaged | 980 @Experimental() // untriaged |
1251 static const EventStreamProvider<Event> endedEvent = const EventStreamProvider
<Event>('ended'); | 981 static const EventStreamProvider<Event> endedEvent = const EventStreamProvider
<Event>('ended'); |
1252 | 982 |
1253 | |
1254 static OscillatorNode internalCreateOscillatorNode() { | |
1255 return new OscillatorNode._internalWrap(); | |
1256 } | |
1257 | |
1258 factory OscillatorNode._internalWrap() { | |
1259 return new OscillatorNode._internal(); | |
1260 } | |
1261 | |
1262 OscillatorNode._internal() : super._internal(); | |
1263 | |
1264 | |
1265 @DomName('OscillatorNode.detune') | 983 @DomName('OscillatorNode.detune') |
1266 @DocsEditable() | 984 @DocsEditable() |
1267 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))); |
1268 | 986 |
1269 @DomName('OscillatorNode.frequency') | 987 @DomName('OscillatorNode.frequency') |
1270 @DocsEditable() | 988 @DocsEditable() |
1271 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))); |
1272 | 990 |
1273 @DomName('OscillatorNode.type') | 991 @DomName('OscillatorNode.type') |
1274 @DocsEditable() | 992 @DocsEditable() |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1324 | 1042 |
1325 | 1043 |
1326 @DocsEditable() | 1044 @DocsEditable() |
1327 @DomName('PannerNode') | 1045 @DomName('PannerNode') |
1328 // 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 |
1329 @Experimental() | 1047 @Experimental() |
1330 class PannerNode extends AudioNode { | 1048 class PannerNode extends AudioNode { |
1331 // To suppress missing implicit constructor warnings. | 1049 // To suppress missing implicit constructor warnings. |
1332 factory PannerNode._() { throw new UnsupportedError("Not supported"); } | 1050 factory PannerNode._() { throw new UnsupportedError("Not supported"); } |
1333 | 1051 |
1334 | |
1335 static PannerNode internalCreatePannerNode() { | |
1336 return new PannerNode._internalWrap(); | |
1337 } | |
1338 | |
1339 factory PannerNode._internalWrap() { | |
1340 return new PannerNode._internal(); | |
1341 } | |
1342 | |
1343 PannerNode._internal() : super._internal(); | |
1344 | |
1345 | |
1346 @DomName('PannerNode.coneInnerAngle') | 1052 @DomName('PannerNode.coneInnerAngle') |
1347 @DocsEditable() | 1053 @DocsEditable() |
1348 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)); |
1349 | 1055 |
1350 @DomName('PannerNode.coneInnerAngle') | 1056 @DomName('PannerNode.coneInnerAngle') |
1351 @DocsEditable() | 1057 @DocsEditable() |
1352 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); |
1353 | 1059 |
1354 @DomName('PannerNode.coneOuterAngle') | 1060 @DomName('PannerNode.coneOuterAngle') |
1355 @DocsEditable() | 1061 @DocsEditable() |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1427 // WARNING: Do not edit - generated code. | 1133 // WARNING: Do not edit - generated code. |
1428 | 1134 |
1429 | 1135 |
1430 @DocsEditable() | 1136 @DocsEditable() |
1431 @DomName('PeriodicWave') | 1137 @DomName('PeriodicWave') |
1432 @Experimental() // untriaged | 1138 @Experimental() // untriaged |
1433 class PeriodicWave extends NativeFieldWrapperClass2 { | 1139 class PeriodicWave extends NativeFieldWrapperClass2 { |
1434 // To suppress missing implicit constructor warnings. | 1140 // To suppress missing implicit constructor warnings. |
1435 factory PeriodicWave._() { throw new UnsupportedError("Not supported"); } | 1141 factory PeriodicWave._() { throw new UnsupportedError("Not supported"); } |
1436 | 1142 |
1437 static PeriodicWave internalCreatePeriodicWave() { | |
1438 return new PeriodicWave._internalWrap(); | |
1439 } | |
1440 | |
1441 JsObject blink_jsObject = null; | |
1442 | |
1443 factory PeriodicWave._internalWrap() { | |
1444 return new PeriodicWave._internal(); | |
1445 } | |
1446 | |
1447 PeriodicWave._internal() { } | |
1448 | |
1449 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(
this, other); | |
1450 | |
1451 } | 1143 } |
1452 // 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 |
1453 // 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 |
1454 // BSD-style license that can be found in the LICENSE file. | 1146 // BSD-style license that can be found in the LICENSE file. |
1455 | 1147 |
1456 // WARNING: Do not edit - generated code. | 1148 // WARNING: Do not edit - generated code. |
1457 | 1149 |
1458 | 1150 |
1459 @DocsEditable() | 1151 @DocsEditable() |
1460 @DomName('ScriptProcessorNode') | 1152 @DomName('ScriptProcessorNode') |
1461 // 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 |
1462 @Experimental() | 1154 @Experimental() |
1463 class ScriptProcessorNode extends AudioNode { | 1155 class ScriptProcessorNode extends AudioNode { |
1464 // To suppress missing implicit constructor warnings. | 1156 // To suppress missing implicit constructor warnings. |
1465 factory ScriptProcessorNode._() { throw new UnsupportedError("Not supported");
} | 1157 factory ScriptProcessorNode._() { throw new UnsupportedError("Not supported");
} |
1466 | 1158 |
1467 /** | 1159 /** |
1468 * Static factory designed to expose `audioprocess` events to event | 1160 * Static factory designed to expose `audioprocess` events to event |
1469 * handlers that are not necessarily instances of [ScriptProcessorNode]. | 1161 * handlers that are not necessarily instances of [ScriptProcessorNode]. |
1470 * | 1162 * |
1471 * See [EventStreamProvider] for usage information. | 1163 * See [EventStreamProvider] for usage information. |
1472 */ | 1164 */ |
1473 @DomName('ScriptProcessorNode.audioprocessEvent') | 1165 @DomName('ScriptProcessorNode.audioprocessEvent') |
1474 @DocsEditable() | 1166 @DocsEditable() |
1475 @Experimental() // untriaged | 1167 @Experimental() // untriaged |
1476 static const EventStreamProvider<AudioProcessingEvent> audioProcessEvent = con
st EventStreamProvider<AudioProcessingEvent>('audioprocess'); | 1168 static const EventStreamProvider<AudioProcessingEvent> audioProcessEvent = con
st EventStreamProvider<AudioProcessingEvent>('audioprocess'); |
1477 | 1169 |
1478 | |
1479 static ScriptProcessorNode internalCreateScriptProcessorNode() { | |
1480 return new ScriptProcessorNode._internalWrap(); | |
1481 } | |
1482 | |
1483 factory ScriptProcessorNode._internalWrap() { | |
1484 return new ScriptProcessorNode._internal(); | |
1485 } | |
1486 | |
1487 ScriptProcessorNode._internal() : super._internal(); | |
1488 | |
1489 | |
1490 @DomName('ScriptProcessorNode.bufferSize') | 1170 @DomName('ScriptProcessorNode.bufferSize') |
1491 @DocsEditable() | 1171 @DocsEditable() |
1492 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)); |
1493 | 1173 |
1494 @DomName('ScriptProcessorNode.setEventListener') | 1174 @DomName('ScriptProcessorNode.setEventListener') |
1495 @DocsEditable() | 1175 @DocsEditable() |
1496 @Experimental() // untriaged | 1176 @Experimental() // untriaged |
1497 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)); |
1498 | 1178 |
1499 /// Stream of `audioprocess` events handled by this [ScriptProcessorNode]. | 1179 /// Stream of `audioprocess` events handled by this [ScriptProcessorNode]. |
(...skipping 18 matching lines...) Expand all Loading... |
1518 | 1198 |
1519 | 1199 |
1520 @DocsEditable() | 1200 @DocsEditable() |
1521 @DomName('WaveShaperNode') | 1201 @DomName('WaveShaperNode') |
1522 // 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 |
1523 @Experimental() | 1203 @Experimental() |
1524 class WaveShaperNode extends AudioNode { | 1204 class WaveShaperNode extends AudioNode { |
1525 // To suppress missing implicit constructor warnings. | 1205 // To suppress missing implicit constructor warnings. |
1526 factory WaveShaperNode._() { throw new UnsupportedError("Not supported"); } | 1206 factory WaveShaperNode._() { throw new UnsupportedError("Not supported"); } |
1527 | 1207 |
1528 | |
1529 static WaveShaperNode internalCreateWaveShaperNode() { | |
1530 return new WaveShaperNode._internalWrap(); | |
1531 } | |
1532 | |
1533 factory WaveShaperNode._internalWrap() { | |
1534 return new WaveShaperNode._internal(); | |
1535 } | |
1536 | |
1537 WaveShaperNode._internal() : super._internal(); | |
1538 | |
1539 | |
1540 @DomName('WaveShaperNode.curve') | 1208 @DomName('WaveShaperNode.curve') |
1541 @DocsEditable() | 1209 @DocsEditable() |
1542 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))); |
1543 | 1211 |
1544 @DomName('WaveShaperNode.curve') | 1212 @DomName('WaveShaperNode.curve') |
1545 @DocsEditable() | 1213 @DocsEditable() |
1546 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)); |
1547 | 1215 |
1548 @DomName('WaveShaperNode.oversample') | 1216 @DomName('WaveShaperNode.oversample') |
1549 @DocsEditable() | 1217 @DocsEditable() |
1550 String get oversample => _blink.BlinkWaveShaperNode.instance.oversample_Getter
_(unwrap_jso(this)); | 1218 String get oversample => _blink.BlinkWaveShaperNode.instance.oversample_Getter
_(unwrap_jso(this)); |
1551 | 1219 |
1552 @DomName('WaveShaperNode.oversample') | 1220 @DomName('WaveShaperNode.oversample') |
1553 @DocsEditable() | 1221 @DocsEditable() |
1554 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); |
1555 | 1223 |
1556 } | 1224 } |
OLD | NEW |