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

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

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

Powered by Google App Engine
This is Rietveld 408576698