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'; |
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
97 class AnalyserNode extends AudioNode { | 97 class AnalyserNode extends AudioNode { |
98 // To suppress missing implicit constructor warnings. | 98 // To suppress missing implicit constructor warnings. |
99 factory AnalyserNode._() { throw new UnsupportedError("Not supported"); } | 99 factory AnalyserNode._() { throw new UnsupportedError("Not supported"); } |
100 | 100 |
101 | 101 |
102 @Deprecated("Internal Use Only") | 102 @Deprecated("Internal Use Only") |
103 static AnalyserNode internalCreateAnalyserNode() { | 103 static AnalyserNode internalCreateAnalyserNode() { |
104 return new AnalyserNode._internalWrap(); | 104 return new AnalyserNode._internalWrap(); |
105 } | 105 } |
106 | 106 |
107 factory AnalyserNode._internalWrap() { | 107 external factory AnalyserNode._internalWrap(); |
108 return new AnalyserNode.internal_(); | |
109 } | |
110 | 108 |
111 @Deprecated("Internal Use Only") | 109 @Deprecated("Internal Use Only") |
112 AnalyserNode.internal_() : super.internal_(); | 110 AnalyserNode.internal_() : super.internal_(); |
113 | 111 |
114 | 112 |
115 @DomName('AnalyserNode.fftSize') | 113 @DomName('AnalyserNode.fftSize') |
116 @DocsEditable() | 114 @DocsEditable() |
117 int get fftSize => _blink.BlinkAnalyserNode.instance.fftSize_Getter_(unwrap_js
o(this)); | 115 int get fftSize => _blink.BlinkAnalyserNode.instance.fftSize_Getter_(unwrap_js
o(this)); |
118 | 116 |
119 @DomName('AnalyserNode.fftSize') | 117 @DomName('AnalyserNode.fftSize') |
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
255 @DocsEditable() | 253 @DocsEditable() |
256 @Experimental() // untriaged | 254 @Experimental() // untriaged |
257 static const EventStreamProvider<Event> endedEvent = const EventStreamProvider
<Event>('ended'); | 255 static const EventStreamProvider<Event> endedEvent = const EventStreamProvider
<Event>('ended'); |
258 | 256 |
259 | 257 |
260 @Deprecated("Internal Use Only") | 258 @Deprecated("Internal Use Only") |
261 static AudioBufferSourceNode internalCreateAudioBufferSourceNode() { | 259 static AudioBufferSourceNode internalCreateAudioBufferSourceNode() { |
262 return new AudioBufferSourceNode._internalWrap(); | 260 return new AudioBufferSourceNode._internalWrap(); |
263 } | 261 } |
264 | 262 |
265 factory AudioBufferSourceNode._internalWrap() { | 263 external factory AudioBufferSourceNode._internalWrap(); |
266 return new AudioBufferSourceNode.internal_(); | |
267 } | |
268 | 264 |
269 @Deprecated("Internal Use Only") | 265 @Deprecated("Internal Use Only") |
270 AudioBufferSourceNode.internal_() : super.internal_(); | 266 AudioBufferSourceNode.internal_() : super.internal_(); |
271 | 267 |
272 | 268 |
273 @DomName('AudioBufferSourceNode.buffer') | 269 @DomName('AudioBufferSourceNode.buffer') |
274 @DocsEditable() | 270 @DocsEditable() |
275 AudioBuffer get buffer => wrap_jso(_blink.BlinkAudioBufferSourceNode.instance.
buffer_Getter_(unwrap_jso(this))); | 271 AudioBuffer get buffer => wrap_jso(_blink.BlinkAudioBufferSourceNode.instance.
buffer_Getter_(unwrap_jso(this))); |
276 | 272 |
277 @DomName('AudioBufferSourceNode.buffer') | 273 @DomName('AudioBufferSourceNode.buffer') |
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
368 factory AudioContext() { | 364 factory AudioContext() { |
369 return wrap_jso(_blink.BlinkAudioContext.instance.constructorCallback_0_()); | 365 return wrap_jso(_blink.BlinkAudioContext.instance.constructorCallback_0_()); |
370 } | 366 } |
371 | 367 |
372 | 368 |
373 @Deprecated("Internal Use Only") | 369 @Deprecated("Internal Use Only") |
374 static AudioContext internalCreateAudioContext() { | 370 static AudioContext internalCreateAudioContext() { |
375 return new AudioContext._internalWrap(); | 371 return new AudioContext._internalWrap(); |
376 } | 372 } |
377 | 373 |
378 factory AudioContext._internalWrap() { | 374 external factory AudioContext._internalWrap(); |
379 return new AudioContext.internal_(); | |
380 } | |
381 | 375 |
382 @Deprecated("Internal Use Only") | 376 @Deprecated("Internal Use Only") |
383 AudioContext.internal_() : super.internal_(); | 377 AudioContext.internal_() : super.internal_(); |
384 | 378 |
385 | 379 |
386 /// Checks if this type is supported on the current platform. | 380 /// Checks if this type is supported on the current platform. |
387 static bool get supported => true; | 381 static bool get supported => true; |
388 | 382 |
389 @DomName('AudioContext.currentTime') | 383 @DomName('AudioContext.currentTime') |
390 @DocsEditable() | 384 @DocsEditable() |
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
535 class AudioDestinationNode extends AudioNode { | 529 class AudioDestinationNode extends AudioNode { |
536 // To suppress missing implicit constructor warnings. | 530 // To suppress missing implicit constructor warnings. |
537 factory AudioDestinationNode._() { throw new UnsupportedError("Not supported")
; } | 531 factory AudioDestinationNode._() { throw new UnsupportedError("Not supported")
; } |
538 | 532 |
539 | 533 |
540 @Deprecated("Internal Use Only") | 534 @Deprecated("Internal Use Only") |
541 static AudioDestinationNode internalCreateAudioDestinationNode() { | 535 static AudioDestinationNode internalCreateAudioDestinationNode() { |
542 return new AudioDestinationNode._internalWrap(); | 536 return new AudioDestinationNode._internalWrap(); |
543 } | 537 } |
544 | 538 |
545 factory AudioDestinationNode._internalWrap() { | 539 external factory AudioDestinationNode._internalWrap(); |
546 return new AudioDestinationNode.internal_(); | |
547 } | |
548 | 540 |
549 @Deprecated("Internal Use Only") | 541 @Deprecated("Internal Use Only") |
550 AudioDestinationNode.internal_() : super.internal_(); | 542 AudioDestinationNode.internal_() : super.internal_(); |
551 | 543 |
552 | 544 |
553 @DomName('AudioDestinationNode.maxChannelCount') | 545 @DomName('AudioDestinationNode.maxChannelCount') |
554 @DocsEditable() | 546 @DocsEditable() |
555 int get maxChannelCount => _blink.BlinkAudioDestinationNode.instance.maxChanne
lCount_Getter_(unwrap_jso(this)); | 547 int get maxChannelCount => _blink.BlinkAudioDestinationNode.instance.maxChanne
lCount_Getter_(unwrap_jso(this)); |
556 | 548 |
557 } | 549 } |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
625 class AudioNode extends EventTarget { | 617 class AudioNode extends EventTarget { |
626 // To suppress missing implicit constructor warnings. | 618 // To suppress missing implicit constructor warnings. |
627 factory AudioNode._() { throw new UnsupportedError("Not supported"); } | 619 factory AudioNode._() { throw new UnsupportedError("Not supported"); } |
628 | 620 |
629 | 621 |
630 @Deprecated("Internal Use Only") | 622 @Deprecated("Internal Use Only") |
631 static AudioNode internalCreateAudioNode() { | 623 static AudioNode internalCreateAudioNode() { |
632 return new AudioNode._internalWrap(); | 624 return new AudioNode._internalWrap(); |
633 } | 625 } |
634 | 626 |
635 factory AudioNode._internalWrap() { | 627 external factory AudioNode._internalWrap(); |
636 return new AudioNode.internal_(); | |
637 } | |
638 | 628 |
639 @Deprecated("Internal Use Only") | 629 @Deprecated("Internal Use Only") |
640 AudioNode.internal_() : super.internal_(); | 630 AudioNode.internal_() : super.internal_(); |
641 | 631 |
642 | 632 |
643 @DomName('AudioNode.channelCount') | 633 @DomName('AudioNode.channelCount') |
644 @DocsEditable() | 634 @DocsEditable() |
645 int get channelCount => _blink.BlinkAudioNode.instance.channelCount_Getter_(un
wrap_jso(this)); | 635 int get channelCount => _blink.BlinkAudioNode.instance.channelCount_Getter_(un
wrap_jso(this)); |
646 | 636 |
647 @DomName('AudioNode.channelCount') | 637 @DomName('AudioNode.channelCount') |
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
781 class AudioProcessingEvent extends Event { | 771 class AudioProcessingEvent extends Event { |
782 // To suppress missing implicit constructor warnings. | 772 // To suppress missing implicit constructor warnings. |
783 factory AudioProcessingEvent._() { throw new UnsupportedError("Not supported")
; } | 773 factory AudioProcessingEvent._() { throw new UnsupportedError("Not supported")
; } |
784 | 774 |
785 | 775 |
786 @Deprecated("Internal Use Only") | 776 @Deprecated("Internal Use Only") |
787 static AudioProcessingEvent internalCreateAudioProcessingEvent() { | 777 static AudioProcessingEvent internalCreateAudioProcessingEvent() { |
788 return new AudioProcessingEvent._internalWrap(); | 778 return new AudioProcessingEvent._internalWrap(); |
789 } | 779 } |
790 | 780 |
791 factory AudioProcessingEvent._internalWrap() { | 781 external factory AudioProcessingEvent._internalWrap(); |
792 return new AudioProcessingEvent.internal_(); | |
793 } | |
794 | 782 |
795 @Deprecated("Internal Use Only") | 783 @Deprecated("Internal Use Only") |
796 AudioProcessingEvent.internal_() : super.internal_(); | 784 AudioProcessingEvent.internal_() : super.internal_(); |
797 | 785 |
798 | 786 |
799 @DomName('AudioProcessingEvent.inputBuffer') | 787 @DomName('AudioProcessingEvent.inputBuffer') |
800 @DocsEditable() | 788 @DocsEditable() |
801 AudioBuffer get inputBuffer => wrap_jso(_blink.BlinkAudioProcessingEvent.insta
nce.inputBuffer_Getter_(unwrap_jso(this))); | 789 AudioBuffer get inputBuffer => wrap_jso(_blink.BlinkAudioProcessingEvent.insta
nce.inputBuffer_Getter_(unwrap_jso(this))); |
802 | 790 |
803 @DomName('AudioProcessingEvent.outputBuffer') | 791 @DomName('AudioProcessingEvent.outputBuffer') |
(...skipping 20 matching lines...) Expand all Loading... |
824 class AudioSourceNode extends AudioNode { | 812 class AudioSourceNode extends AudioNode { |
825 // To suppress missing implicit constructor warnings. | 813 // To suppress missing implicit constructor warnings. |
826 factory AudioSourceNode._() { throw new UnsupportedError("Not supported"); } | 814 factory AudioSourceNode._() { throw new UnsupportedError("Not supported"); } |
827 | 815 |
828 | 816 |
829 @Deprecated("Internal Use Only") | 817 @Deprecated("Internal Use Only") |
830 static AudioSourceNode internalCreateAudioSourceNode() { | 818 static AudioSourceNode internalCreateAudioSourceNode() { |
831 return new AudioSourceNode._internalWrap(); | 819 return new AudioSourceNode._internalWrap(); |
832 } | 820 } |
833 | 821 |
834 factory AudioSourceNode._internalWrap() { | 822 external factory AudioSourceNode._internalWrap(); |
835 return new AudioSourceNode.internal_(); | |
836 } | |
837 | 823 |
838 @Deprecated("Internal Use Only") | 824 @Deprecated("Internal Use Only") |
839 AudioSourceNode.internal_() : super.internal_(); | 825 AudioSourceNode.internal_() : super.internal_(); |
840 | 826 |
841 | 827 |
842 } | 828 } |
843 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 829 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
844 // for details. All rights reserved. Use of this source code is governed by a | 830 // for details. All rights reserved. Use of this source code is governed by a |
845 // BSD-style license that can be found in the LICENSE file. | 831 // BSD-style license that can be found in the LICENSE file. |
846 | 832 |
847 // WARNING: Do not edit - generated code. | 833 // WARNING: Do not edit - generated code. |
848 | 834 |
849 | 835 |
850 @DocsEditable() | 836 @DocsEditable() |
851 @DomName('BiquadFilterNode') | 837 @DomName('BiquadFilterNode') |
852 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#BiquadF
ilterNode-section | 838 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#BiquadF
ilterNode-section |
853 @Experimental() | 839 @Experimental() |
854 class BiquadFilterNode extends AudioNode { | 840 class BiquadFilterNode extends AudioNode { |
855 // To suppress missing implicit constructor warnings. | 841 // To suppress missing implicit constructor warnings. |
856 factory BiquadFilterNode._() { throw new UnsupportedError("Not supported"); } | 842 factory BiquadFilterNode._() { throw new UnsupportedError("Not supported"); } |
857 | 843 |
858 | 844 |
859 @Deprecated("Internal Use Only") | 845 @Deprecated("Internal Use Only") |
860 static BiquadFilterNode internalCreateBiquadFilterNode() { | 846 static BiquadFilterNode internalCreateBiquadFilterNode() { |
861 return new BiquadFilterNode._internalWrap(); | 847 return new BiquadFilterNode._internalWrap(); |
862 } | 848 } |
863 | 849 |
864 factory BiquadFilterNode._internalWrap() { | 850 external factory BiquadFilterNode._internalWrap(); |
865 return new BiquadFilterNode.internal_(); | |
866 } | |
867 | 851 |
868 @Deprecated("Internal Use Only") | 852 @Deprecated("Internal Use Only") |
869 BiquadFilterNode.internal_() : super.internal_(); | 853 BiquadFilterNode.internal_() : super.internal_(); |
870 | 854 |
871 | 855 |
872 @DomName('BiquadFilterNode.Q') | 856 @DomName('BiquadFilterNode.Q') |
873 @DocsEditable() | 857 @DocsEditable() |
874 AudioParam get Q => wrap_jso(_blink.BlinkBiquadFilterNode.instance.Q_Getter_(u
nwrap_jso(this))); | 858 AudioParam get Q => wrap_jso(_blink.BlinkBiquadFilterNode.instance.Q_Getter_(u
nwrap_jso(this))); |
875 | 859 |
876 @DomName('BiquadFilterNode.detune') | 860 @DomName('BiquadFilterNode.detune') |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
912 class ChannelMergerNode extends AudioNode { | 896 class ChannelMergerNode extends AudioNode { |
913 // To suppress missing implicit constructor warnings. | 897 // To suppress missing implicit constructor warnings. |
914 factory ChannelMergerNode._() { throw new UnsupportedError("Not supported"); } | 898 factory ChannelMergerNode._() { throw new UnsupportedError("Not supported"); } |
915 | 899 |
916 | 900 |
917 @Deprecated("Internal Use Only") | 901 @Deprecated("Internal Use Only") |
918 static ChannelMergerNode internalCreateChannelMergerNode() { | 902 static ChannelMergerNode internalCreateChannelMergerNode() { |
919 return new ChannelMergerNode._internalWrap(); | 903 return new ChannelMergerNode._internalWrap(); |
920 } | 904 } |
921 | 905 |
922 factory ChannelMergerNode._internalWrap() { | 906 external factory ChannelMergerNode._internalWrap(); |
923 return new ChannelMergerNode.internal_(); | |
924 } | |
925 | 907 |
926 @Deprecated("Internal Use Only") | 908 @Deprecated("Internal Use Only") |
927 ChannelMergerNode.internal_() : super.internal_(); | 909 ChannelMergerNode.internal_() : super.internal_(); |
928 | 910 |
929 | 911 |
930 } | 912 } |
931 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 913 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
932 // for details. All rights reserved. Use of this source code is governed by a | 914 // for details. All rights reserved. Use of this source code is governed by a |
933 // BSD-style license that can be found in the LICENSE file. | 915 // BSD-style license that can be found in the LICENSE file. |
934 | 916 |
935 // WARNING: Do not edit - generated code. | 917 // WARNING: Do not edit - generated code. |
936 | 918 |
937 | 919 |
938 @DocsEditable() | 920 @DocsEditable() |
939 @DomName('ChannelSplitterNode') | 921 @DomName('ChannelSplitterNode') |
940 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Channel
SplitterNode-section | 922 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Channel
SplitterNode-section |
941 @Experimental() | 923 @Experimental() |
942 class ChannelSplitterNode extends AudioNode { | 924 class ChannelSplitterNode extends AudioNode { |
943 // To suppress missing implicit constructor warnings. | 925 // To suppress missing implicit constructor warnings. |
944 factory ChannelSplitterNode._() { throw new UnsupportedError("Not supported");
} | 926 factory ChannelSplitterNode._() { throw new UnsupportedError("Not supported");
} |
945 | 927 |
946 | 928 |
947 @Deprecated("Internal Use Only") | 929 @Deprecated("Internal Use Only") |
948 static ChannelSplitterNode internalCreateChannelSplitterNode() { | 930 static ChannelSplitterNode internalCreateChannelSplitterNode() { |
949 return new ChannelSplitterNode._internalWrap(); | 931 return new ChannelSplitterNode._internalWrap(); |
950 } | 932 } |
951 | 933 |
952 factory ChannelSplitterNode._internalWrap() { | 934 external factory ChannelSplitterNode._internalWrap(); |
953 return new ChannelSplitterNode.internal_(); | |
954 } | |
955 | 935 |
956 @Deprecated("Internal Use Only") | 936 @Deprecated("Internal Use Only") |
957 ChannelSplitterNode.internal_() : super.internal_(); | 937 ChannelSplitterNode.internal_() : super.internal_(); |
958 | 938 |
959 | 939 |
960 } | 940 } |
961 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 941 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
962 // for details. All rights reserved. Use of this source code is governed by a | 942 // for details. All rights reserved. Use of this source code is governed by a |
963 // BSD-style license that can be found in the LICENSE file. | 943 // BSD-style license that can be found in the LICENSE file. |
964 | 944 |
965 // WARNING: Do not edit - generated code. | 945 // WARNING: Do not edit - generated code. |
966 | 946 |
967 | 947 |
968 @DocsEditable() | 948 @DocsEditable() |
969 @DomName('ConvolverNode') | 949 @DomName('ConvolverNode') |
970 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Convolv
erNode | 950 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Convolv
erNode |
971 @Experimental() | 951 @Experimental() |
972 class ConvolverNode extends AudioNode { | 952 class ConvolverNode extends AudioNode { |
973 // To suppress missing implicit constructor warnings. | 953 // To suppress missing implicit constructor warnings. |
974 factory ConvolverNode._() { throw new UnsupportedError("Not supported"); } | 954 factory ConvolverNode._() { throw new UnsupportedError("Not supported"); } |
975 | 955 |
976 | 956 |
977 @Deprecated("Internal Use Only") | 957 @Deprecated("Internal Use Only") |
978 static ConvolverNode internalCreateConvolverNode() { | 958 static ConvolverNode internalCreateConvolverNode() { |
979 return new ConvolverNode._internalWrap(); | 959 return new ConvolverNode._internalWrap(); |
980 } | 960 } |
981 | 961 |
982 factory ConvolverNode._internalWrap() { | 962 external factory ConvolverNode._internalWrap(); |
983 return new ConvolverNode.internal_(); | |
984 } | |
985 | 963 |
986 @Deprecated("Internal Use Only") | 964 @Deprecated("Internal Use Only") |
987 ConvolverNode.internal_() : super.internal_(); | 965 ConvolverNode.internal_() : super.internal_(); |
988 | 966 |
989 | 967 |
990 @DomName('ConvolverNode.buffer') | 968 @DomName('ConvolverNode.buffer') |
991 @DocsEditable() | 969 @DocsEditable() |
992 AudioBuffer get buffer => wrap_jso(_blink.BlinkConvolverNode.instance.buffer_G
etter_(unwrap_jso(this))); | 970 AudioBuffer get buffer => wrap_jso(_blink.BlinkConvolverNode.instance.buffer_G
etter_(unwrap_jso(this))); |
993 | 971 |
994 @DomName('ConvolverNode.buffer') | 972 @DomName('ConvolverNode.buffer') |
(...skipping 23 matching lines...) Expand all Loading... |
1018 class DelayNode extends AudioNode { | 996 class DelayNode extends AudioNode { |
1019 // To suppress missing implicit constructor warnings. | 997 // To suppress missing implicit constructor warnings. |
1020 factory DelayNode._() { throw new UnsupportedError("Not supported"); } | 998 factory DelayNode._() { throw new UnsupportedError("Not supported"); } |
1021 | 999 |
1022 | 1000 |
1023 @Deprecated("Internal Use Only") | 1001 @Deprecated("Internal Use Only") |
1024 static DelayNode internalCreateDelayNode() { | 1002 static DelayNode internalCreateDelayNode() { |
1025 return new DelayNode._internalWrap(); | 1003 return new DelayNode._internalWrap(); |
1026 } | 1004 } |
1027 | 1005 |
1028 factory DelayNode._internalWrap() { | 1006 external factory DelayNode._internalWrap(); |
1029 return new DelayNode.internal_(); | |
1030 } | |
1031 | 1007 |
1032 @Deprecated("Internal Use Only") | 1008 @Deprecated("Internal Use Only") |
1033 DelayNode.internal_() : super.internal_(); | 1009 DelayNode.internal_() : super.internal_(); |
1034 | 1010 |
1035 | 1011 |
1036 @DomName('DelayNode.delayTime') | 1012 @DomName('DelayNode.delayTime') |
1037 @DocsEditable() | 1013 @DocsEditable() |
1038 AudioParam get delayTime => wrap_jso(_blink.BlinkDelayNode.instance.delayTime_
Getter_(unwrap_jso(this))); | 1014 AudioParam get delayTime => wrap_jso(_blink.BlinkDelayNode.instance.delayTime_
Getter_(unwrap_jso(this))); |
1039 | 1015 |
1040 } | 1016 } |
(...skipping 11 matching lines...) Expand all Loading... |
1052 class DynamicsCompressorNode extends AudioNode { | 1028 class DynamicsCompressorNode extends AudioNode { |
1053 // To suppress missing implicit constructor warnings. | 1029 // To suppress missing implicit constructor warnings. |
1054 factory DynamicsCompressorNode._() { throw new UnsupportedError("Not supported
"); } | 1030 factory DynamicsCompressorNode._() { throw new UnsupportedError("Not supported
"); } |
1055 | 1031 |
1056 | 1032 |
1057 @Deprecated("Internal Use Only") | 1033 @Deprecated("Internal Use Only") |
1058 static DynamicsCompressorNode internalCreateDynamicsCompressorNode() { | 1034 static DynamicsCompressorNode internalCreateDynamicsCompressorNode() { |
1059 return new DynamicsCompressorNode._internalWrap(); | 1035 return new DynamicsCompressorNode._internalWrap(); |
1060 } | 1036 } |
1061 | 1037 |
1062 factory DynamicsCompressorNode._internalWrap() { | 1038 external factory DynamicsCompressorNode._internalWrap(); |
1063 return new DynamicsCompressorNode.internal_(); | |
1064 } | |
1065 | 1039 |
1066 @Deprecated("Internal Use Only") | 1040 @Deprecated("Internal Use Only") |
1067 DynamicsCompressorNode.internal_() : super.internal_(); | 1041 DynamicsCompressorNode.internal_() : super.internal_(); |
1068 | 1042 |
1069 | 1043 |
1070 @DomName('DynamicsCompressorNode.attack') | 1044 @DomName('DynamicsCompressorNode.attack') |
1071 @DocsEditable() | 1045 @DocsEditable() |
1072 AudioParam get attack => wrap_jso(_blink.BlinkDynamicsCompressorNode.instance.
attack_Getter_(unwrap_jso(this))); | 1046 AudioParam get attack => wrap_jso(_blink.BlinkDynamicsCompressorNode.instance.
attack_Getter_(unwrap_jso(this))); |
1073 | 1047 |
1074 @DomName('DynamicsCompressorNode.knee') | 1048 @DomName('DynamicsCompressorNode.knee') |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1106 class GainNode extends AudioNode { | 1080 class GainNode extends AudioNode { |
1107 // To suppress missing implicit constructor warnings. | 1081 // To suppress missing implicit constructor warnings. |
1108 factory GainNode._() { throw new UnsupportedError("Not supported"); } | 1082 factory GainNode._() { throw new UnsupportedError("Not supported"); } |
1109 | 1083 |
1110 | 1084 |
1111 @Deprecated("Internal Use Only") | 1085 @Deprecated("Internal Use Only") |
1112 static GainNode internalCreateGainNode() { | 1086 static GainNode internalCreateGainNode() { |
1113 return new GainNode._internalWrap(); | 1087 return new GainNode._internalWrap(); |
1114 } | 1088 } |
1115 | 1089 |
1116 factory GainNode._internalWrap() { | 1090 external factory GainNode._internalWrap(); |
1117 return new GainNode.internal_(); | |
1118 } | |
1119 | 1091 |
1120 @Deprecated("Internal Use Only") | 1092 @Deprecated("Internal Use Only") |
1121 GainNode.internal_() : super.internal_(); | 1093 GainNode.internal_() : super.internal_(); |
1122 | 1094 |
1123 | 1095 |
1124 @DomName('GainNode.gain') | 1096 @DomName('GainNode.gain') |
1125 @DocsEditable() | 1097 @DocsEditable() |
1126 AudioParam get gain => wrap_jso(_blink.BlinkGainNode.instance.gain_Getter_(unw
rap_jso(this))); | 1098 AudioParam get gain => wrap_jso(_blink.BlinkGainNode.instance.gain_Getter_(unw
rap_jso(this))); |
1127 | 1099 |
1128 } | 1100 } |
(...skipping 11 matching lines...) Expand all Loading... |
1140 class MediaElementAudioSourceNode extends AudioSourceNode { | 1112 class MediaElementAudioSourceNode extends AudioSourceNode { |
1141 // To suppress missing implicit constructor warnings. | 1113 // To suppress missing implicit constructor warnings. |
1142 factory MediaElementAudioSourceNode._() { throw new UnsupportedError("Not supp
orted"); } | 1114 factory MediaElementAudioSourceNode._() { throw new UnsupportedError("Not supp
orted"); } |
1143 | 1115 |
1144 | 1116 |
1145 @Deprecated("Internal Use Only") | 1117 @Deprecated("Internal Use Only") |
1146 static MediaElementAudioSourceNode internalCreateMediaElementAudioSourceNode()
{ | 1118 static MediaElementAudioSourceNode internalCreateMediaElementAudioSourceNode()
{ |
1147 return new MediaElementAudioSourceNode._internalWrap(); | 1119 return new MediaElementAudioSourceNode._internalWrap(); |
1148 } | 1120 } |
1149 | 1121 |
1150 factory MediaElementAudioSourceNode._internalWrap() { | 1122 external factory MediaElementAudioSourceNode._internalWrap(); |
1151 return new MediaElementAudioSourceNode.internal_(); | |
1152 } | |
1153 | 1123 |
1154 @Deprecated("Internal Use Only") | 1124 @Deprecated("Internal Use Only") |
1155 MediaElementAudioSourceNode.internal_() : super.internal_(); | 1125 MediaElementAudioSourceNode.internal_() : super.internal_(); |
1156 | 1126 |
1157 | 1127 |
1158 @DomName('MediaElementAudioSourceNode.mediaElement') | 1128 @DomName('MediaElementAudioSourceNode.mediaElement') |
1159 @DocsEditable() | 1129 @DocsEditable() |
1160 @Experimental() // non-standard | 1130 @Experimental() // non-standard |
1161 MediaElement get mediaElement => wrap_jso(_blink.BlinkMediaElementAudioSourceN
ode.instance.mediaElement_Getter_(unwrap_jso(this))); | 1131 MediaElement get mediaElement => wrap_jso(_blink.BlinkMediaElementAudioSourceN
ode.instance.mediaElement_Getter_(unwrap_jso(this))); |
1162 | 1132 |
(...skipping 12 matching lines...) Expand all Loading... |
1175 class MediaStreamAudioDestinationNode extends AudioNode { | 1145 class MediaStreamAudioDestinationNode extends AudioNode { |
1176 // To suppress missing implicit constructor warnings. | 1146 // To suppress missing implicit constructor warnings. |
1177 factory MediaStreamAudioDestinationNode._() { throw new UnsupportedError("Not
supported"); } | 1147 factory MediaStreamAudioDestinationNode._() { throw new UnsupportedError("Not
supported"); } |
1178 | 1148 |
1179 | 1149 |
1180 @Deprecated("Internal Use Only") | 1150 @Deprecated("Internal Use Only") |
1181 static MediaStreamAudioDestinationNode internalCreateMediaStreamAudioDestinati
onNode() { | 1151 static MediaStreamAudioDestinationNode internalCreateMediaStreamAudioDestinati
onNode() { |
1182 return new MediaStreamAudioDestinationNode._internalWrap(); | 1152 return new MediaStreamAudioDestinationNode._internalWrap(); |
1183 } | 1153 } |
1184 | 1154 |
1185 factory MediaStreamAudioDestinationNode._internalWrap() { | 1155 external factory MediaStreamAudioDestinationNode._internalWrap(); |
1186 return new MediaStreamAudioDestinationNode.internal_(); | |
1187 } | |
1188 | 1156 |
1189 @Deprecated("Internal Use Only") | 1157 @Deprecated("Internal Use Only") |
1190 MediaStreamAudioDestinationNode.internal_() : super.internal_(); | 1158 MediaStreamAudioDestinationNode.internal_() : super.internal_(); |
1191 | 1159 |
1192 | 1160 |
1193 @DomName('MediaStreamAudioDestinationNode.stream') | 1161 @DomName('MediaStreamAudioDestinationNode.stream') |
1194 @DocsEditable() | 1162 @DocsEditable() |
1195 MediaStream get stream => wrap_jso(_blink.BlinkMediaStreamAudioDestinationNode
.instance.stream_Getter_(unwrap_jso(this))); | 1163 MediaStream get stream => wrap_jso(_blink.BlinkMediaStreamAudioDestinationNode
.instance.stream_Getter_(unwrap_jso(this))); |
1196 | 1164 |
1197 } | 1165 } |
(...skipping 11 matching lines...) Expand all Loading... |
1209 class MediaStreamAudioSourceNode extends AudioSourceNode { | 1177 class MediaStreamAudioSourceNode extends AudioSourceNode { |
1210 // To suppress missing implicit constructor warnings. | 1178 // To suppress missing implicit constructor warnings. |
1211 factory MediaStreamAudioSourceNode._() { throw new UnsupportedError("Not suppo
rted"); } | 1179 factory MediaStreamAudioSourceNode._() { throw new UnsupportedError("Not suppo
rted"); } |
1212 | 1180 |
1213 | 1181 |
1214 @Deprecated("Internal Use Only") | 1182 @Deprecated("Internal Use Only") |
1215 static MediaStreamAudioSourceNode internalCreateMediaStreamAudioSourceNode() { | 1183 static MediaStreamAudioSourceNode internalCreateMediaStreamAudioSourceNode() { |
1216 return new MediaStreamAudioSourceNode._internalWrap(); | 1184 return new MediaStreamAudioSourceNode._internalWrap(); |
1217 } | 1185 } |
1218 | 1186 |
1219 factory MediaStreamAudioSourceNode._internalWrap() { | 1187 external factory MediaStreamAudioSourceNode._internalWrap(); |
1220 return new MediaStreamAudioSourceNode.internal_(); | |
1221 } | |
1222 | 1188 |
1223 @Deprecated("Internal Use Only") | 1189 @Deprecated("Internal Use Only") |
1224 MediaStreamAudioSourceNode.internal_() : super.internal_(); | 1190 MediaStreamAudioSourceNode.internal_() : super.internal_(); |
1225 | 1191 |
1226 | 1192 |
1227 @DomName('MediaStreamAudioSourceNode.mediaStream') | 1193 @DomName('MediaStreamAudioSourceNode.mediaStream') |
1228 @DocsEditable() | 1194 @DocsEditable() |
1229 MediaStream get mediaStream => wrap_jso(_blink.BlinkMediaStreamAudioSourceNode
.instance.mediaStream_Getter_(unwrap_jso(this))); | 1195 MediaStream get mediaStream => wrap_jso(_blink.BlinkMediaStreamAudioSourceNode
.instance.mediaStream_Getter_(unwrap_jso(this))); |
1230 | 1196 |
1231 } | 1197 } |
(...skipping 11 matching lines...) Expand all Loading... |
1243 class OfflineAudioCompletionEvent extends Event { | 1209 class OfflineAudioCompletionEvent extends Event { |
1244 // To suppress missing implicit constructor warnings. | 1210 // To suppress missing implicit constructor warnings. |
1245 factory OfflineAudioCompletionEvent._() { throw new UnsupportedError("Not supp
orted"); } | 1211 factory OfflineAudioCompletionEvent._() { throw new UnsupportedError("Not supp
orted"); } |
1246 | 1212 |
1247 | 1213 |
1248 @Deprecated("Internal Use Only") | 1214 @Deprecated("Internal Use Only") |
1249 static OfflineAudioCompletionEvent internalCreateOfflineAudioCompletionEvent()
{ | 1215 static OfflineAudioCompletionEvent internalCreateOfflineAudioCompletionEvent()
{ |
1250 return new OfflineAudioCompletionEvent._internalWrap(); | 1216 return new OfflineAudioCompletionEvent._internalWrap(); |
1251 } | 1217 } |
1252 | 1218 |
1253 factory OfflineAudioCompletionEvent._internalWrap() { | 1219 external factory OfflineAudioCompletionEvent._internalWrap(); |
1254 return new OfflineAudioCompletionEvent.internal_(); | |
1255 } | |
1256 | 1220 |
1257 @Deprecated("Internal Use Only") | 1221 @Deprecated("Internal Use Only") |
1258 OfflineAudioCompletionEvent.internal_() : super.internal_(); | 1222 OfflineAudioCompletionEvent.internal_() : super.internal_(); |
1259 | 1223 |
1260 | 1224 |
1261 @DomName('OfflineAudioCompletionEvent.renderedBuffer') | 1225 @DomName('OfflineAudioCompletionEvent.renderedBuffer') |
1262 @DocsEditable() | 1226 @DocsEditable() |
1263 AudioBuffer get renderedBuffer => wrap_jso(_blink.BlinkOfflineAudioCompletionE
vent.instance.renderedBuffer_Getter_(unwrap_jso(this))); | 1227 AudioBuffer get renderedBuffer => wrap_jso(_blink.BlinkOfflineAudioCompletionE
vent.instance.renderedBuffer_Getter_(unwrap_jso(this))); |
1264 | 1228 |
1265 } | 1229 } |
(...skipping 17 matching lines...) Expand all Loading... |
1283 factory OfflineAudioContext(int numberOfChannels, int numberOfFrames, num samp
leRate) { | 1247 factory OfflineAudioContext(int numberOfChannels, int numberOfFrames, num samp
leRate) { |
1284 return wrap_jso(_blink.BlinkOfflineAudioContext.instance.constructorCallback
_3_(numberOfChannels, numberOfFrames, sampleRate)); | 1248 return wrap_jso(_blink.BlinkOfflineAudioContext.instance.constructorCallback
_3_(numberOfChannels, numberOfFrames, sampleRate)); |
1285 } | 1249 } |
1286 | 1250 |
1287 | 1251 |
1288 @Deprecated("Internal Use Only") | 1252 @Deprecated("Internal Use Only") |
1289 static OfflineAudioContext internalCreateOfflineAudioContext() { | 1253 static OfflineAudioContext internalCreateOfflineAudioContext() { |
1290 return new OfflineAudioContext._internalWrap(); | 1254 return new OfflineAudioContext._internalWrap(); |
1291 } | 1255 } |
1292 | 1256 |
1293 factory OfflineAudioContext._internalWrap() { | 1257 external factory OfflineAudioContext._internalWrap(); |
1294 return new OfflineAudioContext.internal_(); | |
1295 } | |
1296 | 1258 |
1297 @Deprecated("Internal Use Only") | 1259 @Deprecated("Internal Use Only") |
1298 OfflineAudioContext.internal_() : super.internal_(); | 1260 OfflineAudioContext.internal_() : super.internal_(); |
1299 | 1261 |
1300 | 1262 |
1301 } | 1263 } |
1302 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1264 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
1303 // for details. All rights reserved. Use of this source code is governed by a | 1265 // for details. All rights reserved. Use of this source code is governed by a |
1304 // BSD-style license that can be found in the LICENSE file. | 1266 // BSD-style license that can be found in the LICENSE file. |
1305 | 1267 |
(...skipping 18 matching lines...) Expand all Loading... |
1324 @DocsEditable() | 1286 @DocsEditable() |
1325 @Experimental() // untriaged | 1287 @Experimental() // untriaged |
1326 static const EventStreamProvider<Event> endedEvent = const EventStreamProvider
<Event>('ended'); | 1288 static const EventStreamProvider<Event> endedEvent = const EventStreamProvider
<Event>('ended'); |
1327 | 1289 |
1328 | 1290 |
1329 @Deprecated("Internal Use Only") | 1291 @Deprecated("Internal Use Only") |
1330 static OscillatorNode internalCreateOscillatorNode() { | 1292 static OscillatorNode internalCreateOscillatorNode() { |
1331 return new OscillatorNode._internalWrap(); | 1293 return new OscillatorNode._internalWrap(); |
1332 } | 1294 } |
1333 | 1295 |
1334 factory OscillatorNode._internalWrap() { | 1296 external factory OscillatorNode._internalWrap(); |
1335 return new OscillatorNode.internal_(); | |
1336 } | |
1337 | 1297 |
1338 @Deprecated("Internal Use Only") | 1298 @Deprecated("Internal Use Only") |
1339 OscillatorNode.internal_() : super.internal_(); | 1299 OscillatorNode.internal_() : super.internal_(); |
1340 | 1300 |
1341 | 1301 |
1342 @DomName('OscillatorNode.detune') | 1302 @DomName('OscillatorNode.detune') |
1343 @DocsEditable() | 1303 @DocsEditable() |
1344 AudioParam get detune => wrap_jso(_blink.BlinkOscillatorNode.instance.detune_G
etter_(unwrap_jso(this))); | 1304 AudioParam get detune => wrap_jso(_blink.BlinkOscillatorNode.instance.detune_G
etter_(unwrap_jso(this))); |
1345 | 1305 |
1346 @DomName('OscillatorNode.frequency') | 1306 @DomName('OscillatorNode.frequency') |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1407 class PannerNode extends AudioNode { | 1367 class PannerNode extends AudioNode { |
1408 // To suppress missing implicit constructor warnings. | 1368 // To suppress missing implicit constructor warnings. |
1409 factory PannerNode._() { throw new UnsupportedError("Not supported"); } | 1369 factory PannerNode._() { throw new UnsupportedError("Not supported"); } |
1410 | 1370 |
1411 | 1371 |
1412 @Deprecated("Internal Use Only") | 1372 @Deprecated("Internal Use Only") |
1413 static PannerNode internalCreatePannerNode() { | 1373 static PannerNode internalCreatePannerNode() { |
1414 return new PannerNode._internalWrap(); | 1374 return new PannerNode._internalWrap(); |
1415 } | 1375 } |
1416 | 1376 |
1417 factory PannerNode._internalWrap() { | 1377 external factory PannerNode._internalWrap(); |
1418 return new PannerNode.internal_(); | |
1419 } | |
1420 | 1378 |
1421 @Deprecated("Internal Use Only") | 1379 @Deprecated("Internal Use Only") |
1422 PannerNode.internal_() : super.internal_(); | 1380 PannerNode.internal_() : super.internal_(); |
1423 | 1381 |
1424 | 1382 |
1425 @DomName('PannerNode.coneInnerAngle') | 1383 @DomName('PannerNode.coneInnerAngle') |
1426 @DocsEditable() | 1384 @DocsEditable() |
1427 num get coneInnerAngle => _blink.BlinkPannerNode.instance.coneInnerAngle_Gette
r_(unwrap_jso(this)); | 1385 num get coneInnerAngle => _blink.BlinkPannerNode.instance.coneInnerAngle_Gette
r_(unwrap_jso(this)); |
1428 | 1386 |
1429 @DomName('PannerNode.coneInnerAngle') | 1387 @DomName('PannerNode.coneInnerAngle') |
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1554 @DocsEditable() | 1512 @DocsEditable() |
1555 @Experimental() // untriaged | 1513 @Experimental() // untriaged |
1556 static const EventStreamProvider<AudioProcessingEvent> audioProcessEvent = con
st EventStreamProvider<AudioProcessingEvent>('audioprocess'); | 1514 static const EventStreamProvider<AudioProcessingEvent> audioProcessEvent = con
st EventStreamProvider<AudioProcessingEvent>('audioprocess'); |
1557 | 1515 |
1558 | 1516 |
1559 @Deprecated("Internal Use Only") | 1517 @Deprecated("Internal Use Only") |
1560 static ScriptProcessorNode internalCreateScriptProcessorNode() { | 1518 static ScriptProcessorNode internalCreateScriptProcessorNode() { |
1561 return new ScriptProcessorNode._internalWrap(); | 1519 return new ScriptProcessorNode._internalWrap(); |
1562 } | 1520 } |
1563 | 1521 |
1564 factory ScriptProcessorNode._internalWrap() { | 1522 external factory ScriptProcessorNode._internalWrap(); |
1565 return new ScriptProcessorNode.internal_(); | |
1566 } | |
1567 | 1523 |
1568 @Deprecated("Internal Use Only") | 1524 @Deprecated("Internal Use Only") |
1569 ScriptProcessorNode.internal_() : super.internal_(); | 1525 ScriptProcessorNode.internal_() : super.internal_(); |
1570 | 1526 |
1571 | 1527 |
1572 @DomName('ScriptProcessorNode.bufferSize') | 1528 @DomName('ScriptProcessorNode.bufferSize') |
1573 @DocsEditable() | 1529 @DocsEditable() |
1574 int get bufferSize => _blink.BlinkScriptProcessorNode.instance.bufferSize_Gett
er_(unwrap_jso(this)); | 1530 int get bufferSize => _blink.BlinkScriptProcessorNode.instance.bufferSize_Gett
er_(unwrap_jso(this)); |
1575 | 1531 |
1576 @DomName('ScriptProcessorNode.setEventListener') | 1532 @DomName('ScriptProcessorNode.setEventListener') |
(...skipping 29 matching lines...) Expand all Loading... |
1606 class WaveShaperNode extends AudioNode { | 1562 class WaveShaperNode extends AudioNode { |
1607 // To suppress missing implicit constructor warnings. | 1563 // To suppress missing implicit constructor warnings. |
1608 factory WaveShaperNode._() { throw new UnsupportedError("Not supported"); } | 1564 factory WaveShaperNode._() { throw new UnsupportedError("Not supported"); } |
1609 | 1565 |
1610 | 1566 |
1611 @Deprecated("Internal Use Only") | 1567 @Deprecated("Internal Use Only") |
1612 static WaveShaperNode internalCreateWaveShaperNode() { | 1568 static WaveShaperNode internalCreateWaveShaperNode() { |
1613 return new WaveShaperNode._internalWrap(); | 1569 return new WaveShaperNode._internalWrap(); |
1614 } | 1570 } |
1615 | 1571 |
1616 factory WaveShaperNode._internalWrap() { | 1572 external factory WaveShaperNode._internalWrap(); |
1617 return new WaveShaperNode.internal_(); | |
1618 } | |
1619 | 1573 |
1620 @Deprecated("Internal Use Only") | 1574 @Deprecated("Internal Use Only") |
1621 WaveShaperNode.internal_() : super.internal_(); | 1575 WaveShaperNode.internal_() : super.internal_(); |
1622 | 1576 |
1623 | 1577 |
1624 @DomName('WaveShaperNode.curve') | 1578 @DomName('WaveShaperNode.curve') |
1625 @DocsEditable() | 1579 @DocsEditable() |
1626 Float32List get curve => _blink.BlinkWaveShaperNode.instance.curve_Getter_(unw
rap_jso(this)); | 1580 Float32List get curve => _blink.BlinkWaveShaperNode.instance.curve_Getter_(unw
rap_jso(this)); |
1627 | 1581 |
1628 @DomName('WaveShaperNode.curve') | 1582 @DomName('WaveShaperNode.curve') |
1629 @DocsEditable() | 1583 @DocsEditable() |
1630 set curve(Float32List value) => _blink.BlinkWaveShaperNode.instance.curve_Sett
er_(unwrap_jso(this), unwrap_jso(value)); | 1584 set curve(Float32List value) => _blink.BlinkWaveShaperNode.instance.curve_Sett
er_(unwrap_jso(this), unwrap_jso(value)); |
1631 | 1585 |
1632 @DomName('WaveShaperNode.oversample') | 1586 @DomName('WaveShaperNode.oversample') |
1633 @DocsEditable() | 1587 @DocsEditable() |
1634 String get oversample => _blink.BlinkWaveShaperNode.instance.oversample_Getter
_(unwrap_jso(this)); | 1588 String get oversample => _blink.BlinkWaveShaperNode.instance.oversample_Getter
_(unwrap_jso(this)); |
1635 | 1589 |
1636 @DomName('WaveShaperNode.oversample') | 1590 @DomName('WaveShaperNode.oversample') |
1637 @DocsEditable() | 1591 @DocsEditable() |
1638 set oversample(String value) => _blink.BlinkWaveShaperNode.instance.oversample
_Setter_(unwrap_jso(this), value); | 1592 set oversample(String value) => _blink.BlinkWaveShaperNode.instance.oversample
_Setter_(unwrap_jso(this), value); |
1639 | 1593 |
1640 } | 1594 } |
OLD | NEW |