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

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

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

Powered by Google App Engine
This is Rietveld 408576698