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'; | 8 import 'dart:_internal'; |
9 import 'dart:html'; | 9 import 'dart:html'; |
10 import 'dart:html_common'; | 10 import 'dart:html_common'; |
11 import 'dart:nativewrappers'; | 11 import 'dart:nativewrappers'; |
12 import 'dart:typed_data'; | 12 import 'dart:typed_data'; |
13 import 'dart:_blink' as _blink; | 13 import 'dart:_blink' as _blink; |
14 import 'dart:js' as js; | 14 import 'dart:js' as js; |
15 // DO NOT EDIT | 15 // DO NOT EDIT |
16 // Auto-generated dart:audio library. | 16 // Auto-generated dart:audio library. |
17 | 17 |
18 | 18 |
19 | 19 |
20 | 20 |
21 // FIXME: Can we make this private? | 21 // FIXME: Can we make this private? |
| 22 @Deprecated("Internal Use Only") |
22 final web_audioBlinkMap = { | 23 final web_audioBlinkMap = { |
23 'AnalyserNode': () => AnalyserNode, | 24 'AnalyserNode': () => AnalyserNode, |
24 'AudioBuffer': () => AudioBuffer, | 25 'AudioBuffer': () => AudioBuffer, |
25 'AudioBufferSourceNode': () => AudioBufferSourceNode, | 26 'AudioBufferSourceNode': () => AudioBufferSourceNode, |
26 'AudioContext': () => AudioContext, | 27 'AudioContext': () => AudioContext, |
27 'AudioDestinationNode': () => AudioDestinationNode, | 28 'AudioDestinationNode': () => AudioDestinationNode, |
28 'AudioListener': () => AudioListener, | 29 'AudioListener': () => AudioListener, |
29 'AudioNode': () => AudioNode, | 30 'AudioNode': () => AudioNode, |
30 'AudioParam': () => AudioParam, | 31 'AudioParam': () => AudioParam, |
31 'AudioProcessingEvent': () => AudioProcessingEvent, | 32 'AudioProcessingEvent': () => AudioProcessingEvent, |
(...skipping 12 matching lines...) Expand all Loading... |
44 'OfflineAudioContext': () => OfflineAudioContext, | 45 'OfflineAudioContext': () => OfflineAudioContext, |
45 'OscillatorNode': () => OscillatorNode, | 46 'OscillatorNode': () => OscillatorNode, |
46 'PannerNode': () => PannerNode, | 47 'PannerNode': () => PannerNode, |
47 'PeriodicWave': () => PeriodicWave, | 48 'PeriodicWave': () => PeriodicWave, |
48 'ScriptProcessorNode': () => ScriptProcessorNode, | 49 'ScriptProcessorNode': () => ScriptProcessorNode, |
49 'WaveShaperNode': () => WaveShaperNode, | 50 'WaveShaperNode': () => WaveShaperNode, |
50 | 51 |
51 }; | 52 }; |
52 | 53 |
53 // FIXME: Can we make this private? | 54 // FIXME: Can we make this private? |
| 55 @Deprecated("Internal Use Only") |
54 final web_audioBlinkFunctionMap = { | 56 final web_audioBlinkFunctionMap = { |
55 'AnalyserNode': () => AnalyserNode.internalCreateAnalyserNode, | 57 'AnalyserNode': () => AnalyserNode.internalCreateAnalyserNode, |
56 'AudioBuffer': () => AudioBuffer.internalCreateAudioBuffer, | 58 'AudioBuffer': () => AudioBuffer.internalCreateAudioBuffer, |
57 'AudioBufferSourceNode': () => AudioBufferSourceNode.internalCreateAudioBuffer
SourceNode, | 59 'AudioBufferSourceNode': () => AudioBufferSourceNode.internalCreateAudioBuffer
SourceNode, |
58 'AudioContext': () => AudioContext.internalCreateAudioContext, | 60 'AudioContext': () => AudioContext.internalCreateAudioContext, |
59 'AudioDestinationNode': () => AudioDestinationNode.internalCreateAudioDestinat
ionNode, | 61 'AudioDestinationNode': () => AudioDestinationNode.internalCreateAudioDestinat
ionNode, |
60 'AudioListener': () => AudioListener.internalCreateAudioListener, | 62 'AudioListener': () => AudioListener.internalCreateAudioListener, |
61 'AudioNode': () => AudioNode.internalCreateAudioNode, | 63 'AudioNode': () => AudioNode.internalCreateAudioNode, |
62 'AudioParam': () => AudioParam.internalCreateAudioParam, | 64 'AudioParam': () => AudioParam.internalCreateAudioParam, |
63 'AudioProcessingEvent': () => AudioProcessingEvent.internalCreateAudioProcessi
ngEvent, | 65 'AudioProcessingEvent': () => AudioProcessingEvent.internalCreateAudioProcessi
ngEvent, |
(...skipping 26 matching lines...) Expand all Loading... |
90 | 92 |
91 @DocsEditable() | 93 @DocsEditable() |
92 @DomName('AnalyserNode') | 94 @DomName('AnalyserNode') |
93 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Analyse
rNode | 95 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Analyse
rNode |
94 @Experimental() | 96 @Experimental() |
95 class AnalyserNode extends AudioNode { | 97 class AnalyserNode extends AudioNode { |
96 // To suppress missing implicit constructor warnings. | 98 // To suppress missing implicit constructor warnings. |
97 factory AnalyserNode._() { throw new UnsupportedError("Not supported"); } | 99 factory AnalyserNode._() { throw new UnsupportedError("Not supported"); } |
98 | 100 |
99 | 101 |
| 102 @Deprecated("Internal Use Only") |
100 static AnalyserNode internalCreateAnalyserNode() { | 103 static AnalyserNode internalCreateAnalyserNode() { |
101 return new AnalyserNode._internalWrap(); | 104 return new AnalyserNode._internalWrap(); |
102 } | 105 } |
103 | 106 |
104 factory AnalyserNode._internalWrap() { | 107 factory AnalyserNode._internalWrap() { |
105 return new AnalyserNode.internal_(); | 108 return new AnalyserNode.internal_(); |
106 } | 109 } |
107 | 110 |
108 AnalyserNode.internal_() : super.internal_(); | 111 AnalyserNode.internal_() : super.internal_(); |
109 | 112 |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
170 | 173 |
171 | 174 |
172 @DocsEditable() | 175 @DocsEditable() |
173 @DomName('AudioBuffer') | 176 @DomName('AudioBuffer') |
174 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioBu
ffer-section | 177 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioBu
ffer-section |
175 @Experimental() | 178 @Experimental() |
176 class AudioBuffer extends DartHtmlDomObject { | 179 class AudioBuffer extends DartHtmlDomObject { |
177 // To suppress missing implicit constructor warnings. | 180 // To suppress missing implicit constructor warnings. |
178 factory AudioBuffer._() { throw new UnsupportedError("Not supported"); } | 181 factory AudioBuffer._() { throw new UnsupportedError("Not supported"); } |
179 | 182 |
| 183 @Deprecated("Internal Use Only") |
180 static AudioBuffer internalCreateAudioBuffer() { | 184 static AudioBuffer internalCreateAudioBuffer() { |
181 return new AudioBuffer._internalWrap(); | 185 return new AudioBuffer._internalWrap(); |
182 } | 186 } |
183 | 187 |
184 factory AudioBuffer._internalWrap() { | 188 factory AudioBuffer._internalWrap() { |
185 return new AudioBuffer.internal_(); | 189 return new AudioBuffer.internal_(); |
186 } | 190 } |
187 | 191 |
188 AudioBuffer.internal_() { } | 192 AudioBuffer.internal_() { } |
189 | 193 |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
244 * handlers that are not necessarily instances of [AudioBufferSourceNode]. | 248 * handlers that are not necessarily instances of [AudioBufferSourceNode]. |
245 * | 249 * |
246 * See [EventStreamProvider] for usage information. | 250 * See [EventStreamProvider] for usage information. |
247 */ | 251 */ |
248 @DomName('AudioBufferSourceNode.endedEvent') | 252 @DomName('AudioBufferSourceNode.endedEvent') |
249 @DocsEditable() | 253 @DocsEditable() |
250 @Experimental() // untriaged | 254 @Experimental() // untriaged |
251 static const EventStreamProvider<Event> endedEvent = const EventStreamProvider
<Event>('ended'); | 255 static const EventStreamProvider<Event> endedEvent = const EventStreamProvider
<Event>('ended'); |
252 | 256 |
253 | 257 |
| 258 @Deprecated("Internal Use Only") |
254 static AudioBufferSourceNode internalCreateAudioBufferSourceNode() { | 259 static AudioBufferSourceNode internalCreateAudioBufferSourceNode() { |
255 return new AudioBufferSourceNode._internalWrap(); | 260 return new AudioBufferSourceNode._internalWrap(); |
256 } | 261 } |
257 | 262 |
258 factory AudioBufferSourceNode._internalWrap() { | 263 factory AudioBufferSourceNode._internalWrap() { |
259 return new AudioBufferSourceNode.internal_(); | 264 return new AudioBufferSourceNode.internal_(); |
260 } | 265 } |
261 | 266 |
262 AudioBufferSourceNode.internal_() : super.internal_(); | 267 AudioBufferSourceNode.internal_() : super.internal_(); |
263 | 268 |
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
355 @DocsEditable() | 360 @DocsEditable() |
356 static const EventStreamProvider<Event> completeEvent = const EventStreamProvi
der<Event>('complete'); | 361 static const EventStreamProvider<Event> completeEvent = const EventStreamProvi
der<Event>('complete'); |
357 | 362 |
358 @DomName('AudioContext.AudioContext') | 363 @DomName('AudioContext.AudioContext') |
359 @DocsEditable() | 364 @DocsEditable() |
360 factory AudioContext() { | 365 factory AudioContext() { |
361 return wrap_jso(_blink.BlinkAudioContext.instance.constructorCallback_0_()); | 366 return wrap_jso(_blink.BlinkAudioContext.instance.constructorCallback_0_()); |
362 } | 367 } |
363 | 368 |
364 | 369 |
| 370 @Deprecated("Internal Use Only") |
365 static AudioContext internalCreateAudioContext() { | 371 static AudioContext internalCreateAudioContext() { |
366 return new AudioContext._internalWrap(); | 372 return new AudioContext._internalWrap(); |
367 } | 373 } |
368 | 374 |
369 factory AudioContext._internalWrap() { | 375 factory AudioContext._internalWrap() { |
370 return new AudioContext.internal_(); | 376 return new AudioContext.internal_(); |
371 } | 377 } |
372 | 378 |
373 AudioContext.internal_() : super.internal_(); | 379 AudioContext.internal_() : super.internal_(); |
374 | 380 |
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
520 | 526 |
521 @DocsEditable() | 527 @DocsEditable() |
522 @DomName('AudioDestinationNode') | 528 @DomName('AudioDestinationNode') |
523 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioDe
stinationNode-section | 529 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioDe
stinationNode-section |
524 @Experimental() | 530 @Experimental() |
525 class AudioDestinationNode extends AudioNode { | 531 class AudioDestinationNode extends AudioNode { |
526 // To suppress missing implicit constructor warnings. | 532 // To suppress missing implicit constructor warnings. |
527 factory AudioDestinationNode._() { throw new UnsupportedError("Not supported")
; } | 533 factory AudioDestinationNode._() { throw new UnsupportedError("Not supported")
; } |
528 | 534 |
529 | 535 |
| 536 @Deprecated("Internal Use Only") |
530 static AudioDestinationNode internalCreateAudioDestinationNode() { | 537 static AudioDestinationNode internalCreateAudioDestinationNode() { |
531 return new AudioDestinationNode._internalWrap(); | 538 return new AudioDestinationNode._internalWrap(); |
532 } | 539 } |
533 | 540 |
534 factory AudioDestinationNode._internalWrap() { | 541 factory AudioDestinationNode._internalWrap() { |
535 return new AudioDestinationNode.internal_(); | 542 return new AudioDestinationNode.internal_(); |
536 } | 543 } |
537 | 544 |
538 AudioDestinationNode.internal_() : super.internal_(); | 545 AudioDestinationNode.internal_() : super.internal_(); |
539 | 546 |
(...skipping 11 matching lines...) Expand all Loading... |
551 | 558 |
552 | 559 |
553 @DocsEditable() | 560 @DocsEditable() |
554 @DomName('AudioListener') | 561 @DomName('AudioListener') |
555 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioLi
stener-section | 562 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioLi
stener-section |
556 @Experimental() | 563 @Experimental() |
557 class AudioListener extends DartHtmlDomObject { | 564 class AudioListener extends DartHtmlDomObject { |
558 // To suppress missing implicit constructor warnings. | 565 // To suppress missing implicit constructor warnings. |
559 factory AudioListener._() { throw new UnsupportedError("Not supported"); } | 566 factory AudioListener._() { throw new UnsupportedError("Not supported"); } |
560 | 567 |
| 568 @Deprecated("Internal Use Only") |
561 static AudioListener internalCreateAudioListener() { | 569 static AudioListener internalCreateAudioListener() { |
562 return new AudioListener._internalWrap(); | 570 return new AudioListener._internalWrap(); |
563 } | 571 } |
564 | 572 |
565 factory AudioListener._internalWrap() { | 573 factory AudioListener._internalWrap() { |
566 return new AudioListener.internal_(); | 574 return new AudioListener.internal_(); |
567 } | 575 } |
568 | 576 |
569 AudioListener.internal_() { } | 577 AudioListener.internal_() { } |
570 | 578 |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
606 | 614 |
607 | 615 |
608 @DomName('AudioNode') | 616 @DomName('AudioNode') |
609 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioNo
de-section | 617 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioNo
de-section |
610 @Experimental() | 618 @Experimental() |
611 class AudioNode extends EventTarget { | 619 class AudioNode extends EventTarget { |
612 // To suppress missing implicit constructor warnings. | 620 // To suppress missing implicit constructor warnings. |
613 factory AudioNode._() { throw new UnsupportedError("Not supported"); } | 621 factory AudioNode._() { throw new UnsupportedError("Not supported"); } |
614 | 622 |
615 | 623 |
| 624 @Deprecated("Internal Use Only") |
616 static AudioNode internalCreateAudioNode() { | 625 static AudioNode internalCreateAudioNode() { |
617 return new AudioNode._internalWrap(); | 626 return new AudioNode._internalWrap(); |
618 } | 627 } |
619 | 628 |
620 factory AudioNode._internalWrap() { | 629 factory AudioNode._internalWrap() { |
621 return new AudioNode.internal_(); | 630 return new AudioNode.internal_(); |
622 } | 631 } |
623 | 632 |
624 AudioNode.internal_() : super.internal_(); | 633 AudioNode.internal_() : super.internal_(); |
625 | 634 |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
692 | 701 |
693 | 702 |
694 @DocsEditable() | 703 @DocsEditable() |
695 @DomName('AudioParam') | 704 @DomName('AudioParam') |
696 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioPa
ram | 705 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioPa
ram |
697 @Experimental() | 706 @Experimental() |
698 class AudioParam extends DartHtmlDomObject { | 707 class AudioParam extends DartHtmlDomObject { |
699 // To suppress missing implicit constructor warnings. | 708 // To suppress missing implicit constructor warnings. |
700 factory AudioParam._() { throw new UnsupportedError("Not supported"); } | 709 factory AudioParam._() { throw new UnsupportedError("Not supported"); } |
701 | 710 |
| 711 @Deprecated("Internal Use Only") |
702 static AudioParam internalCreateAudioParam() { | 712 static AudioParam internalCreateAudioParam() { |
703 return new AudioParam._internalWrap(); | 713 return new AudioParam._internalWrap(); |
704 } | 714 } |
705 | 715 |
706 factory AudioParam._internalWrap() { | 716 factory AudioParam._internalWrap() { |
707 return new AudioParam.internal_(); | 717 return new AudioParam.internal_(); |
708 } | 718 } |
709 | 719 |
710 AudioParam.internal_() { } | 720 AudioParam.internal_() { } |
711 | 721 |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
758 | 768 |
759 @DocsEditable() | 769 @DocsEditable() |
760 @DomName('AudioProcessingEvent') | 770 @DomName('AudioProcessingEvent') |
761 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioPr
ocessingEvent-section | 771 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioPr
ocessingEvent-section |
762 @Experimental() | 772 @Experimental() |
763 class AudioProcessingEvent extends Event { | 773 class AudioProcessingEvent extends Event { |
764 // To suppress missing implicit constructor warnings. | 774 // To suppress missing implicit constructor warnings. |
765 factory AudioProcessingEvent._() { throw new UnsupportedError("Not supported")
; } | 775 factory AudioProcessingEvent._() { throw new UnsupportedError("Not supported")
; } |
766 | 776 |
767 | 777 |
| 778 @Deprecated("Internal Use Only") |
768 static AudioProcessingEvent internalCreateAudioProcessingEvent() { | 779 static AudioProcessingEvent internalCreateAudioProcessingEvent() { |
769 return new AudioProcessingEvent._internalWrap(); | 780 return new AudioProcessingEvent._internalWrap(); |
770 } | 781 } |
771 | 782 |
772 factory AudioProcessingEvent._internalWrap() { | 783 factory AudioProcessingEvent._internalWrap() { |
773 return new AudioProcessingEvent.internal_(); | 784 return new AudioProcessingEvent.internal_(); |
774 } | 785 } |
775 | 786 |
776 AudioProcessingEvent.internal_() : super.internal_(); | 787 AudioProcessingEvent.internal_() : super.internal_(); |
777 | 788 |
(...skipping 21 matching lines...) Expand all Loading... |
799 | 810 |
800 @DocsEditable() | 811 @DocsEditable() |
801 @DomName('AudioSourceNode') | 812 @DomName('AudioSourceNode') |
802 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html | 813 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html |
803 @Experimental() | 814 @Experimental() |
804 class AudioSourceNode extends AudioNode { | 815 class AudioSourceNode extends AudioNode { |
805 // To suppress missing implicit constructor warnings. | 816 // To suppress missing implicit constructor warnings. |
806 factory AudioSourceNode._() { throw new UnsupportedError("Not supported"); } | 817 factory AudioSourceNode._() { throw new UnsupportedError("Not supported"); } |
807 | 818 |
808 | 819 |
| 820 @Deprecated("Internal Use Only") |
809 static AudioSourceNode internalCreateAudioSourceNode() { | 821 static AudioSourceNode internalCreateAudioSourceNode() { |
810 return new AudioSourceNode._internalWrap(); | 822 return new AudioSourceNode._internalWrap(); |
811 } | 823 } |
812 | 824 |
813 factory AudioSourceNode._internalWrap() { | 825 factory AudioSourceNode._internalWrap() { |
814 return new AudioSourceNode.internal_(); | 826 return new AudioSourceNode.internal_(); |
815 } | 827 } |
816 | 828 |
817 AudioSourceNode.internal_() : super.internal_(); | 829 AudioSourceNode.internal_() : super.internal_(); |
818 | 830 |
819 | 831 |
820 } | 832 } |
821 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 833 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
822 // for details. All rights reserved. Use of this source code is governed by a | 834 // for details. All rights reserved. Use of this source code is governed by a |
823 // BSD-style license that can be found in the LICENSE file. | 835 // BSD-style license that can be found in the LICENSE file. |
824 | 836 |
825 // WARNING: Do not edit - generated code. | 837 // WARNING: Do not edit - generated code. |
826 | 838 |
827 | 839 |
828 @DocsEditable() | 840 @DocsEditable() |
829 @DomName('BiquadFilterNode') | 841 @DomName('BiquadFilterNode') |
830 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#BiquadF
ilterNode-section | 842 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#BiquadF
ilterNode-section |
831 @Experimental() | 843 @Experimental() |
832 class BiquadFilterNode extends AudioNode { | 844 class BiquadFilterNode extends AudioNode { |
833 // To suppress missing implicit constructor warnings. | 845 // To suppress missing implicit constructor warnings. |
834 factory BiquadFilterNode._() { throw new UnsupportedError("Not supported"); } | 846 factory BiquadFilterNode._() { throw new UnsupportedError("Not supported"); } |
835 | 847 |
836 | 848 |
| 849 @Deprecated("Internal Use Only") |
837 static BiquadFilterNode internalCreateBiquadFilterNode() { | 850 static BiquadFilterNode internalCreateBiquadFilterNode() { |
838 return new BiquadFilterNode._internalWrap(); | 851 return new BiquadFilterNode._internalWrap(); |
839 } | 852 } |
840 | 853 |
841 factory BiquadFilterNode._internalWrap() { | 854 factory BiquadFilterNode._internalWrap() { |
842 return new BiquadFilterNode.internal_(); | 855 return new BiquadFilterNode.internal_(); |
843 } | 856 } |
844 | 857 |
845 BiquadFilterNode.internal_() : super.internal_(); | 858 BiquadFilterNode.internal_() : super.internal_(); |
846 | 859 |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
883 | 896 |
884 @DocsEditable() | 897 @DocsEditable() |
885 @DomName('ChannelMergerNode') | 898 @DomName('ChannelMergerNode') |
886 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Channel
MergerNode-section | 899 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Channel
MergerNode-section |
887 @Experimental() | 900 @Experimental() |
888 class ChannelMergerNode extends AudioNode { | 901 class ChannelMergerNode extends AudioNode { |
889 // To suppress missing implicit constructor warnings. | 902 // To suppress missing implicit constructor warnings. |
890 factory ChannelMergerNode._() { throw new UnsupportedError("Not supported"); } | 903 factory ChannelMergerNode._() { throw new UnsupportedError("Not supported"); } |
891 | 904 |
892 | 905 |
| 906 @Deprecated("Internal Use Only") |
893 static ChannelMergerNode internalCreateChannelMergerNode() { | 907 static ChannelMergerNode internalCreateChannelMergerNode() { |
894 return new ChannelMergerNode._internalWrap(); | 908 return new ChannelMergerNode._internalWrap(); |
895 } | 909 } |
896 | 910 |
897 factory ChannelMergerNode._internalWrap() { | 911 factory ChannelMergerNode._internalWrap() { |
898 return new ChannelMergerNode.internal_(); | 912 return new ChannelMergerNode.internal_(); |
899 } | 913 } |
900 | 914 |
901 ChannelMergerNode.internal_() : super.internal_(); | 915 ChannelMergerNode.internal_() : super.internal_(); |
902 | 916 |
903 | 917 |
904 } | 918 } |
905 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 919 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
906 // for details. All rights reserved. Use of this source code is governed by a | 920 // for details. All rights reserved. Use of this source code is governed by a |
907 // BSD-style license that can be found in the LICENSE file. | 921 // BSD-style license that can be found in the LICENSE file. |
908 | 922 |
909 // WARNING: Do not edit - generated code. | 923 // WARNING: Do not edit - generated code. |
910 | 924 |
911 | 925 |
912 @DocsEditable() | 926 @DocsEditable() |
913 @DomName('ChannelSplitterNode') | 927 @DomName('ChannelSplitterNode') |
914 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Channel
SplitterNode-section | 928 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Channel
SplitterNode-section |
915 @Experimental() | 929 @Experimental() |
916 class ChannelSplitterNode extends AudioNode { | 930 class ChannelSplitterNode extends AudioNode { |
917 // To suppress missing implicit constructor warnings. | 931 // To suppress missing implicit constructor warnings. |
918 factory ChannelSplitterNode._() { throw new UnsupportedError("Not supported");
} | 932 factory ChannelSplitterNode._() { throw new UnsupportedError("Not supported");
} |
919 | 933 |
920 | 934 |
| 935 @Deprecated("Internal Use Only") |
921 static ChannelSplitterNode internalCreateChannelSplitterNode() { | 936 static ChannelSplitterNode internalCreateChannelSplitterNode() { |
922 return new ChannelSplitterNode._internalWrap(); | 937 return new ChannelSplitterNode._internalWrap(); |
923 } | 938 } |
924 | 939 |
925 factory ChannelSplitterNode._internalWrap() { | 940 factory ChannelSplitterNode._internalWrap() { |
926 return new ChannelSplitterNode.internal_(); | 941 return new ChannelSplitterNode.internal_(); |
927 } | 942 } |
928 | 943 |
929 ChannelSplitterNode.internal_() : super.internal_(); | 944 ChannelSplitterNode.internal_() : super.internal_(); |
930 | 945 |
931 | 946 |
932 } | 947 } |
933 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 948 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
934 // for details. All rights reserved. Use of this source code is governed by a | 949 // for details. All rights reserved. Use of this source code is governed by a |
935 // BSD-style license that can be found in the LICENSE file. | 950 // BSD-style license that can be found in the LICENSE file. |
936 | 951 |
937 // WARNING: Do not edit - generated code. | 952 // WARNING: Do not edit - generated code. |
938 | 953 |
939 | 954 |
940 @DocsEditable() | 955 @DocsEditable() |
941 @DomName('ConvolverNode') | 956 @DomName('ConvolverNode') |
942 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Convolv
erNode | 957 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Convolv
erNode |
943 @Experimental() | 958 @Experimental() |
944 class ConvolverNode extends AudioNode { | 959 class ConvolverNode extends AudioNode { |
945 // To suppress missing implicit constructor warnings. | 960 // To suppress missing implicit constructor warnings. |
946 factory ConvolverNode._() { throw new UnsupportedError("Not supported"); } | 961 factory ConvolverNode._() { throw new UnsupportedError("Not supported"); } |
947 | 962 |
948 | 963 |
| 964 @Deprecated("Internal Use Only") |
949 static ConvolverNode internalCreateConvolverNode() { | 965 static ConvolverNode internalCreateConvolverNode() { |
950 return new ConvolverNode._internalWrap(); | 966 return new ConvolverNode._internalWrap(); |
951 } | 967 } |
952 | 968 |
953 factory ConvolverNode._internalWrap() { | 969 factory ConvolverNode._internalWrap() { |
954 return new ConvolverNode.internal_(); | 970 return new ConvolverNode.internal_(); |
955 } | 971 } |
956 | 972 |
957 ConvolverNode.internal_() : super.internal_(); | 973 ConvolverNode.internal_() : super.internal_(); |
958 | 974 |
(...skipping 24 matching lines...) Expand all Loading... |
983 | 999 |
984 @DocsEditable() | 1000 @DocsEditable() |
985 @DomName('DelayNode') | 1001 @DomName('DelayNode') |
986 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#DelayNo
de | 1002 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#DelayNo
de |
987 @Experimental() | 1003 @Experimental() |
988 class DelayNode extends AudioNode { | 1004 class DelayNode extends AudioNode { |
989 // To suppress missing implicit constructor warnings. | 1005 // To suppress missing implicit constructor warnings. |
990 factory DelayNode._() { throw new UnsupportedError("Not supported"); } | 1006 factory DelayNode._() { throw new UnsupportedError("Not supported"); } |
991 | 1007 |
992 | 1008 |
| 1009 @Deprecated("Internal Use Only") |
993 static DelayNode internalCreateDelayNode() { | 1010 static DelayNode internalCreateDelayNode() { |
994 return new DelayNode._internalWrap(); | 1011 return new DelayNode._internalWrap(); |
995 } | 1012 } |
996 | 1013 |
997 factory DelayNode._internalWrap() { | 1014 factory DelayNode._internalWrap() { |
998 return new DelayNode.internal_(); | 1015 return new DelayNode.internal_(); |
999 } | 1016 } |
1000 | 1017 |
1001 DelayNode.internal_() : super.internal_(); | 1018 DelayNode.internal_() : super.internal_(); |
1002 | 1019 |
(...skipping 12 matching lines...) Expand all Loading... |
1015 | 1032 |
1016 @DocsEditable() | 1033 @DocsEditable() |
1017 @DomName('DynamicsCompressorNode') | 1034 @DomName('DynamicsCompressorNode') |
1018 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Dynamic
sCompressorNode | 1035 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Dynamic
sCompressorNode |
1019 @Experimental() | 1036 @Experimental() |
1020 class DynamicsCompressorNode extends AudioNode { | 1037 class DynamicsCompressorNode extends AudioNode { |
1021 // To suppress missing implicit constructor warnings. | 1038 // To suppress missing implicit constructor warnings. |
1022 factory DynamicsCompressorNode._() { throw new UnsupportedError("Not supported
"); } | 1039 factory DynamicsCompressorNode._() { throw new UnsupportedError("Not supported
"); } |
1023 | 1040 |
1024 | 1041 |
| 1042 @Deprecated("Internal Use Only") |
1025 static DynamicsCompressorNode internalCreateDynamicsCompressorNode() { | 1043 static DynamicsCompressorNode internalCreateDynamicsCompressorNode() { |
1026 return new DynamicsCompressorNode._internalWrap(); | 1044 return new DynamicsCompressorNode._internalWrap(); |
1027 } | 1045 } |
1028 | 1046 |
1029 factory DynamicsCompressorNode._internalWrap() { | 1047 factory DynamicsCompressorNode._internalWrap() { |
1030 return new DynamicsCompressorNode.internal_(); | 1048 return new DynamicsCompressorNode.internal_(); |
1031 } | 1049 } |
1032 | 1050 |
1033 DynamicsCompressorNode.internal_() : super.internal_(); | 1051 DynamicsCompressorNode.internal_() : super.internal_(); |
1034 | 1052 |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1067 | 1085 |
1068 @DocsEditable() | 1086 @DocsEditable() |
1069 @DomName('GainNode') | 1087 @DomName('GainNode') |
1070 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#GainNod
e | 1088 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#GainNod
e |
1071 @Experimental() | 1089 @Experimental() |
1072 class GainNode extends AudioNode { | 1090 class GainNode extends AudioNode { |
1073 // To suppress missing implicit constructor warnings. | 1091 // To suppress missing implicit constructor warnings. |
1074 factory GainNode._() { throw new UnsupportedError("Not supported"); } | 1092 factory GainNode._() { throw new UnsupportedError("Not supported"); } |
1075 | 1093 |
1076 | 1094 |
| 1095 @Deprecated("Internal Use Only") |
1077 static GainNode internalCreateGainNode() { | 1096 static GainNode internalCreateGainNode() { |
1078 return new GainNode._internalWrap(); | 1097 return new GainNode._internalWrap(); |
1079 } | 1098 } |
1080 | 1099 |
1081 factory GainNode._internalWrap() { | 1100 factory GainNode._internalWrap() { |
1082 return new GainNode.internal_(); | 1101 return new GainNode.internal_(); |
1083 } | 1102 } |
1084 | 1103 |
1085 GainNode.internal_() : super.internal_(); | 1104 GainNode.internal_() : super.internal_(); |
1086 | 1105 |
(...skipping 12 matching lines...) Expand all Loading... |
1099 | 1118 |
1100 @DocsEditable() | 1119 @DocsEditable() |
1101 @DomName('MediaElementAudioSourceNode') | 1120 @DomName('MediaElementAudioSourceNode') |
1102 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#MediaEl
ementAudioSourceNode | 1121 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#MediaEl
ementAudioSourceNode |
1103 @Experimental() | 1122 @Experimental() |
1104 class MediaElementAudioSourceNode extends AudioSourceNode { | 1123 class MediaElementAudioSourceNode extends AudioSourceNode { |
1105 // To suppress missing implicit constructor warnings. | 1124 // To suppress missing implicit constructor warnings. |
1106 factory MediaElementAudioSourceNode._() { throw new UnsupportedError("Not supp
orted"); } | 1125 factory MediaElementAudioSourceNode._() { throw new UnsupportedError("Not supp
orted"); } |
1107 | 1126 |
1108 | 1127 |
| 1128 @Deprecated("Internal Use Only") |
1109 static MediaElementAudioSourceNode internalCreateMediaElementAudioSourceNode()
{ | 1129 static MediaElementAudioSourceNode internalCreateMediaElementAudioSourceNode()
{ |
1110 return new MediaElementAudioSourceNode._internalWrap(); | 1130 return new MediaElementAudioSourceNode._internalWrap(); |
1111 } | 1131 } |
1112 | 1132 |
1113 factory MediaElementAudioSourceNode._internalWrap() { | 1133 factory MediaElementAudioSourceNode._internalWrap() { |
1114 return new MediaElementAudioSourceNode.internal_(); | 1134 return new MediaElementAudioSourceNode.internal_(); |
1115 } | 1135 } |
1116 | 1136 |
1117 MediaElementAudioSourceNode.internal_() : super.internal_(); | 1137 MediaElementAudioSourceNode.internal_() : super.internal_(); |
1118 | 1138 |
(...skipping 13 matching lines...) Expand all Loading... |
1132 | 1152 |
1133 @DocsEditable() | 1153 @DocsEditable() |
1134 @DomName('MediaStreamAudioDestinationNode') | 1154 @DomName('MediaStreamAudioDestinationNode') |
1135 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#MediaSt
reamAudioDestinationNode | 1155 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#MediaSt
reamAudioDestinationNode |
1136 @Experimental() | 1156 @Experimental() |
1137 class MediaStreamAudioDestinationNode extends AudioNode { | 1157 class MediaStreamAudioDestinationNode extends AudioNode { |
1138 // To suppress missing implicit constructor warnings. | 1158 // To suppress missing implicit constructor warnings. |
1139 factory MediaStreamAudioDestinationNode._() { throw new UnsupportedError("Not
supported"); } | 1159 factory MediaStreamAudioDestinationNode._() { throw new UnsupportedError("Not
supported"); } |
1140 | 1160 |
1141 | 1161 |
| 1162 @Deprecated("Internal Use Only") |
1142 static MediaStreamAudioDestinationNode internalCreateMediaStreamAudioDestinati
onNode() { | 1163 static MediaStreamAudioDestinationNode internalCreateMediaStreamAudioDestinati
onNode() { |
1143 return new MediaStreamAudioDestinationNode._internalWrap(); | 1164 return new MediaStreamAudioDestinationNode._internalWrap(); |
1144 } | 1165 } |
1145 | 1166 |
1146 factory MediaStreamAudioDestinationNode._internalWrap() { | 1167 factory MediaStreamAudioDestinationNode._internalWrap() { |
1147 return new MediaStreamAudioDestinationNode.internal_(); | 1168 return new MediaStreamAudioDestinationNode.internal_(); |
1148 } | 1169 } |
1149 | 1170 |
1150 MediaStreamAudioDestinationNode.internal_() : super.internal_(); | 1171 MediaStreamAudioDestinationNode.internal_() : super.internal_(); |
1151 | 1172 |
(...skipping 12 matching lines...) Expand all Loading... |
1164 | 1185 |
1165 @DocsEditable() | 1186 @DocsEditable() |
1166 @DomName('MediaStreamAudioSourceNode') | 1187 @DomName('MediaStreamAudioSourceNode') |
1167 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#MediaSt
reamAudioSourceNode | 1188 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#MediaSt
reamAudioSourceNode |
1168 @Experimental() | 1189 @Experimental() |
1169 class MediaStreamAudioSourceNode extends AudioSourceNode { | 1190 class MediaStreamAudioSourceNode extends AudioSourceNode { |
1170 // To suppress missing implicit constructor warnings. | 1191 // To suppress missing implicit constructor warnings. |
1171 factory MediaStreamAudioSourceNode._() { throw new UnsupportedError("Not suppo
rted"); } | 1192 factory MediaStreamAudioSourceNode._() { throw new UnsupportedError("Not suppo
rted"); } |
1172 | 1193 |
1173 | 1194 |
| 1195 @Deprecated("Internal Use Only") |
1174 static MediaStreamAudioSourceNode internalCreateMediaStreamAudioSourceNode() { | 1196 static MediaStreamAudioSourceNode internalCreateMediaStreamAudioSourceNode() { |
1175 return new MediaStreamAudioSourceNode._internalWrap(); | 1197 return new MediaStreamAudioSourceNode._internalWrap(); |
1176 } | 1198 } |
1177 | 1199 |
1178 factory MediaStreamAudioSourceNode._internalWrap() { | 1200 factory MediaStreamAudioSourceNode._internalWrap() { |
1179 return new MediaStreamAudioSourceNode.internal_(); | 1201 return new MediaStreamAudioSourceNode.internal_(); |
1180 } | 1202 } |
1181 | 1203 |
1182 MediaStreamAudioSourceNode.internal_() : super.internal_(); | 1204 MediaStreamAudioSourceNode.internal_() : super.internal_(); |
1183 | 1205 |
(...skipping 12 matching lines...) Expand all Loading... |
1196 | 1218 |
1197 @DocsEditable() | 1219 @DocsEditable() |
1198 @DomName('OfflineAudioCompletionEvent') | 1220 @DomName('OfflineAudioCompletionEvent') |
1199 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Offline
AudioCompletionEvent-section | 1221 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Offline
AudioCompletionEvent-section |
1200 @Experimental() | 1222 @Experimental() |
1201 class OfflineAudioCompletionEvent extends Event { | 1223 class OfflineAudioCompletionEvent extends Event { |
1202 // To suppress missing implicit constructor warnings. | 1224 // To suppress missing implicit constructor warnings. |
1203 factory OfflineAudioCompletionEvent._() { throw new UnsupportedError("Not supp
orted"); } | 1225 factory OfflineAudioCompletionEvent._() { throw new UnsupportedError("Not supp
orted"); } |
1204 | 1226 |
1205 | 1227 |
| 1228 @Deprecated("Internal Use Only") |
1206 static OfflineAudioCompletionEvent internalCreateOfflineAudioCompletionEvent()
{ | 1229 static OfflineAudioCompletionEvent internalCreateOfflineAudioCompletionEvent()
{ |
1207 return new OfflineAudioCompletionEvent._internalWrap(); | 1230 return new OfflineAudioCompletionEvent._internalWrap(); |
1208 } | 1231 } |
1209 | 1232 |
1210 factory OfflineAudioCompletionEvent._internalWrap() { | 1233 factory OfflineAudioCompletionEvent._internalWrap() { |
1211 return new OfflineAudioCompletionEvent.internal_(); | 1234 return new OfflineAudioCompletionEvent.internal_(); |
1212 } | 1235 } |
1213 | 1236 |
1214 OfflineAudioCompletionEvent.internal_() : super.internal_(); | 1237 OfflineAudioCompletionEvent.internal_() : super.internal_(); |
1215 | 1238 |
(...skipping 18 matching lines...) Expand all Loading... |
1234 // To suppress missing implicit constructor warnings. | 1257 // To suppress missing implicit constructor warnings. |
1235 factory OfflineAudioContext._() { throw new UnsupportedError("Not supported");
} | 1258 factory OfflineAudioContext._() { throw new UnsupportedError("Not supported");
} |
1236 | 1259 |
1237 @DomName('OfflineAudioContext.OfflineAudioContext') | 1260 @DomName('OfflineAudioContext.OfflineAudioContext') |
1238 @DocsEditable() | 1261 @DocsEditable() |
1239 factory OfflineAudioContext(int numberOfChannels, int numberOfFrames, num samp
leRate) { | 1262 factory OfflineAudioContext(int numberOfChannels, int numberOfFrames, num samp
leRate) { |
1240 return wrap_jso(_blink.BlinkOfflineAudioContext.instance.constructorCallback
_3_(numberOfChannels, numberOfFrames, sampleRate)); | 1263 return wrap_jso(_blink.BlinkOfflineAudioContext.instance.constructorCallback
_3_(numberOfChannels, numberOfFrames, sampleRate)); |
1241 } | 1264 } |
1242 | 1265 |
1243 | 1266 |
| 1267 @Deprecated("Internal Use Only") |
1244 static OfflineAudioContext internalCreateOfflineAudioContext() { | 1268 static OfflineAudioContext internalCreateOfflineAudioContext() { |
1245 return new OfflineAudioContext._internalWrap(); | 1269 return new OfflineAudioContext._internalWrap(); |
1246 } | 1270 } |
1247 | 1271 |
1248 factory OfflineAudioContext._internalWrap() { | 1272 factory OfflineAudioContext._internalWrap() { |
1249 return new OfflineAudioContext.internal_(); | 1273 return new OfflineAudioContext.internal_(); |
1250 } | 1274 } |
1251 | 1275 |
1252 OfflineAudioContext.internal_() : super.internal_(); | 1276 OfflineAudioContext.internal_() : super.internal_(); |
1253 | 1277 |
(...skipping 19 matching lines...) Expand all Loading... |
1273 * handlers that are not necessarily instances of [OscillatorNode]. | 1297 * handlers that are not necessarily instances of [OscillatorNode]. |
1274 * | 1298 * |
1275 * See [EventStreamProvider] for usage information. | 1299 * See [EventStreamProvider] for usage information. |
1276 */ | 1300 */ |
1277 @DomName('OscillatorNode.endedEvent') | 1301 @DomName('OscillatorNode.endedEvent') |
1278 @DocsEditable() | 1302 @DocsEditable() |
1279 @Experimental() // untriaged | 1303 @Experimental() // untriaged |
1280 static const EventStreamProvider<Event> endedEvent = const EventStreamProvider
<Event>('ended'); | 1304 static const EventStreamProvider<Event> endedEvent = const EventStreamProvider
<Event>('ended'); |
1281 | 1305 |
1282 | 1306 |
| 1307 @Deprecated("Internal Use Only") |
1283 static OscillatorNode internalCreateOscillatorNode() { | 1308 static OscillatorNode internalCreateOscillatorNode() { |
1284 return new OscillatorNode._internalWrap(); | 1309 return new OscillatorNode._internalWrap(); |
1285 } | 1310 } |
1286 | 1311 |
1287 factory OscillatorNode._internalWrap() { | 1312 factory OscillatorNode._internalWrap() { |
1288 return new OscillatorNode.internal_(); | 1313 return new OscillatorNode.internal_(); |
1289 } | 1314 } |
1290 | 1315 |
1291 OscillatorNode.internal_() : super.internal_(); | 1316 OscillatorNode.internal_() : super.internal_(); |
1292 | 1317 |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1354 | 1379 |
1355 @DocsEditable() | 1380 @DocsEditable() |
1356 @DomName('PannerNode') | 1381 @DomName('PannerNode') |
1357 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#PannerN
ode | 1382 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#PannerN
ode |
1358 @Experimental() | 1383 @Experimental() |
1359 class PannerNode extends AudioNode { | 1384 class PannerNode extends AudioNode { |
1360 // To suppress missing implicit constructor warnings. | 1385 // To suppress missing implicit constructor warnings. |
1361 factory PannerNode._() { throw new UnsupportedError("Not supported"); } | 1386 factory PannerNode._() { throw new UnsupportedError("Not supported"); } |
1362 | 1387 |
1363 | 1388 |
| 1389 @Deprecated("Internal Use Only") |
1364 static PannerNode internalCreatePannerNode() { | 1390 static PannerNode internalCreatePannerNode() { |
1365 return new PannerNode._internalWrap(); | 1391 return new PannerNode._internalWrap(); |
1366 } | 1392 } |
1367 | 1393 |
1368 factory PannerNode._internalWrap() { | 1394 factory PannerNode._internalWrap() { |
1369 return new PannerNode.internal_(); | 1395 return new PannerNode.internal_(); |
1370 } | 1396 } |
1371 | 1397 |
1372 PannerNode.internal_() : super.internal_(); | 1398 PannerNode.internal_() : super.internal_(); |
1373 | 1399 |
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1456 // WARNING: Do not edit - generated code. | 1482 // WARNING: Do not edit - generated code. |
1457 | 1483 |
1458 | 1484 |
1459 @DocsEditable() | 1485 @DocsEditable() |
1460 @DomName('PeriodicWave') | 1486 @DomName('PeriodicWave') |
1461 @Experimental() // untriaged | 1487 @Experimental() // untriaged |
1462 class PeriodicWave extends DartHtmlDomObject { | 1488 class PeriodicWave extends DartHtmlDomObject { |
1463 // To suppress missing implicit constructor warnings. | 1489 // To suppress missing implicit constructor warnings. |
1464 factory PeriodicWave._() { throw new UnsupportedError("Not supported"); } | 1490 factory PeriodicWave._() { throw new UnsupportedError("Not supported"); } |
1465 | 1491 |
| 1492 @Deprecated("Internal Use Only") |
1466 static PeriodicWave internalCreatePeriodicWave() { | 1493 static PeriodicWave internalCreatePeriodicWave() { |
1467 return new PeriodicWave._internalWrap(); | 1494 return new PeriodicWave._internalWrap(); |
1468 } | 1495 } |
1469 | 1496 |
1470 factory PeriodicWave._internalWrap() { | 1497 factory PeriodicWave._internalWrap() { |
1471 return new PeriodicWave.internal_(); | 1498 return new PeriodicWave.internal_(); |
1472 } | 1499 } |
1473 | 1500 |
1474 PeriodicWave.internal_() { } | 1501 PeriodicWave.internal_() { } |
1475 | 1502 |
(...skipping 21 matching lines...) Expand all Loading... |
1497 * handlers that are not necessarily instances of [ScriptProcessorNode]. | 1524 * handlers that are not necessarily instances of [ScriptProcessorNode]. |
1498 * | 1525 * |
1499 * See [EventStreamProvider] for usage information. | 1526 * See [EventStreamProvider] for usage information. |
1500 */ | 1527 */ |
1501 @DomName('ScriptProcessorNode.audioprocessEvent') | 1528 @DomName('ScriptProcessorNode.audioprocessEvent') |
1502 @DocsEditable() | 1529 @DocsEditable() |
1503 @Experimental() // untriaged | 1530 @Experimental() // untriaged |
1504 static const EventStreamProvider<AudioProcessingEvent> audioProcessEvent = con
st EventStreamProvider<AudioProcessingEvent>('audioprocess'); | 1531 static const EventStreamProvider<AudioProcessingEvent> audioProcessEvent = con
st EventStreamProvider<AudioProcessingEvent>('audioprocess'); |
1505 | 1532 |
1506 | 1533 |
| 1534 @Deprecated("Internal Use Only") |
1507 static ScriptProcessorNode internalCreateScriptProcessorNode() { | 1535 static ScriptProcessorNode internalCreateScriptProcessorNode() { |
1508 return new ScriptProcessorNode._internalWrap(); | 1536 return new ScriptProcessorNode._internalWrap(); |
1509 } | 1537 } |
1510 | 1538 |
1511 factory ScriptProcessorNode._internalWrap() { | 1539 factory ScriptProcessorNode._internalWrap() { |
1512 return new ScriptProcessorNode.internal_(); | 1540 return new ScriptProcessorNode.internal_(); |
1513 } | 1541 } |
1514 | 1542 |
1515 ScriptProcessorNode.internal_() : super.internal_(); | 1543 ScriptProcessorNode.internal_() : super.internal_(); |
1516 | 1544 |
(...skipping 30 matching lines...) Expand all Loading... |
1547 | 1575 |
1548 @DocsEditable() | 1576 @DocsEditable() |
1549 @DomName('WaveShaperNode') | 1577 @DomName('WaveShaperNode') |
1550 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#dfn-Wav
eShaperNode | 1578 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#dfn-Wav
eShaperNode |
1551 @Experimental() | 1579 @Experimental() |
1552 class WaveShaperNode extends AudioNode { | 1580 class WaveShaperNode extends AudioNode { |
1553 // To suppress missing implicit constructor warnings. | 1581 // To suppress missing implicit constructor warnings. |
1554 factory WaveShaperNode._() { throw new UnsupportedError("Not supported"); } | 1582 factory WaveShaperNode._() { throw new UnsupportedError("Not supported"); } |
1555 | 1583 |
1556 | 1584 |
| 1585 @Deprecated("Internal Use Only") |
1557 static WaveShaperNode internalCreateWaveShaperNode() { | 1586 static WaveShaperNode internalCreateWaveShaperNode() { |
1558 return new WaveShaperNode._internalWrap(); | 1587 return new WaveShaperNode._internalWrap(); |
1559 } | 1588 } |
1560 | 1589 |
1561 factory WaveShaperNode._internalWrap() { | 1590 factory WaveShaperNode._internalWrap() { |
1562 return new WaveShaperNode.internal_(); | 1591 return new WaveShaperNode.internal_(); |
1563 } | 1592 } |
1564 | 1593 |
1565 WaveShaperNode.internal_() : super.internal_(); | 1594 WaveShaperNode.internal_() : super.internal_(); |
1566 | 1595 |
1567 | 1596 |
1568 @DomName('WaveShaperNode.curve') | 1597 @DomName('WaveShaperNode.curve') |
1569 @DocsEditable() | 1598 @DocsEditable() |
1570 Float32List get curve => _blink.BlinkWaveShaperNode.instance.curve_Getter_(unw
rap_jso(this)); | 1599 Float32List get curve => _blink.BlinkWaveShaperNode.instance.curve_Getter_(unw
rap_jso(this)); |
1571 | 1600 |
1572 @DomName('WaveShaperNode.curve') | 1601 @DomName('WaveShaperNode.curve') |
1573 @DocsEditable() | 1602 @DocsEditable() |
1574 set curve(Float32List value) => _blink.BlinkWaveShaperNode.instance.curve_Sett
er_(unwrap_jso(this), unwrap_jso(value)); | 1603 set curve(Float32List value) => _blink.BlinkWaveShaperNode.instance.curve_Sett
er_(unwrap_jso(this), unwrap_jso(value)); |
1575 | 1604 |
1576 @DomName('WaveShaperNode.oversample') | 1605 @DomName('WaveShaperNode.oversample') |
1577 @DocsEditable() | 1606 @DocsEditable() |
1578 String get oversample => _blink.BlinkWaveShaperNode.instance.oversample_Getter
_(unwrap_jso(this)); | 1607 String get oversample => _blink.BlinkWaveShaperNode.instance.oversample_Getter
_(unwrap_jso(this)); |
1579 | 1608 |
1580 @DomName('WaveShaperNode.oversample') | 1609 @DomName('WaveShaperNode.oversample') |
1581 @DocsEditable() | 1610 @DocsEditable() |
1582 set oversample(String value) => _blink.BlinkWaveShaperNode.instance.oversample
_Setter_(unwrap_jso(this), value); | 1611 set oversample(String value) => _blink.BlinkWaveShaperNode.instance.oversample
_Setter_(unwrap_jso(this), value); |
1583 | 1612 |
1584 } | 1613 } |
OLD | NEW |