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

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

Issue 17063007: Making all DOM types abstract and removing superfluous Dartium constructors. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 library dart.dom.web_audio; 1 library dart.dom.web_audio;
2 2
3 import 'dart:async'; 3 import 'dart:async';
4 import 'dart:collection'; 4 import 'dart:collection';
5 import 'dart:_collection-dev'; 5 import 'dart:_collection-dev';
6 import 'dart:html'; 6 import 'dart:html';
7 import 'dart:html_common'; 7 import 'dart:html_common';
8 import 'dart:nativewrappers'; 8 import 'dart:nativewrappers';
9 import 'dart:typed_data'; 9 import 'dart:typed_data';
10 // DO NOT EDIT 10 // DO NOT EDIT
11 // Auto-generated dart:audio library. 11 // Auto-generated dart:audio library.
12 12
13 13
14 14
15 15
16 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 16 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
17 // for details. All rights reserved. Use of this source code is governed by a 17 // for details. All rights reserved. Use of this source code is governed by a
18 // BSD-style license that can be found in the LICENSE file. 18 // BSD-style license that can be found in the LICENSE file.
19 19
20 // WARNING: Do not edit - generated code. 20 // WARNING: Do not edit - generated code.
21 21
22 22
23 @DocsEditable 23 @DocsEditable
24 @DomName('AnalyserNode') 24 @DomName('AnalyserNode')
25 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Analyse rNode 25 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Analyse rNode
26 @Experimental 26 @Experimental
27 class AnalyserNode extends AudioNode { 27 class AnalyserNode extends AudioNode {
28 AnalyserNode.internal() : super.internal(); 28 // To suppress missing implicit constructor warnings.
29 factory AnalyserNode._() { throw new UnsupportedError("Not supported"); }
29 30
30 @DomName('AnalyserNode.fftSize') 31 @DomName('AnalyserNode.fftSize')
31 @DocsEditable 32 @DocsEditable
32 int get fftSize native "AnalyserNode_fftSize_Getter"; 33 int get fftSize native "AnalyserNode_fftSize_Getter";
33 34
34 @DomName('AnalyserNode.fftSize') 35 @DomName('AnalyserNode.fftSize')
35 @DocsEditable 36 @DocsEditable
36 void set fftSize(int value) native "AnalyserNode_fftSize_Setter"; 37 void set fftSize(int value) native "AnalyserNode_fftSize_Setter";
37 38
38 @DomName('AnalyserNode.frequencyBinCount') 39 @DomName('AnalyserNode.frequencyBinCount')
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 // BSD-style license that can be found in the LICENSE file. 82 // BSD-style license that can be found in the LICENSE file.
82 83
83 // WARNING: Do not edit - generated code. 84 // WARNING: Do not edit - generated code.
84 85
85 86
86 @DocsEditable 87 @DocsEditable
87 @DomName('AudioBuffer') 88 @DomName('AudioBuffer')
88 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioBu ffer-section 89 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioBu ffer-section
89 @Experimental 90 @Experimental
90 class AudioBuffer extends NativeFieldWrapperClass1 { 91 class AudioBuffer extends NativeFieldWrapperClass1 {
91 AudioBuffer.internal(); 92 // To suppress missing implicit constructor warnings.
93 factory AudioBuffer._() { throw new UnsupportedError("Not supported"); }
92 94
93 @DomName('AudioBuffer.duration') 95 @DomName('AudioBuffer.duration')
94 @DocsEditable 96 @DocsEditable
95 num get duration native "AudioBuffer_duration_Getter"; 97 num get duration native "AudioBuffer_duration_Getter";
96 98
97 @DomName('AudioBuffer.gain') 99 @DomName('AudioBuffer.gain')
98 @DocsEditable 100 @DocsEditable
99 num get gain native "AudioBuffer_gain_Getter"; 101 num get gain native "AudioBuffer_gain_Getter";
100 102
101 @DomName('AudioBuffer.gain') 103 @DomName('AudioBuffer.gain')
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 // BSD-style license that can be found in the LICENSE file. 137 // BSD-style license that can be found in the LICENSE file.
136 138
137 // WARNING: Do not edit - generated code. 139 // WARNING: Do not edit - generated code.
138 140
139 141
140 @DocsEditable 142 @DocsEditable
141 @DomName('AudioBufferSourceNode') 143 @DomName('AudioBufferSourceNode')
142 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioBu fferSourceNode-section 144 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioBu fferSourceNode-section
143 @Experimental 145 @Experimental
144 class AudioBufferSourceNode extends AudioSourceNode { 146 class AudioBufferSourceNode extends AudioSourceNode {
145 AudioBufferSourceNode.internal() : super.internal(); 147 // To suppress missing implicit constructor warnings.
148 factory AudioBufferSourceNode._() { throw new UnsupportedError("Not supported" ); }
146 149
147 @DomName('AudioBufferSourceNode.FINISHED_STATE') 150 @DomName('AudioBufferSourceNode.FINISHED_STATE')
148 @DocsEditable 151 @DocsEditable
149 static const int FINISHED_STATE = 3; 152 static const int FINISHED_STATE = 3;
150 153
151 @DomName('AudioBufferSourceNode.PLAYING_STATE') 154 @DomName('AudioBufferSourceNode.PLAYING_STATE')
152 @DocsEditable 155 @DocsEditable
153 static const int PLAYING_STATE = 2; 156 static const int PLAYING_STATE = 2;
154 157
155 @DomName('AudioBufferSourceNode.SCHEDULED_STATE') 158 @DomName('AudioBufferSourceNode.SCHEDULED_STATE')
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
245 } 248 }
246 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 249 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
247 // for details. All rights reserved. Use of this source code is governed by a 250 // for details. All rights reserved. Use of this source code is governed by a
248 // BSD-style license that can be found in the LICENSE file. 251 // BSD-style license that can be found in the LICENSE file.
249 252
250 253
251 @DomName('AudioContext') 254 @DomName('AudioContext')
252 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioCo ntext-section 255 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioCo ntext-section
253 @Experimental 256 @Experimental
254 class AudioContext extends EventTarget { 257 class AudioContext extends EventTarget {
255 AudioContext.internal() : super.internal(); 258 // To suppress missing implicit constructor warnings.
259 factory AudioContext._() { throw new UnsupportedError("Not supported"); }
256 260
257 @DomName('AudioContext.completeEvent') 261 @DomName('AudioContext.completeEvent')
258 @DocsEditable 262 @DocsEditable
259 static const EventStreamProvider<Event> completeEvent = const EventStreamProvi der<Event>('complete'); 263 static const EventStreamProvider<Event> completeEvent = const EventStreamProvi der<Event>('complete');
260 264
261 @DomName('AudioContext.AudioContext') 265 @DomName('AudioContext.AudioContext')
262 @DocsEditable 266 @DocsEditable
263 factory AudioContext() => _create(); 267 factory AudioContext() => _create();
264 268
265 @DocsEditable 269 @DocsEditable
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after
452 // BSD-style license that can be found in the LICENSE file. 456 // BSD-style license that can be found in the LICENSE file.
453 457
454 // WARNING: Do not edit - generated code. 458 // WARNING: Do not edit - generated code.
455 459
456 460
457 @DocsEditable 461 @DocsEditable
458 @DomName('AudioDestinationNode') 462 @DomName('AudioDestinationNode')
459 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioDe stinationNode-section 463 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioDe stinationNode-section
460 @Experimental 464 @Experimental
461 class AudioDestinationNode extends AudioNode { 465 class AudioDestinationNode extends AudioNode {
462 AudioDestinationNode.internal() : super.internal(); 466 // To suppress missing implicit constructor warnings.
467 factory AudioDestinationNode._() { throw new UnsupportedError("Not supported") ; }
463 468
464 @DomName('AudioDestinationNode.maxChannelCount') 469 @DomName('AudioDestinationNode.maxChannelCount')
465 @DocsEditable 470 @DocsEditable
466 int get maxChannelCount native "AudioDestinationNode_maxChannelCount_Getter"; 471 int get maxChannelCount native "AudioDestinationNode_maxChannelCount_Getter";
467 472
468 } 473 }
469 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 474 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
470 // for details. All rights reserved. Use of this source code is governed by a 475 // for details. All rights reserved. Use of this source code is governed by a
471 // BSD-style license that can be found in the LICENSE file. 476 // BSD-style license that can be found in the LICENSE file.
472 477
473 // WARNING: Do not edit - generated code. 478 // WARNING: Do not edit - generated code.
474 479
475 480
476 @DocsEditable 481 @DocsEditable
477 @DomName('AudioListener') 482 @DomName('AudioListener')
478 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioLi stener-section 483 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioLi stener-section
479 @Experimental 484 @Experimental
480 class AudioListener extends NativeFieldWrapperClass1 { 485 class AudioListener extends NativeFieldWrapperClass1 {
481 AudioListener.internal(); 486 // To suppress missing implicit constructor warnings.
487 factory AudioListener._() { throw new UnsupportedError("Not supported"); }
482 488
483 @DomName('AudioListener.dopplerFactor') 489 @DomName('AudioListener.dopplerFactor')
484 @DocsEditable 490 @DocsEditable
485 num get dopplerFactor native "AudioListener_dopplerFactor_Getter"; 491 num get dopplerFactor native "AudioListener_dopplerFactor_Getter";
486 492
487 @DomName('AudioListener.dopplerFactor') 493 @DomName('AudioListener.dopplerFactor')
488 @DocsEditable 494 @DocsEditable
489 void set dopplerFactor(num value) native "AudioListener_dopplerFactor_Setter"; 495 void set dopplerFactor(num value) native "AudioListener_dopplerFactor_Setter";
490 496
491 @DomName('AudioListener.speedOfSound') 497 @DomName('AudioListener.speedOfSound')
(...skipping 22 matching lines...) Expand all
514 // BSD-style license that can be found in the LICENSE file. 520 // BSD-style license that can be found in the LICENSE file.
515 521
516 // WARNING: Do not edit - generated code. 522 // WARNING: Do not edit - generated code.
517 523
518 524
519 @DocsEditable 525 @DocsEditable
520 @DomName('AudioNode') 526 @DomName('AudioNode')
521 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioNo de-section 527 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioNo de-section
522 @Experimental 528 @Experimental
523 class AudioNode extends EventTarget { 529 class AudioNode extends EventTarget {
524 AudioNode.internal() : super.internal(); 530 // To suppress missing implicit constructor warnings.
531 factory AudioNode._() { throw new UnsupportedError("Not supported"); }
525 532
526 @DomName('AudioNode.channelCount') 533 @DomName('AudioNode.channelCount')
527 @DocsEditable 534 @DocsEditable
528 int get channelCount native "AudioNode_channelCount_Getter"; 535 int get channelCount native "AudioNode_channelCount_Getter";
529 536
530 @DomName('AudioNode.channelCount') 537 @DomName('AudioNode.channelCount')
531 @DocsEditable 538 @DocsEditable
532 void set channelCount(int value) native "AudioNode_channelCount_Setter"; 539 void set channelCount(int value) native "AudioNode_channelCount_Setter";
533 540
534 @DomName('AudioNode.channelCountMode') 541 @DomName('AudioNode.channelCountMode')
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
597 // BSD-style license that can be found in the LICENSE file. 604 // BSD-style license that can be found in the LICENSE file.
598 605
599 // WARNING: Do not edit - generated code. 606 // WARNING: Do not edit - generated code.
600 607
601 608
602 @DocsEditable 609 @DocsEditable
603 @DomName('AudioParam') 610 @DomName('AudioParam')
604 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioPa ram 611 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioPa ram
605 @Experimental 612 @Experimental
606 class AudioParam extends NativeFieldWrapperClass1 { 613 class AudioParam extends NativeFieldWrapperClass1 {
607 AudioParam.internal(); 614 // To suppress missing implicit constructor warnings.
615 factory AudioParam._() { throw new UnsupportedError("Not supported"); }
608 616
609 @DomName('AudioParam.defaultValue') 617 @DomName('AudioParam.defaultValue')
610 @DocsEditable 618 @DocsEditable
611 num get defaultValue native "AudioParam_defaultValue_Getter"; 619 num get defaultValue native "AudioParam_defaultValue_Getter";
612 620
613 @DomName('AudioParam.maxValue') 621 @DomName('AudioParam.maxValue')
614 @DocsEditable 622 @DocsEditable
615 num get maxValue native "AudioParam_maxValue_Getter"; 623 num get maxValue native "AudioParam_maxValue_Getter";
616 624
617 @DomName('AudioParam.minValue') 625 @DomName('AudioParam.minValue')
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
668 // BSD-style license that can be found in the LICENSE file. 676 // BSD-style license that can be found in the LICENSE file.
669 677
670 // WARNING: Do not edit - generated code. 678 // WARNING: Do not edit - generated code.
671 679
672 680
673 @DocsEditable 681 @DocsEditable
674 @DomName('AudioProcessingEvent') 682 @DomName('AudioProcessingEvent')
675 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioPr ocessingEvent-section 683 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioPr ocessingEvent-section
676 @Experimental 684 @Experimental
677 class AudioProcessingEvent extends Event { 685 class AudioProcessingEvent extends Event {
678 AudioProcessingEvent.internal() : super.internal(); 686 // To suppress missing implicit constructor warnings.
687 factory AudioProcessingEvent._() { throw new UnsupportedError("Not supported") ; }
679 688
680 @DomName('AudioProcessingEvent.inputBuffer') 689 @DomName('AudioProcessingEvent.inputBuffer')
681 @DocsEditable 690 @DocsEditable
682 AudioBuffer get inputBuffer native "AudioProcessingEvent_inputBuffer_Getter"; 691 AudioBuffer get inputBuffer native "AudioProcessingEvent_inputBuffer_Getter";
683 692
684 @DomName('AudioProcessingEvent.outputBuffer') 693 @DomName('AudioProcessingEvent.outputBuffer')
685 @DocsEditable 694 @DocsEditable
686 AudioBuffer get outputBuffer native "AudioProcessingEvent_outputBuffer_Getter" ; 695 AudioBuffer get outputBuffer native "AudioProcessingEvent_outputBuffer_Getter" ;
687 696
688 } 697 }
689 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 698 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
690 // for details. All rights reserved. Use of this source code is governed by a 699 // for details. All rights reserved. Use of this source code is governed by a
691 // BSD-style license that can be found in the LICENSE file. 700 // BSD-style license that can be found in the LICENSE file.
692 701
693 // WARNING: Do not edit - generated code. 702 // WARNING: Do not edit - generated code.
694 703
695 704
696 @DocsEditable 705 @DocsEditable
697 @DomName('AudioSourceNode') 706 @DomName('AudioSourceNode')
698 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html 707 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html
699 @Experimental 708 @Experimental
700 class AudioSourceNode extends AudioNode { 709 class AudioSourceNode extends AudioNode {
701 AudioSourceNode.internal() : super.internal(); 710 // To suppress missing implicit constructor warnings.
711 factory AudioSourceNode._() { throw new UnsupportedError("Not supported"); }
702 712
703 } 713 }
704 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 714 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
705 // for details. All rights reserved. Use of this source code is governed by a 715 // for details. All rights reserved. Use of this source code is governed by a
706 // BSD-style license that can be found in the LICENSE file. 716 // BSD-style license that can be found in the LICENSE file.
707 717
708 // WARNING: Do not edit - generated code. 718 // WARNING: Do not edit - generated code.
709 719
710 720
711 @DocsEditable 721 @DocsEditable
712 @DomName('BiquadFilterNode') 722 @DomName('BiquadFilterNode')
713 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#BiquadF ilterNode-section 723 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#BiquadF ilterNode-section
714 @Experimental 724 @Experimental
715 class BiquadFilterNode extends AudioNode { 725 class BiquadFilterNode extends AudioNode {
716 BiquadFilterNode.internal() : super.internal(); 726 // To suppress missing implicit constructor warnings.
727 factory BiquadFilterNode._() { throw new UnsupportedError("Not supported"); }
717 728
718 @DomName('BiquadFilterNode.ALLPASS') 729 @DomName('BiquadFilterNode.ALLPASS')
719 @DocsEditable 730 @DocsEditable
720 static const int ALLPASS = 7; 731 static const int ALLPASS = 7;
721 732
722 @DomName('BiquadFilterNode.BANDPASS') 733 @DomName('BiquadFilterNode.BANDPASS')
723 @DocsEditable 734 @DocsEditable
724 static const int BANDPASS = 2; 735 static const int BANDPASS = 2;
725 736
726 @DomName('BiquadFilterNode.HIGHPASS') 737 @DomName('BiquadFilterNode.HIGHPASS')
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
781 // BSD-style license that can be found in the LICENSE file. 792 // BSD-style license that can be found in the LICENSE file.
782 793
783 // WARNING: Do not edit - generated code. 794 // WARNING: Do not edit - generated code.
784 795
785 796
786 @DocsEditable 797 @DocsEditable
787 @DomName('ChannelMergerNode') 798 @DomName('ChannelMergerNode')
788 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Channel MergerNode-section 799 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Channel MergerNode-section
789 @Experimental 800 @Experimental
790 class ChannelMergerNode extends AudioNode { 801 class ChannelMergerNode extends AudioNode {
791 ChannelMergerNode.internal() : super.internal(); 802 // To suppress missing implicit constructor warnings.
803 factory ChannelMergerNode._() { throw new UnsupportedError("Not supported"); }
792 804
793 } 805 }
794 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 806 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
795 // for details. All rights reserved. Use of this source code is governed by a 807 // for details. All rights reserved. Use of this source code is governed by a
796 // BSD-style license that can be found in the LICENSE file. 808 // BSD-style license that can be found in the LICENSE file.
797 809
798 // WARNING: Do not edit - generated code. 810 // WARNING: Do not edit - generated code.
799 811
800 812
801 @DocsEditable 813 @DocsEditable
802 @DomName('ChannelSplitterNode') 814 @DomName('ChannelSplitterNode')
803 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Channel SplitterNode-section 815 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Channel SplitterNode-section
804 @Experimental 816 @Experimental
805 class ChannelSplitterNode extends AudioNode { 817 class ChannelSplitterNode extends AudioNode {
806 ChannelSplitterNode.internal() : super.internal(); 818 // To suppress missing implicit constructor warnings.
819 factory ChannelSplitterNode._() { throw new UnsupportedError("Not supported"); }
807 820
808 } 821 }
809 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 822 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
810 // for details. All rights reserved. Use of this source code is governed by a 823 // for details. All rights reserved. Use of this source code is governed by a
811 // BSD-style license that can be found in the LICENSE file. 824 // BSD-style license that can be found in the LICENSE file.
812 825
813 // WARNING: Do not edit - generated code. 826 // WARNING: Do not edit - generated code.
814 827
815 828
816 @DocsEditable 829 @DocsEditable
817 @DomName('ConvolverNode') 830 @DomName('ConvolverNode')
818 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Convolv erNode 831 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Convolv erNode
819 @Experimental 832 @Experimental
820 class ConvolverNode extends AudioNode { 833 class ConvolverNode extends AudioNode {
821 ConvolverNode.internal() : super.internal(); 834 // To suppress missing implicit constructor warnings.
835 factory ConvolverNode._() { throw new UnsupportedError("Not supported"); }
822 836
823 @DomName('ConvolverNode.buffer') 837 @DomName('ConvolverNode.buffer')
824 @DocsEditable 838 @DocsEditable
825 AudioBuffer get buffer native "ConvolverNode_buffer_Getter"; 839 AudioBuffer get buffer native "ConvolverNode_buffer_Getter";
826 840
827 @DomName('ConvolverNode.buffer') 841 @DomName('ConvolverNode.buffer')
828 @DocsEditable 842 @DocsEditable
829 void set buffer(AudioBuffer value) native "ConvolverNode_buffer_Setter"; 843 void set buffer(AudioBuffer value) native "ConvolverNode_buffer_Setter";
830 844
831 @DomName('ConvolverNode.normalize') 845 @DomName('ConvolverNode.normalize')
(...skipping 10 matching lines...) Expand all
842 // BSD-style license that can be found in the LICENSE file. 856 // BSD-style license that can be found in the LICENSE file.
843 857
844 // WARNING: Do not edit - generated code. 858 // WARNING: Do not edit - generated code.
845 859
846 860
847 @DocsEditable 861 @DocsEditable
848 @DomName('DelayNode') 862 @DomName('DelayNode')
849 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#DelayNo de 863 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#DelayNo de
850 @Experimental 864 @Experimental
851 class DelayNode extends AudioNode { 865 class DelayNode extends AudioNode {
852 DelayNode.internal() : super.internal(); 866 // To suppress missing implicit constructor warnings.
867 factory DelayNode._() { throw new UnsupportedError("Not supported"); }
853 868
854 @DomName('DelayNode.delayTime') 869 @DomName('DelayNode.delayTime')
855 @DocsEditable 870 @DocsEditable
856 AudioParam get delayTime native "DelayNode_delayTime_Getter"; 871 AudioParam get delayTime native "DelayNode_delayTime_Getter";
857 872
858 } 873 }
859 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 874 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
860 // for details. All rights reserved. Use of this source code is governed by a 875 // for details. All rights reserved. Use of this source code is governed by a
861 // BSD-style license that can be found in the LICENSE file. 876 // BSD-style license that can be found in the LICENSE file.
862 877
863 // WARNING: Do not edit - generated code. 878 // WARNING: Do not edit - generated code.
864 879
865 880
866 @DocsEditable 881 @DocsEditable
867 @DomName('DynamicsCompressorNode') 882 @DomName('DynamicsCompressorNode')
868 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Dynamic sCompressorNode 883 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Dynamic sCompressorNode
869 @Experimental 884 @Experimental
870 class DynamicsCompressorNode extends AudioNode { 885 class DynamicsCompressorNode extends AudioNode {
871 DynamicsCompressorNode.internal() : super.internal(); 886 // To suppress missing implicit constructor warnings.
887 factory DynamicsCompressorNode._() { throw new UnsupportedError("Not supported "); }
872 888
873 @DomName('DynamicsCompressorNode.attack') 889 @DomName('DynamicsCompressorNode.attack')
874 @DocsEditable 890 @DocsEditable
875 AudioParam get attack native "DynamicsCompressorNode_attack_Getter"; 891 AudioParam get attack native "DynamicsCompressorNode_attack_Getter";
876 892
877 @DomName('DynamicsCompressorNode.knee') 893 @DomName('DynamicsCompressorNode.knee')
878 @DocsEditable 894 @DocsEditable
879 AudioParam get knee native "DynamicsCompressorNode_knee_Getter"; 895 AudioParam get knee native "DynamicsCompressorNode_knee_Getter";
880 896
881 @DomName('DynamicsCompressorNode.ratio') 897 @DomName('DynamicsCompressorNode.ratio')
(...skipping 18 matching lines...) Expand all
900 // BSD-style license that can be found in the LICENSE file. 916 // BSD-style license that can be found in the LICENSE file.
901 917
902 // WARNING: Do not edit - generated code. 918 // WARNING: Do not edit - generated code.
903 919
904 920
905 @DocsEditable 921 @DocsEditable
906 @DomName('GainNode') 922 @DomName('GainNode')
907 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#GainNod e 923 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#GainNod e
908 @Experimental 924 @Experimental
909 class GainNode extends AudioNode { 925 class GainNode extends AudioNode {
910 GainNode.internal() : super.internal(); 926 // To suppress missing implicit constructor warnings.
927 factory GainNode._() { throw new UnsupportedError("Not supported"); }
911 928
912 @DomName('GainNode.gain') 929 @DomName('GainNode.gain')
913 @DocsEditable 930 @DocsEditable
914 AudioParam get gain native "GainNode_gain_Getter"; 931 AudioParam get gain native "GainNode_gain_Getter";
915 932
916 } 933 }
917 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 934 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
918 // for details. All rights reserved. Use of this source code is governed by a 935 // for details. All rights reserved. Use of this source code is governed by a
919 // BSD-style license that can be found in the LICENSE file. 936 // BSD-style license that can be found in the LICENSE file.
920 937
921 // WARNING: Do not edit - generated code. 938 // WARNING: Do not edit - generated code.
922 939
923 940
924 @DocsEditable 941 @DocsEditable
925 @DomName('MediaElementAudioSourceNode') 942 @DomName('MediaElementAudioSourceNode')
926 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#MediaEl ementAudioSourceNode 943 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#MediaEl ementAudioSourceNode
927 @Experimental 944 @Experimental
928 class MediaElementAudioSourceNode extends AudioSourceNode { 945 class MediaElementAudioSourceNode extends AudioSourceNode {
929 MediaElementAudioSourceNode.internal() : super.internal(); 946 // To suppress missing implicit constructor warnings.
947 factory MediaElementAudioSourceNode._() { throw new UnsupportedError("Not supp orted"); }
930 948
931 @DomName('MediaElementAudioSourceNode.mediaElement') 949 @DomName('MediaElementAudioSourceNode.mediaElement')
932 @DocsEditable 950 @DocsEditable
933 @Experimental // non-standard 951 @Experimental // non-standard
934 MediaElement get mediaElement native "MediaElementAudioSourceNode_mediaElement _Getter"; 952 MediaElement get mediaElement native "MediaElementAudioSourceNode_mediaElement _Getter";
935 953
936 } 954 }
937 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 955 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
938 // for details. All rights reserved. Use of this source code is governed by a 956 // for details. All rights reserved. Use of this source code is governed by a
939 // BSD-style license that can be found in the LICENSE file. 957 // BSD-style license that can be found in the LICENSE file.
940 958
941 // WARNING: Do not edit - generated code. 959 // WARNING: Do not edit - generated code.
942 960
943 961
944 @DocsEditable 962 @DocsEditable
945 @DomName('MediaStreamAudioDestinationNode') 963 @DomName('MediaStreamAudioDestinationNode')
946 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#MediaSt reamAudioDestinationNode 964 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#MediaSt reamAudioDestinationNode
947 @Experimental 965 @Experimental
948 class MediaStreamAudioDestinationNode extends AudioSourceNode { 966 class MediaStreamAudioDestinationNode extends AudioSourceNode {
949 MediaStreamAudioDestinationNode.internal() : super.internal(); 967 // To suppress missing implicit constructor warnings.
968 factory MediaStreamAudioDestinationNode._() { throw new UnsupportedError("Not supported"); }
950 969
951 @DomName('MediaStreamAudioDestinationNode.stream') 970 @DomName('MediaStreamAudioDestinationNode.stream')
952 @DocsEditable 971 @DocsEditable
953 MediaStream get stream native "MediaStreamAudioDestinationNode_stream_Getter"; 972 MediaStream get stream native "MediaStreamAudioDestinationNode_stream_Getter";
954 973
955 } 974 }
956 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 975 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
957 // for details. All rights reserved. Use of this source code is governed by a 976 // for details. All rights reserved. Use of this source code is governed by a
958 // BSD-style license that can be found in the LICENSE file. 977 // BSD-style license that can be found in the LICENSE file.
959 978
960 // WARNING: Do not edit - generated code. 979 // WARNING: Do not edit - generated code.
961 980
962 981
963 @DocsEditable 982 @DocsEditable
964 @DomName('MediaStreamAudioSourceNode') 983 @DomName('MediaStreamAudioSourceNode')
965 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#MediaSt reamAudioSourceNode 984 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#MediaSt reamAudioSourceNode
966 @Experimental 985 @Experimental
967 class MediaStreamAudioSourceNode extends AudioSourceNode { 986 class MediaStreamAudioSourceNode extends AudioSourceNode {
968 MediaStreamAudioSourceNode.internal() : super.internal(); 987 // To suppress missing implicit constructor warnings.
988 factory MediaStreamAudioSourceNode._() { throw new UnsupportedError("Not suppo rted"); }
969 989
970 @DomName('MediaStreamAudioSourceNode.mediaStream') 990 @DomName('MediaStreamAudioSourceNode.mediaStream')
971 @DocsEditable 991 @DocsEditable
972 MediaStream get mediaStream native "MediaStreamAudioSourceNode_mediaStream_Get ter"; 992 MediaStream get mediaStream native "MediaStreamAudioSourceNode_mediaStream_Get ter";
973 993
974 } 994 }
975 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 995 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
976 // for details. All rights reserved. Use of this source code is governed by a 996 // for details. All rights reserved. Use of this source code is governed by a
977 // BSD-style license that can be found in the LICENSE file. 997 // BSD-style license that can be found in the LICENSE file.
978 998
979 // WARNING: Do not edit - generated code. 999 // WARNING: Do not edit - generated code.
980 1000
981 1001
982 @DocsEditable 1002 @DocsEditable
983 @DomName('OfflineAudioCompletionEvent') 1003 @DomName('OfflineAudioCompletionEvent')
984 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Offline AudioCompletionEvent-section 1004 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Offline AudioCompletionEvent-section
985 @Experimental 1005 @Experimental
986 class OfflineAudioCompletionEvent extends Event { 1006 class OfflineAudioCompletionEvent extends Event {
987 OfflineAudioCompletionEvent.internal() : super.internal(); 1007 // To suppress missing implicit constructor warnings.
1008 factory OfflineAudioCompletionEvent._() { throw new UnsupportedError("Not supp orted"); }
988 1009
989 @DomName('OfflineAudioCompletionEvent.renderedBuffer') 1010 @DomName('OfflineAudioCompletionEvent.renderedBuffer')
990 @DocsEditable 1011 @DocsEditable
991 AudioBuffer get renderedBuffer native "OfflineAudioCompletionEvent_renderedBuf fer_Getter"; 1012 AudioBuffer get renderedBuffer native "OfflineAudioCompletionEvent_renderedBuf fer_Getter";
992 1013
993 } 1014 }
994 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1015 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
995 // for details. All rights reserved. Use of this source code is governed by a 1016 // for details. All rights reserved. Use of this source code is governed by a
996 // BSD-style license that can be found in the LICENSE file. 1017 // BSD-style license that can be found in the LICENSE file.
997 1018
998 // WARNING: Do not edit - generated code. 1019 // WARNING: Do not edit - generated code.
999 1020
1000 1021
1001 @DocsEditable 1022 @DocsEditable
1002 @DomName('OfflineAudioContext') 1023 @DomName('OfflineAudioContext')
1003 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Offline AudioContext-section 1024 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Offline AudioContext-section
1004 @Experimental 1025 @Experimental
1005 class OfflineAudioContext extends AudioContext implements EventTarget { 1026 class OfflineAudioContext extends AudioContext implements EventTarget {
1006 OfflineAudioContext.internal() : super.internal(); 1027 // To suppress missing implicit constructor warnings.
1028 factory OfflineAudioContext._() { throw new UnsupportedError("Not supported"); }
1007 1029
1008 @DomName('OfflineAudioContext.OfflineAudioContext') 1030 @DomName('OfflineAudioContext.OfflineAudioContext')
1009 @DocsEditable 1031 @DocsEditable
1010 factory OfflineAudioContext(int numberOfChannels, int numberOfFrames, num samp leRate) { 1032 factory OfflineAudioContext(int numberOfChannels, int numberOfFrames, num samp leRate) {
1011 return OfflineAudioContext._create_1(numberOfChannels, numberOfFrames, sampl eRate); 1033 return OfflineAudioContext._create_1(numberOfChannels, numberOfFrames, sampl eRate);
1012 } 1034 }
1013 1035
1014 @DocsEditable 1036 @DocsEditable
1015 static OfflineAudioContext _create_1(numberOfChannels, numberOfFrames, sampleR ate) native "OfflineAudioContext__create_1constructorCallback"; 1037 static OfflineAudioContext _create_1(numberOfChannels, numberOfFrames, sampleR ate) native "OfflineAudioContext__create_1constructorCallback";
1016 1038
1017 } 1039 }
1018 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1040 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1019 // for details. All rights reserved. Use of this source code is governed by a 1041 // for details. All rights reserved. Use of this source code is governed by a
1020 // BSD-style license that can be found in the LICENSE file. 1042 // BSD-style license that can be found in the LICENSE file.
1021 1043
1022 // WARNING: Do not edit - generated code. 1044 // WARNING: Do not edit - generated code.
1023 1045
1024 1046
1025 @DocsEditable 1047 @DocsEditable
1026 @DomName('OscillatorNode') 1048 @DomName('OscillatorNode')
1027 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#dfn-Osc illatorNode 1049 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#dfn-Osc illatorNode
1028 @Experimental 1050 @Experimental
1029 class OscillatorNode extends AudioSourceNode { 1051 class OscillatorNode extends AudioSourceNode {
1030 OscillatorNode.internal() : super.internal(); 1052 // To suppress missing implicit constructor warnings.
1053 factory OscillatorNode._() { throw new UnsupportedError("Not supported"); }
1031 1054
1032 @DomName('OscillatorNode.CUSTOM') 1055 @DomName('OscillatorNode.CUSTOM')
1033 @DocsEditable 1056 @DocsEditable
1034 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Alter nateNames 1057 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Alter nateNames
1035 @deprecated // deprecated 1058 @deprecated // deprecated
1036 static const int CUSTOM = 4; 1059 static const int CUSTOM = 4;
1037 1060
1038 @DomName('OscillatorNode.FINISHED_STATE') 1061 @DomName('OscillatorNode.FINISHED_STATE')
1039 @DocsEditable 1062 @DocsEditable
1040 static const int FINISHED_STATE = 3; 1063 static const int FINISHED_STATE = 3;
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
1121 // BSD-style license that can be found in the LICENSE file. 1144 // BSD-style license that can be found in the LICENSE file.
1122 1145
1123 // WARNING: Do not edit - generated code. 1146 // WARNING: Do not edit - generated code.
1124 1147
1125 1148
1126 @DocsEditable 1149 @DocsEditable
1127 @DomName('PannerNode') 1150 @DomName('PannerNode')
1128 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#PannerN ode 1151 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#PannerN ode
1129 @Experimental 1152 @Experimental
1130 class PannerNode extends AudioNode { 1153 class PannerNode extends AudioNode {
1131 PannerNode.internal() : super.internal(); 1154 // To suppress missing implicit constructor warnings.
1155 factory PannerNode._() { throw new UnsupportedError("Not supported"); }
1132 1156
1133 @DomName('PannerNode.EQUALPOWER') 1157 @DomName('PannerNode.EQUALPOWER')
1134 @DocsEditable 1158 @DocsEditable
1135 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Alter nateNames 1159 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Alter nateNames
1136 @deprecated // deprecated 1160 @deprecated // deprecated
1137 static const int EQUALPOWER = 0; 1161 static const int EQUALPOWER = 0;
1138 1162
1139 @DomName('PannerNode.EXPONENTIAL_DISTANCE') 1163 @DomName('PannerNode.EXPONENTIAL_DISTANCE')
1140 @DocsEditable 1164 @DocsEditable
1141 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Alter nateNames 1165 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Alter nateNames
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
1273 controller.add(audioData); 1297 controller.add(audioData);
1274 } 1298 }
1275 }; 1299 };
1276 _setEventListener(callback); 1300 _setEventListener(callback);
1277 _eventStream = controller.stream; 1301 _eventStream = controller.stream;
1278 } 1302 }
1279 return _eventStream; 1303 return _eventStream;
1280 } 1304 }
1281 1305
1282 1306
1283 ScriptProcessorNode.internal() : super.internal(); 1307 // To suppress missing implicit constructor warnings.
1308 factory ScriptProcessorNode._() { throw new UnsupportedError("Not supported"); }
1284 1309
1285 @DomName('ScriptProcessorNode.bufferSize') 1310 @DomName('ScriptProcessorNode.bufferSize')
1286 @DocsEditable 1311 @DocsEditable
1287 int get bufferSize native "ScriptProcessorNode_bufferSize_Getter"; 1312 int get bufferSize native "ScriptProcessorNode_bufferSize_Getter";
1288 1313
1289 @DomName('ScriptProcessorNode._setEventListener') 1314 @DomName('ScriptProcessorNode._setEventListener')
1290 @DocsEditable 1315 @DocsEditable
1291 @Experimental // non-standard 1316 @Experimental // non-standard
1292 void _setEventListener(EventListener eventListener) native "ScriptProcessorNod e__setEventListener_Callback"; 1317 void _setEventListener(EventListener eventListener) native "ScriptProcessorNod e__setEventListener_Callback";
1293 1318
1294 } 1319 }
1295 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1320 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1296 // for details. All rights reserved. Use of this source code is governed by a 1321 // for details. All rights reserved. Use of this source code is governed by a
1297 // BSD-style license that can be found in the LICENSE file. 1322 // BSD-style license that can be found in the LICENSE file.
1298 1323
1299 // WARNING: Do not edit - generated code. 1324 // WARNING: Do not edit - generated code.
1300 1325
1301 1326
1302 @DocsEditable 1327 @DocsEditable
1303 @DomName('WaveShaperNode') 1328 @DomName('WaveShaperNode')
1304 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#dfn-Wav eShaperNode 1329 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#dfn-Wav eShaperNode
1305 @Experimental 1330 @Experimental
1306 class WaveShaperNode extends AudioNode { 1331 class WaveShaperNode extends AudioNode {
1307 WaveShaperNode.internal() : super.internal(); 1332 // To suppress missing implicit constructor warnings.
1333 factory WaveShaperNode._() { throw new UnsupportedError("Not supported"); }
1308 1334
1309 @DomName('WaveShaperNode.curve') 1335 @DomName('WaveShaperNode.curve')
1310 @DocsEditable 1336 @DocsEditable
1311 Float32List get curve native "WaveShaperNode_curve_Getter"; 1337 Float32List get curve native "WaveShaperNode_curve_Getter";
1312 1338
1313 @DomName('WaveShaperNode.curve') 1339 @DomName('WaveShaperNode.curve')
1314 @DocsEditable 1340 @DocsEditable
1315 void set curve(Float32List value) native "WaveShaperNode_curve_Setter"; 1341 void set curve(Float32List value) native "WaveShaperNode_curve_Setter";
1316 1342
1317 @DomName('WaveShaperNode.oversample') 1343 @DomName('WaveShaperNode.oversample')
(...skipping 10 matching lines...) Expand all
1328 // BSD-style license that can be found in the LICENSE file. 1354 // BSD-style license that can be found in the LICENSE file.
1329 1355
1330 // WARNING: Do not edit - generated code. 1356 // WARNING: Do not edit - generated code.
1331 1357
1332 1358
1333 @DocsEditable 1359 @DocsEditable
1334 @DomName('WaveTable') 1360 @DomName('WaveTable')
1335 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#WaveTab le-section 1361 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#WaveTab le-section
1336 @Experimental 1362 @Experimental
1337 class WaveTable extends NativeFieldWrapperClass1 { 1363 class WaveTable extends NativeFieldWrapperClass1 {
1338 WaveTable.internal(); 1364 // To suppress missing implicit constructor warnings.
1365 factory WaveTable._() { throw new UnsupportedError("Not supported"); }
1339 1366
1340 } 1367 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698