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

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

Issue 15074006: Generating annotations from DOM triage list. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 7 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
26 @Experimental
25 class AnalyserNode extends AudioNode { 27 class AnalyserNode extends AudioNode {
26 AnalyserNode.internal() : super.internal(); 28 AnalyserNode.internal() : super.internal();
27 29
28 @DomName('AnalyserNode.fftSize') 30 @DomName('AnalyserNode.fftSize')
29 @DocsEditable 31 @DocsEditable
30 int get fftSize native "AnalyserNode_fftSize_Getter"; 32 int get fftSize native "AnalyserNode_fftSize_Getter";
31 33
32 @DomName('AnalyserNode.fftSize') 34 @DomName('AnalyserNode.fftSize')
33 @DocsEditable 35 @DocsEditable
34 void set fftSize(int value) native "AnalyserNode_fftSize_Setter"; 36 void set fftSize(int value) native "AnalyserNode_fftSize_Setter";
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 } 78 }
77 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 79 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
78 // for details. All rights reserved. Use of this source code is governed by a 80 // for details. All rights reserved. Use of this source code is governed by a
79 // BSD-style license that can be found in the LICENSE file. 81 // BSD-style license that can be found in the LICENSE file.
80 82
81 // WARNING: Do not edit - generated code. 83 // WARNING: Do not edit - generated code.
82 84
83 85
84 @DocsEditable 86 @DocsEditable
85 @DomName('AudioBuffer') 87 @DomName('AudioBuffer')
88 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioBu ffer-section
89 @Experimental
86 class AudioBuffer extends NativeFieldWrapperClass1 { 90 class AudioBuffer extends NativeFieldWrapperClass1 {
87 AudioBuffer.internal(); 91 AudioBuffer.internal();
88 92
89 @DomName('AudioBuffer.duration') 93 @DomName('AudioBuffer.duration')
90 @DocsEditable 94 @DocsEditable
91 num get duration native "AudioBuffer_duration_Getter"; 95 num get duration native "AudioBuffer_duration_Getter";
92 96
93 @DomName('AudioBuffer.gain') 97 @DomName('AudioBuffer.gain')
94 @DocsEditable 98 @DocsEditable
95 num get gain native "AudioBuffer_gain_Getter"; 99 num get gain native "AudioBuffer_gain_Getter";
(...skipping 19 matching lines...) Expand all
115 Float32List getChannelData(int channelIndex) native "AudioBuffer_getChannelDat a_Callback"; 119 Float32List getChannelData(int channelIndex) native "AudioBuffer_getChannelDat a_Callback";
116 120
117 } 121 }
118 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 122 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
119 // for details. All rights reserved. Use of this source code is governed by a 123 // for details. All rights reserved. Use of this source code is governed by a
120 // BSD-style license that can be found in the LICENSE file. 124 // BSD-style license that can be found in the LICENSE file.
121 125
122 // WARNING: Do not edit - generated code. 126 // WARNING: Do not edit - generated code.
123 127
124 128
129 @DomName('AudioBufferCallback')
130 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioBu ffer-section
131 @Experimental
125 typedef void AudioBufferCallback(AudioBuffer audioBuffer); 132 typedef void AudioBufferCallback(AudioBuffer audioBuffer);
126 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 133 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
127 // for details. All rights reserved. Use of this source code is governed by a 134 // for details. All rights reserved. Use of this source code is governed by a
128 // BSD-style license that can be found in the LICENSE file. 135 // BSD-style license that can be found in the LICENSE file.
129 136
130 // WARNING: Do not edit - generated code. 137 // WARNING: Do not edit - generated code.
131 138
132 139
133 @DocsEditable 140 @DocsEditable
134 @DomName('AudioBufferSourceNode') 141 @DomName('AudioBufferSourceNode')
142 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioBu fferSourceNode-section
143 @Experimental
135 class AudioBufferSourceNode extends AudioSourceNode { 144 class AudioBufferSourceNode extends AudioSourceNode {
136 AudioBufferSourceNode.internal() : super.internal(); 145 AudioBufferSourceNode.internal() : super.internal();
137 146
138 @DomName('AudioBufferSourceNode.FINISHED_STATE') 147 @DomName('AudioBufferSourceNode.FINISHED_STATE')
139 @DocsEditable 148 @DocsEditable
140 static const int FINISHED_STATE = 3; 149 static const int FINISHED_STATE = 3;
141 150
142 @DomName('AudioBufferSourceNode.PLAYING_STATE') 151 @DomName('AudioBufferSourceNode.PLAYING_STATE')
143 @DocsEditable 152 @DocsEditable
144 static const int PLAYING_STATE = 2; 153 static const int PLAYING_STATE = 2;
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
190 @DomName('AudioBufferSourceNode.playbackRate') 199 @DomName('AudioBufferSourceNode.playbackRate')
191 @DocsEditable 200 @DocsEditable
192 AudioParam get playbackRate native "AudioBufferSourceNode_playbackRate_Getter" ; 201 AudioParam get playbackRate native "AudioBufferSourceNode_playbackRate_Getter" ;
193 202
194 @DomName('AudioBufferSourceNode.playbackState') 203 @DomName('AudioBufferSourceNode.playbackState')
195 @DocsEditable 204 @DocsEditable
196 int get playbackState native "AudioBufferSourceNode_playbackState_Getter"; 205 int get playbackState native "AudioBufferSourceNode_playbackState_Getter";
197 206
198 @DomName('AudioBufferSourceNode.noteGrainOn') 207 @DomName('AudioBufferSourceNode.noteGrainOn')
199 @DocsEditable 208 @DocsEditable
209 @Experimental // untriaged
200 void noteGrainOn(num when, num grainOffset, num grainDuration) native "AudioBu fferSourceNode_noteGrainOn_Callback"; 210 void noteGrainOn(num when, num grainOffset, num grainDuration) native "AudioBu fferSourceNode_noteGrainOn_Callback";
201 211
202 @DomName('AudioBufferSourceNode.noteOff') 212 @DomName('AudioBufferSourceNode.noteOff')
203 @DocsEditable 213 @DocsEditable
214 @Experimental // untriaged
204 void noteOff(num when) native "AudioBufferSourceNode_noteOff_Callback"; 215 void noteOff(num when) native "AudioBufferSourceNode_noteOff_Callback";
205 216
206 @DomName('AudioBufferSourceNode.noteOn') 217 @DomName('AudioBufferSourceNode.noteOn')
207 @DocsEditable 218 @DocsEditable
219 @Experimental // untriaged
208 void noteOn(num when) native "AudioBufferSourceNode_noteOn_Callback"; 220 void noteOn(num when) native "AudioBufferSourceNode_noteOn_Callback";
209 221
210 void start(num when, [num grainOffset, num grainDuration]) { 222 void start(num when, [num grainOffset, num grainDuration]) {
211 if ((when is num || when == null) && !?grainOffset && !?grainDuration) { 223 if ((when is num || when == null) && !?grainOffset && !?grainDuration) {
212 _start_1(when); 224 _start_1(when);
213 return; 225 return;
214 } 226 }
215 if ((when is num || when == null) && (grainOffset is num || grainOffset == n ull) && !?grainDuration) { 227 if ((when is num || when == null) && (grainOffset is num || grainOffset == n ull) && !?grainDuration) {
216 _start_2(when, grainOffset); 228 _start_2(when, grainOffset);
217 return; 229 return;
(...skipping 15 matching lines...) Expand all
233 @DocsEditable 245 @DocsEditable
234 void stop(num when) native "AudioBufferSourceNode_stop_Callback"; 246 void stop(num when) native "AudioBufferSourceNode_stop_Callback";
235 247
236 } 248 }
237 // 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
238 // 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
239 // BSD-style license that can be found in the LICENSE file. 251 // BSD-style license that can be found in the LICENSE file.
240 252
241 253
242 @DomName('AudioContext') 254 @DomName('AudioContext')
255 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioCo ntext-section
256 @Experimental
243 class AudioContext extends EventTarget { 257 class AudioContext extends EventTarget {
244 AudioContext.internal() : super.internal(); 258 AudioContext.internal() : super.internal();
245 259
246 @DomName('AudioContext.completeEvent') 260 @DomName('AudioContext.completeEvent')
247 @DocsEditable 261 @DocsEditable
248 static const EventStreamProvider<Event> completeEvent = const EventStreamProvi der<Event>('complete'); 262 static const EventStreamProvider<Event> completeEvent = const EventStreamProvi der<Event>('complete');
249 factory AudioContext() => _create(); 263 factory AudioContext() => _create();
250 264
251 @DocsEditable 265 @DocsEditable
252 static AudioContext _create() native "AudioContext_constructorCallback"; 266 static AudioContext _create() native "AudioContext_constructorCallback";
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
351 @DomName('AudioContext.createDynamicsCompressor') 365 @DomName('AudioContext.createDynamicsCompressor')
352 @DocsEditable 366 @DocsEditable
353 DynamicsCompressorNode createDynamicsCompressor() native "AudioContext_createD ynamicsCompressor_Callback"; 367 DynamicsCompressorNode createDynamicsCompressor() native "AudioContext_createD ynamicsCompressor_Callback";
354 368
355 @DomName('AudioContext.createGain') 369 @DomName('AudioContext.createGain')
356 @DocsEditable 370 @DocsEditable
357 GainNode createGain() native "AudioContext_createGain_Callback"; 371 GainNode createGain() native "AudioContext_createGain_Callback";
358 372
359 @DomName('AudioContext.createGainNode') 373 @DomName('AudioContext.createGainNode')
360 @DocsEditable 374 @DocsEditable
375 @Experimental // untriaged
361 GainNode createGainNode() native "AudioContext_createGainNode_Callback"; 376 GainNode createGainNode() native "AudioContext_createGainNode_Callback";
362 377
363 ScriptProcessorNode createJavaScriptNode(int bufferSize, [int numberOfInputCha nnels, int numberOfOutputChannels]) { 378 ScriptProcessorNode createJavaScriptNode(int bufferSize, [int numberOfInputCha nnels, int numberOfOutputChannels]) {
364 if (?numberOfOutputChannels) { 379 if (?numberOfOutputChannels) {
365 return _createJavaScriptNode_1(bufferSize, numberOfInputChannels, numberOf OutputChannels); 380 return _createJavaScriptNode_1(bufferSize, numberOfInputChannels, numberOf OutputChannels);
366 } 381 }
367 if (?numberOfInputChannels) { 382 if (?numberOfInputChannels) {
368 return _createJavaScriptNode_2(bufferSize, numberOfInputChannels); 383 return _createJavaScriptNode_2(bufferSize, numberOfInputChannels);
369 } 384 }
370 return _createJavaScriptNode_3(bufferSize); 385 return _createJavaScriptNode_3(bufferSize);
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
435 } 450 }
436 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 451 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
437 // for details. All rights reserved. Use of this source code is governed by a 452 // for details. All rights reserved. Use of this source code is governed by a
438 // BSD-style license that can be found in the LICENSE file. 453 // BSD-style license that can be found in the LICENSE file.
439 454
440 // WARNING: Do not edit - generated code. 455 // WARNING: Do not edit - generated code.
441 456
442 457
443 @DocsEditable 458 @DocsEditable
444 @DomName('AudioDestinationNode') 459 @DomName('AudioDestinationNode')
460 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioDe stinationNode-section
461 @Experimental
445 class AudioDestinationNode extends AudioNode { 462 class AudioDestinationNode extends AudioNode {
446 AudioDestinationNode.internal() : super.internal(); 463 AudioDestinationNode.internal() : super.internal();
447 464
448 @DomName('AudioDestinationNode.maxChannelCount') 465 @DomName('AudioDestinationNode.maxChannelCount')
449 @DocsEditable 466 @DocsEditable
450 int get maxChannelCount native "AudioDestinationNode_maxChannelCount_Getter"; 467 int get maxChannelCount native "AudioDestinationNode_maxChannelCount_Getter";
451 468
452 } 469 }
453 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 470 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
454 // for details. All rights reserved. Use of this source code is governed by a 471 // for details. All rights reserved. Use of this source code is governed by a
455 // BSD-style license that can be found in the LICENSE file. 472 // BSD-style license that can be found in the LICENSE file.
456 473
457 // WARNING: Do not edit - generated code. 474 // WARNING: Do not edit - generated code.
458 475
459 476
460 @DocsEditable 477 @DocsEditable
461 @DomName('AudioListener') 478 @DomName('AudioListener')
479 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioLi stener-section
480 @Experimental
462 class AudioListener extends NativeFieldWrapperClass1 { 481 class AudioListener extends NativeFieldWrapperClass1 {
463 AudioListener.internal(); 482 AudioListener.internal();
464 483
465 @DomName('AudioListener.dopplerFactor') 484 @DomName('AudioListener.dopplerFactor')
466 @DocsEditable 485 @DocsEditable
467 num get dopplerFactor native "AudioListener_dopplerFactor_Getter"; 486 num get dopplerFactor native "AudioListener_dopplerFactor_Getter";
468 487
469 @DomName('AudioListener.dopplerFactor') 488 @DomName('AudioListener.dopplerFactor')
470 @DocsEditable 489 @DocsEditable
471 void set dopplerFactor(num value) native "AudioListener_dopplerFactor_Setter"; 490 void set dopplerFactor(num value) native "AudioListener_dopplerFactor_Setter";
(...skipping 21 matching lines...) Expand all
493 } 512 }
494 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 513 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
495 // for details. All rights reserved. Use of this source code is governed by a 514 // for details. All rights reserved. Use of this source code is governed by a
496 // BSD-style license that can be found in the LICENSE file. 515 // BSD-style license that can be found in the LICENSE file.
497 516
498 // WARNING: Do not edit - generated code. 517 // WARNING: Do not edit - generated code.
499 518
500 519
501 @DocsEditable 520 @DocsEditable
502 @DomName('AudioNode') 521 @DomName('AudioNode')
522 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioNo de-section
523 @Experimental
503 class AudioNode extends NativeFieldWrapperClass1 { 524 class AudioNode extends NativeFieldWrapperClass1 {
504 AudioNode.internal(); 525 AudioNode.internal();
505 526
506 @DomName('AudioNode.channelCount') 527 @DomName('AudioNode.channelCount')
507 @DocsEditable 528 @DocsEditable
508 int get channelCount native "AudioNode_channelCount_Getter"; 529 int get channelCount native "AudioNode_channelCount_Getter";
509 530
510 @DomName('AudioNode.channelCount') 531 @DomName('AudioNode.channelCount')
511 @DocsEditable 532 @DocsEditable
512 void set channelCount(int value) native "AudioNode_channelCount_Setter"; 533 void set channelCount(int value) native "AudioNode_channelCount_Setter";
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
562 } 583 }
563 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 584 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
564 // for details. All rights reserved. Use of this source code is governed by a 585 // for details. All rights reserved. Use of this source code is governed by a
565 // BSD-style license that can be found in the LICENSE file. 586 // BSD-style license that can be found in the LICENSE file.
566 587
567 // WARNING: Do not edit - generated code. 588 // WARNING: Do not edit - generated code.
568 589
569 590
570 @DocsEditable 591 @DocsEditable
571 @DomName('AudioParam') 592 @DomName('AudioParam')
593 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioPa ram
594 @Experimental
572 class AudioParam extends NativeFieldWrapperClass1 { 595 class AudioParam extends NativeFieldWrapperClass1 {
573 AudioParam.internal(); 596 AudioParam.internal();
574 597
575 @DomName('AudioParam.defaultValue') 598 @DomName('AudioParam.defaultValue')
576 @DocsEditable 599 @DocsEditable
577 num get defaultValue native "AudioParam_defaultValue_Getter"; 600 num get defaultValue native "AudioParam_defaultValue_Getter";
578 601
579 @DomName('AudioParam.maxValue') 602 @DomName('AudioParam.maxValue')
580 @DocsEditable 603 @DocsEditable
581 num get maxValue native "AudioParam_maxValue_Getter"; 604 num get maxValue native "AudioParam_maxValue_Getter";
(...skipping 29 matching lines...) Expand all
611 @DomName('AudioParam.linearRampToValueAtTime') 634 @DomName('AudioParam.linearRampToValueAtTime')
612 @DocsEditable 635 @DocsEditable
613 void linearRampToValueAtTime(num value, num time) native "AudioParam_linearRam pToValueAtTime_Callback"; 636 void linearRampToValueAtTime(num value, num time) native "AudioParam_linearRam pToValueAtTime_Callback";
614 637
615 @DomName('AudioParam.setTargetAtTime') 638 @DomName('AudioParam.setTargetAtTime')
616 @DocsEditable 639 @DocsEditable
617 void setTargetAtTime(num target, num time, num timeConstant) native "AudioPara m_setTargetAtTime_Callback"; 640 void setTargetAtTime(num target, num time, num timeConstant) native "AudioPara m_setTargetAtTime_Callback";
618 641
619 @DomName('AudioParam.setTargetValueAtTime') 642 @DomName('AudioParam.setTargetValueAtTime')
620 @DocsEditable 643 @DocsEditable
644 @Experimental // untriaged
621 void setTargetValueAtTime(num targetValue, num time, num timeConstant) native "AudioParam_setTargetValueAtTime_Callback"; 645 void setTargetValueAtTime(num targetValue, num time, num timeConstant) native "AudioParam_setTargetValueAtTime_Callback";
622 646
623 @DomName('AudioParam.setValueAtTime') 647 @DomName('AudioParam.setValueAtTime')
624 @DocsEditable 648 @DocsEditable
625 void setValueAtTime(num value, num time) native "AudioParam_setValueAtTime_Cal lback"; 649 void setValueAtTime(num value, num time) native "AudioParam_setValueAtTime_Cal lback";
626 650
627 @DomName('AudioParam.setValueCurveAtTime') 651 @DomName('AudioParam.setValueCurveAtTime')
628 @DocsEditable 652 @DocsEditable
629 void setValueCurveAtTime(Float32List values, num time, num duration) native "A udioParam_setValueCurveAtTime_Callback"; 653 void setValueCurveAtTime(Float32List values, num time, num duration) native "A udioParam_setValueCurveAtTime_Callback";
630 654
631 } 655 }
632 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 656 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
633 // for details. All rights reserved. Use of this source code is governed by a 657 // for details. All rights reserved. Use of this source code is governed by a
634 // BSD-style license that can be found in the LICENSE file. 658 // BSD-style license that can be found in the LICENSE file.
635 659
636 // WARNING: Do not edit - generated code. 660 // WARNING: Do not edit - generated code.
637 661
638 662
639 @DocsEditable 663 @DocsEditable
640 @DomName('AudioProcessingEvent') 664 @DomName('AudioProcessingEvent')
665 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioPr ocessingEvent-section
666 @Experimental
641 class AudioProcessingEvent extends Event { 667 class AudioProcessingEvent extends Event {
642 AudioProcessingEvent.internal() : super.internal(); 668 AudioProcessingEvent.internal() : super.internal();
643 669
644 @DomName('AudioProcessingEvent.inputBuffer') 670 @DomName('AudioProcessingEvent.inputBuffer')
645 @DocsEditable 671 @DocsEditable
646 AudioBuffer get inputBuffer native "AudioProcessingEvent_inputBuffer_Getter"; 672 AudioBuffer get inputBuffer native "AudioProcessingEvent_inputBuffer_Getter";
647 673
648 @DomName('AudioProcessingEvent.outputBuffer') 674 @DomName('AudioProcessingEvent.outputBuffer')
649 @DocsEditable 675 @DocsEditable
650 AudioBuffer get outputBuffer native "AudioProcessingEvent_outputBuffer_Getter" ; 676 AudioBuffer get outputBuffer native "AudioProcessingEvent_outputBuffer_Getter" ;
651 677
652 } 678 }
653 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 679 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
654 // for details. All rights reserved. Use of this source code is governed by a 680 // for details. All rights reserved. Use of this source code is governed by a
655 // BSD-style license that can be found in the LICENSE file. 681 // BSD-style license that can be found in the LICENSE file.
656 682
657 // WARNING: Do not edit - generated code. 683 // WARNING: Do not edit - generated code.
658 684
659 685
660 @DocsEditable 686 @DocsEditable
661 @DomName('AudioSourceNode') 687 @DomName('AudioSourceNode')
688 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html
689 @Experimental
662 class AudioSourceNode extends AudioNode { 690 class AudioSourceNode extends AudioNode {
663 AudioSourceNode.internal() : super.internal(); 691 AudioSourceNode.internal() : super.internal();
664 692
665 } 693 }
666 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 694 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
667 // for details. All rights reserved. Use of this source code is governed by a 695 // for details. All rights reserved. Use of this source code is governed by a
668 // BSD-style license that can be found in the LICENSE file. 696 // BSD-style license that can be found in the LICENSE file.
669 697
670 // WARNING: Do not edit - generated code. 698 // WARNING: Do not edit - generated code.
671 699
672 700
673 @DocsEditable 701 @DocsEditable
674 @DomName('BiquadFilterNode') 702 @DomName('BiquadFilterNode')
703 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#BiquadF ilterNode-section
704 @Experimental
675 class BiquadFilterNode extends AudioNode { 705 class BiquadFilterNode extends AudioNode {
676 BiquadFilterNode.internal() : super.internal(); 706 BiquadFilterNode.internal() : super.internal();
677 707
678 @DomName('BiquadFilterNode.ALLPASS') 708 @DomName('BiquadFilterNode.ALLPASS')
679 @DocsEditable 709 @DocsEditable
680 static const int ALLPASS = 7; 710 static const int ALLPASS = 7;
681 711
682 @DomName('BiquadFilterNode.BANDPASS') 712 @DomName('BiquadFilterNode.BANDPASS')
683 @DocsEditable 713 @DocsEditable
684 static const int BANDPASS = 2; 714 static const int BANDPASS = 2;
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
738 } 768 }
739 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 769 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
740 // for details. All rights reserved. Use of this source code is governed by a 770 // for details. All rights reserved. Use of this source code is governed by a
741 // BSD-style license that can be found in the LICENSE file. 771 // BSD-style license that can be found in the LICENSE file.
742 772
743 // WARNING: Do not edit - generated code. 773 // WARNING: Do not edit - generated code.
744 774
745 775
746 @DocsEditable 776 @DocsEditable
747 @DomName('ChannelMergerNode') 777 @DomName('ChannelMergerNode')
778 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Channel MergerNode-section
779 @Experimental
748 class ChannelMergerNode extends AudioNode { 780 class ChannelMergerNode extends AudioNode {
749 ChannelMergerNode.internal() : super.internal(); 781 ChannelMergerNode.internal() : super.internal();
750 782
751 } 783 }
752 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 784 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
753 // for details. All rights reserved. Use of this source code is governed by a 785 // for details. All rights reserved. Use of this source code is governed by a
754 // BSD-style license that can be found in the LICENSE file. 786 // BSD-style license that can be found in the LICENSE file.
755 787
756 // WARNING: Do not edit - generated code. 788 // WARNING: Do not edit - generated code.
757 789
758 790
759 @DocsEditable 791 @DocsEditable
760 @DomName('ChannelSplitterNode') 792 @DomName('ChannelSplitterNode')
793 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Channel SplitterNode-section
794 @Experimental
761 class ChannelSplitterNode extends AudioNode { 795 class ChannelSplitterNode extends AudioNode {
762 ChannelSplitterNode.internal() : super.internal(); 796 ChannelSplitterNode.internal() : super.internal();
763 797
764 } 798 }
765 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 799 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
766 // for details. All rights reserved. Use of this source code is governed by a 800 // for details. All rights reserved. Use of this source code is governed by a
767 // BSD-style license that can be found in the LICENSE file. 801 // BSD-style license that can be found in the LICENSE file.
768 802
769 // WARNING: Do not edit - generated code. 803 // WARNING: Do not edit - generated code.
770 804
771 805
772 @DocsEditable 806 @DocsEditable
773 @DomName('ConvolverNode') 807 @DomName('ConvolverNode')
808 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Convolv erNode
809 @Experimental
774 class ConvolverNode extends AudioNode { 810 class ConvolverNode extends AudioNode {
775 ConvolverNode.internal() : super.internal(); 811 ConvolverNode.internal() : super.internal();
776 812
777 @DomName('ConvolverNode.buffer') 813 @DomName('ConvolverNode.buffer')
778 @DocsEditable 814 @DocsEditable
779 AudioBuffer get buffer native "ConvolverNode_buffer_Getter"; 815 AudioBuffer get buffer native "ConvolverNode_buffer_Getter";
780 816
781 @DomName('ConvolverNode.buffer') 817 @DomName('ConvolverNode.buffer')
782 @DocsEditable 818 @DocsEditable
783 void set buffer(AudioBuffer value) native "ConvolverNode_buffer_Setter"; 819 void set buffer(AudioBuffer value) native "ConvolverNode_buffer_Setter";
784 820
785 @DomName('ConvolverNode.normalize') 821 @DomName('ConvolverNode.normalize')
786 @DocsEditable 822 @DocsEditable
787 bool get normalize native "ConvolverNode_normalize_Getter"; 823 bool get normalize native "ConvolverNode_normalize_Getter";
788 824
789 @DomName('ConvolverNode.normalize') 825 @DomName('ConvolverNode.normalize')
790 @DocsEditable 826 @DocsEditable
791 void set normalize(bool value) native "ConvolverNode_normalize_Setter"; 827 void set normalize(bool value) native "ConvolverNode_normalize_Setter";
792 828
793 } 829 }
794 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 830 // 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 831 // 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. 832 // BSD-style license that can be found in the LICENSE file.
797 833
798 // WARNING: Do not edit - generated code. 834 // WARNING: Do not edit - generated code.
799 835
800 836
801 @DocsEditable 837 @DocsEditable
802 @DomName('DelayNode') 838 @DomName('DelayNode')
839 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#DelayNo de
840 @Experimental
803 class DelayNode extends AudioNode { 841 class DelayNode extends AudioNode {
804 DelayNode.internal() : super.internal(); 842 DelayNode.internal() : super.internal();
805 843
806 @DomName('DelayNode.delayTime') 844 @DomName('DelayNode.delayTime')
807 @DocsEditable 845 @DocsEditable
808 AudioParam get delayTime native "DelayNode_delayTime_Getter"; 846 AudioParam get delayTime native "DelayNode_delayTime_Getter";
809 847
810 } 848 }
811 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 849 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
812 // for details. All rights reserved. Use of this source code is governed by a 850 // for details. All rights reserved. Use of this source code is governed by a
813 // BSD-style license that can be found in the LICENSE file. 851 // BSD-style license that can be found in the LICENSE file.
814 852
815 // WARNING: Do not edit - generated code. 853 // WARNING: Do not edit - generated code.
816 854
817 855
818 @DocsEditable 856 @DocsEditable
819 @DomName('DynamicsCompressorNode') 857 @DomName('DynamicsCompressorNode')
858 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Dynamic sCompressorNode
859 @Experimental
820 class DynamicsCompressorNode extends AudioNode { 860 class DynamicsCompressorNode extends AudioNode {
821 DynamicsCompressorNode.internal() : super.internal(); 861 DynamicsCompressorNode.internal() : super.internal();
822 862
823 @DomName('DynamicsCompressorNode.attack') 863 @DomName('DynamicsCompressorNode.attack')
824 @DocsEditable 864 @DocsEditable
825 AudioParam get attack native "DynamicsCompressorNode_attack_Getter"; 865 AudioParam get attack native "DynamicsCompressorNode_attack_Getter";
826 866
827 @DomName('DynamicsCompressorNode.knee') 867 @DomName('DynamicsCompressorNode.knee')
828 @DocsEditable 868 @DocsEditable
829 AudioParam get knee native "DynamicsCompressorNode_knee_Getter"; 869 AudioParam get knee native "DynamicsCompressorNode_knee_Getter";
(...skipping 17 matching lines...) Expand all
847 } 887 }
848 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 888 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
849 // for details. All rights reserved. Use of this source code is governed by a 889 // for details. All rights reserved. Use of this source code is governed by a
850 // BSD-style license that can be found in the LICENSE file. 890 // BSD-style license that can be found in the LICENSE file.
851 891
852 // WARNING: Do not edit - generated code. 892 // WARNING: Do not edit - generated code.
853 893
854 894
855 @DocsEditable 895 @DocsEditable
856 @DomName('GainNode') 896 @DomName('GainNode')
897 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#GainNod e
898 @Experimental
857 class GainNode extends AudioNode { 899 class GainNode extends AudioNode {
858 GainNode.internal() : super.internal(); 900 GainNode.internal() : super.internal();
859 901
860 @DomName('GainNode.gain') 902 @DomName('GainNode.gain')
861 @DocsEditable 903 @DocsEditable
862 AudioParam get gain native "GainNode_gain_Getter"; 904 AudioParam get gain native "GainNode_gain_Getter";
863 905
864 } 906 }
865 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 907 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
866 // for details. All rights reserved. Use of this source code is governed by a 908 // for details. All rights reserved. Use of this source code is governed by a
867 // BSD-style license that can be found in the LICENSE file. 909 // BSD-style license that can be found in the LICENSE file.
868 910
869 // WARNING: Do not edit - generated code. 911 // WARNING: Do not edit - generated code.
870 912
871 913
872 @DocsEditable 914 @DocsEditable
873 @DomName('MediaElementAudioSourceNode') 915 @DomName('MediaElementAudioSourceNode')
916 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#MediaEl ementAudioSourceNode
917 @Experimental
874 class MediaElementAudioSourceNode extends AudioSourceNode { 918 class MediaElementAudioSourceNode extends AudioSourceNode {
875 MediaElementAudioSourceNode.internal() : super.internal(); 919 MediaElementAudioSourceNode.internal() : super.internal();
876 920
877 @DomName('MediaElementAudioSourceNode.mediaElement') 921 @DomName('MediaElementAudioSourceNode.mediaElement')
878 @DocsEditable 922 @DocsEditable
923 @Experimental // non-standard
879 MediaElement get mediaElement native "MediaElementAudioSourceNode_mediaElement _Getter"; 924 MediaElement get mediaElement native "MediaElementAudioSourceNode_mediaElement _Getter";
880 925
881 } 926 }
882 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 927 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
883 // for details. All rights reserved. Use of this source code is governed by a 928 // for details. All rights reserved. Use of this source code is governed by a
884 // BSD-style license that can be found in the LICENSE file. 929 // BSD-style license that can be found in the LICENSE file.
885 930
886 // WARNING: Do not edit - generated code. 931 // WARNING: Do not edit - generated code.
887 932
888 933
889 @DocsEditable 934 @DocsEditable
890 @DomName('MediaStreamAudioDestinationNode') 935 @DomName('MediaStreamAudioDestinationNode')
936 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#MediaSt reamAudioDestinationNode
937 @Experimental
891 class MediaStreamAudioDestinationNode extends AudioSourceNode { 938 class MediaStreamAudioDestinationNode extends AudioSourceNode {
892 MediaStreamAudioDestinationNode.internal() : super.internal(); 939 MediaStreamAudioDestinationNode.internal() : super.internal();
893 940
894 @DomName('MediaStreamAudioDestinationNode.stream') 941 @DomName('MediaStreamAudioDestinationNode.stream')
895 @DocsEditable 942 @DocsEditable
896 MediaStream get stream native "MediaStreamAudioDestinationNode_stream_Getter"; 943 MediaStream get stream native "MediaStreamAudioDestinationNode_stream_Getter";
897 944
898 } 945 }
899 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 946 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
900 // for details. All rights reserved. Use of this source code is governed by a 947 // for details. All rights reserved. Use of this source code is governed by a
901 // BSD-style license that can be found in the LICENSE file. 948 // BSD-style license that can be found in the LICENSE file.
902 949
903 // WARNING: Do not edit - generated code. 950 // WARNING: Do not edit - generated code.
904 951
905 952
906 @DocsEditable 953 @DocsEditable
907 @DomName('MediaStreamAudioSourceNode') 954 @DomName('MediaStreamAudioSourceNode')
955 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#MediaSt reamAudioSourceNode
956 @Experimental
908 class MediaStreamAudioSourceNode extends AudioSourceNode { 957 class MediaStreamAudioSourceNode extends AudioSourceNode {
909 MediaStreamAudioSourceNode.internal() : super.internal(); 958 MediaStreamAudioSourceNode.internal() : super.internal();
910 959
911 @DomName('MediaStreamAudioSourceNode.mediaStream') 960 @DomName('MediaStreamAudioSourceNode.mediaStream')
912 @DocsEditable 961 @DocsEditable
913 MediaStream get mediaStream native "MediaStreamAudioSourceNode_mediaStream_Get ter"; 962 MediaStream get mediaStream native "MediaStreamAudioSourceNode_mediaStream_Get ter";
914 963
915 } 964 }
916 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 965 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
917 // for details. All rights reserved. Use of this source code is governed by a 966 // for details. All rights reserved. Use of this source code is governed by a
918 // BSD-style license that can be found in the LICENSE file. 967 // BSD-style license that can be found in the LICENSE file.
919 968
920 // WARNING: Do not edit - generated code. 969 // WARNING: Do not edit - generated code.
921 970
922 971
923 @DocsEditable 972 @DocsEditable
924 @DomName('OfflineAudioCompletionEvent') 973 @DomName('OfflineAudioCompletionEvent')
974 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Offline AudioCompletionEvent-section
975 @Experimental
925 class OfflineAudioCompletionEvent extends Event { 976 class OfflineAudioCompletionEvent extends Event {
926 OfflineAudioCompletionEvent.internal() : super.internal(); 977 OfflineAudioCompletionEvent.internal() : super.internal();
927 978
928 @DomName('OfflineAudioCompletionEvent.renderedBuffer') 979 @DomName('OfflineAudioCompletionEvent.renderedBuffer')
929 @DocsEditable 980 @DocsEditable
930 AudioBuffer get renderedBuffer native "OfflineAudioCompletionEvent_renderedBuf fer_Getter"; 981 AudioBuffer get renderedBuffer native "OfflineAudioCompletionEvent_renderedBuf fer_Getter";
931 982
932 } 983 }
933 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 984 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
934 // for details. All rights reserved. Use of this source code is governed by a 985 // for details. All rights reserved. Use of this source code is governed by a
935 // BSD-style license that can be found in the LICENSE file. 986 // BSD-style license that can be found in the LICENSE file.
936 987
937 // WARNING: Do not edit - generated code. 988 // WARNING: Do not edit - generated code.
938 989
939 990
940 @DocsEditable 991 @DocsEditable
941 @DomName('OfflineAudioContext') 992 @DomName('OfflineAudioContext')
993 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Offline AudioContext-section
994 @Experimental
942 class OfflineAudioContext extends AudioContext implements EventTarget { 995 class OfflineAudioContext extends AudioContext implements EventTarget {
943 OfflineAudioContext.internal() : super.internal(); 996 OfflineAudioContext.internal() : super.internal();
944 997
945 @DomName('OfflineAudioContext.OfflineAudioContext') 998 @DomName('OfflineAudioContext.OfflineAudioContext')
946 @DocsEditable 999 @DocsEditable
947 factory OfflineAudioContext(int numberOfChannels, int numberOfFrames, num samp leRate) { 1000 factory OfflineAudioContext(int numberOfChannels, int numberOfFrames, num samp leRate) {
948 return OfflineAudioContext._create_1(numberOfChannels, numberOfFrames, sampl eRate); 1001 return OfflineAudioContext._create_1(numberOfChannels, numberOfFrames, sampl eRate);
949 } 1002 }
950 1003
951 @DocsEditable 1004 @DocsEditable
952 static OfflineAudioContext _create_1(numberOfChannels, numberOfFrames, sampleR ate) native "OfflineAudioContext__create_1constructorCallback"; 1005 static OfflineAudioContext _create_1(numberOfChannels, numberOfFrames, sampleR ate) native "OfflineAudioContext__create_1constructorCallback";
953 1006
954 } 1007 }
955 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1008 // 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 1009 // 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. 1010 // BSD-style license that can be found in the LICENSE file.
958 1011
959 // WARNING: Do not edit - generated code. 1012 // WARNING: Do not edit - generated code.
960 1013
961 1014
962 @DocsEditable 1015 @DocsEditable
963 @DomName('OscillatorNode') 1016 @DomName('OscillatorNode')
1017 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#dfn-Osc illatorNode
1018 @Experimental
964 class OscillatorNode extends AudioSourceNode { 1019 class OscillatorNode extends AudioSourceNode {
965 OscillatorNode.internal() : super.internal(); 1020 OscillatorNode.internal() : super.internal();
966 1021
967 @DomName('OscillatorNode.CUSTOM') 1022 @DomName('OscillatorNode.CUSTOM')
968 @DocsEditable 1023 @DocsEditable
1024 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Alter nateNames
1025 @deprecated // deprecated
969 static const int CUSTOM = 4; 1026 static const int CUSTOM = 4;
970 1027
971 @DomName('OscillatorNode.FINISHED_STATE') 1028 @DomName('OscillatorNode.FINISHED_STATE')
972 @DocsEditable 1029 @DocsEditable
973 static const int FINISHED_STATE = 3; 1030 static const int FINISHED_STATE = 3;
974 1031
975 @DomName('OscillatorNode.PLAYING_STATE') 1032 @DomName('OscillatorNode.PLAYING_STATE')
976 @DocsEditable 1033 @DocsEditable
977 static const int PLAYING_STATE = 2; 1034 static const int PLAYING_STATE = 2;
978 1035
979 @DomName('OscillatorNode.SAWTOOTH') 1036 @DomName('OscillatorNode.SAWTOOTH')
980 @DocsEditable 1037 @DocsEditable
1038 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Alter nateNames
1039 @deprecated // deprecated
981 static const int SAWTOOTH = 2; 1040 static const int SAWTOOTH = 2;
982 1041
983 @DomName('OscillatorNode.SCHEDULED_STATE') 1042 @DomName('OscillatorNode.SCHEDULED_STATE')
984 @DocsEditable 1043 @DocsEditable
985 static const int SCHEDULED_STATE = 1; 1044 static const int SCHEDULED_STATE = 1;
986 1045
987 @DomName('OscillatorNode.SINE') 1046 @DomName('OscillatorNode.SINE')
988 @DocsEditable 1047 @DocsEditable
1048 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Alter nateNames
1049 @deprecated // deprecated
989 static const int SINE = 0; 1050 static const int SINE = 0;
990 1051
991 @DomName('OscillatorNode.SQUARE') 1052 @DomName('OscillatorNode.SQUARE')
992 @DocsEditable 1053 @DocsEditable
1054 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Alter nateNames
1055 @deprecated // deprecated
993 static const int SQUARE = 1; 1056 static const int SQUARE = 1;
994 1057
995 @DomName('OscillatorNode.TRIANGLE') 1058 @DomName('OscillatorNode.TRIANGLE')
996 @DocsEditable 1059 @DocsEditable
1060 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Alter nateNames
1061 @deprecated // deprecated
997 static const int TRIANGLE = 3; 1062 static const int TRIANGLE = 3;
998 1063
999 @DomName('OscillatorNode.UNSCHEDULED_STATE') 1064 @DomName('OscillatorNode.UNSCHEDULED_STATE')
1000 @DocsEditable 1065 @DocsEditable
1001 static const int UNSCHEDULED_STATE = 0; 1066 static const int UNSCHEDULED_STATE = 0;
1002 1067
1003 @DomName('OscillatorNode.detune') 1068 @DomName('OscillatorNode.detune')
1004 @DocsEditable 1069 @DocsEditable
1005 AudioParam get detune native "OscillatorNode_detune_Getter"; 1070 AudioParam get detune native "OscillatorNode_detune_Getter";
1006 1071
1007 @DomName('OscillatorNode.frequency') 1072 @DomName('OscillatorNode.frequency')
1008 @DocsEditable 1073 @DocsEditable
1009 AudioParam get frequency native "OscillatorNode_frequency_Getter"; 1074 AudioParam get frequency native "OscillatorNode_frequency_Getter";
1010 1075
1011 @DomName('OscillatorNode.playbackState') 1076 @DomName('OscillatorNode.playbackState')
1012 @DocsEditable 1077 @DocsEditable
1013 int get playbackState native "OscillatorNode_playbackState_Getter"; 1078 int get playbackState native "OscillatorNode_playbackState_Getter";
1014 1079
1015 @DomName('OscillatorNode.type') 1080 @DomName('OscillatorNode.type')
1016 @DocsEditable 1081 @DocsEditable
1017 String get type native "OscillatorNode_type_Getter"; 1082 String get type native "OscillatorNode_type_Getter";
1018 1083
1019 @DomName('OscillatorNode.type') 1084 @DomName('OscillatorNode.type')
1020 @DocsEditable 1085 @DocsEditable
1021 void set type(String value) native "OscillatorNode_type_Setter"; 1086 void set type(String value) native "OscillatorNode_type_Setter";
1022 1087
1023 @DomName('OscillatorNode.noteOff') 1088 @DomName('OscillatorNode.noteOff')
1024 @DocsEditable 1089 @DocsEditable
1090 @Experimental // untriaged
1025 void noteOff(num when) native "OscillatorNode_noteOff_Callback"; 1091 void noteOff(num when) native "OscillatorNode_noteOff_Callback";
1026 1092
1027 @DomName('OscillatorNode.noteOn') 1093 @DomName('OscillatorNode.noteOn')
1028 @DocsEditable 1094 @DocsEditable
1095 @Experimental // untriaged
1029 void noteOn(num when) native "OscillatorNode_noteOn_Callback"; 1096 void noteOn(num when) native "OscillatorNode_noteOn_Callback";
1030 1097
1031 @DomName('OscillatorNode.setWaveTable') 1098 @DomName('OscillatorNode.setWaveTable')
1032 @DocsEditable 1099 @DocsEditable
1033 void setWaveTable(WaveTable waveTable) native "OscillatorNode_setWaveTable_Cal lback"; 1100 void setWaveTable(WaveTable waveTable) native "OscillatorNode_setWaveTable_Cal lback";
1034 1101
1035 @DomName('OscillatorNode.start') 1102 @DomName('OscillatorNode.start')
1036 @DocsEditable 1103 @DocsEditable
1037 void start(num when) native "OscillatorNode_start_Callback"; 1104 void start(num when) native "OscillatorNode_start_Callback";
1038 1105
1039 @DomName('OscillatorNode.stop') 1106 @DomName('OscillatorNode.stop')
1040 @DocsEditable 1107 @DocsEditable
1041 void stop(num when) native "OscillatorNode_stop_Callback"; 1108 void stop(num when) native "OscillatorNode_stop_Callback";
1042 1109
1043 } 1110 }
1044 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1111 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1045 // for details. All rights reserved. Use of this source code is governed by a 1112 // for details. All rights reserved. Use of this source code is governed by a
1046 // BSD-style license that can be found in the LICENSE file. 1113 // BSD-style license that can be found in the LICENSE file.
1047 1114
1048 // WARNING: Do not edit - generated code. 1115 // WARNING: Do not edit - generated code.
1049 1116
1050 1117
1051 @DocsEditable 1118 @DocsEditable
1052 @DomName('PannerNode') 1119 @DomName('PannerNode')
1120 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#PannerN ode
1121 @Experimental
1053 class PannerNode extends AudioNode { 1122 class PannerNode extends AudioNode {
1054 PannerNode.internal() : super.internal(); 1123 PannerNode.internal() : super.internal();
1055 1124
1056 @DomName('PannerNode.EQUALPOWER') 1125 @DomName('PannerNode.EQUALPOWER')
1057 @DocsEditable 1126 @DocsEditable
1127 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Alter nateNames
1128 @deprecated // deprecated
1058 static const int EQUALPOWER = 0; 1129 static const int EQUALPOWER = 0;
1059 1130
1060 @DomName('PannerNode.EXPONENTIAL_DISTANCE') 1131 @DomName('PannerNode.EXPONENTIAL_DISTANCE')
1061 @DocsEditable 1132 @DocsEditable
1133 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Alter nateNames
1134 @deprecated // deprecated
1062 static const int EXPONENTIAL_DISTANCE = 2; 1135 static const int EXPONENTIAL_DISTANCE = 2;
1063 1136
1064 @DomName('PannerNode.HRTF') 1137 @DomName('PannerNode.HRTF')
1065 @DocsEditable 1138 @DocsEditable
1139 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Alter nateNames
1140 @deprecated // deprecated
1066 static const int HRTF = 1; 1141 static const int HRTF = 1;
1067 1142
1068 @DomName('PannerNode.INVERSE_DISTANCE') 1143 @DomName('PannerNode.INVERSE_DISTANCE')
1069 @DocsEditable 1144 @DocsEditable
1145 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Alter nateNames
1146 @deprecated // deprecated
1070 static const int INVERSE_DISTANCE = 1; 1147 static const int INVERSE_DISTANCE = 1;
1071 1148
1072 @DomName('PannerNode.LINEAR_DISTANCE') 1149 @DomName('PannerNode.LINEAR_DISTANCE')
1073 @DocsEditable 1150 @DocsEditable
1151 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Alter nateNames
1152 @deprecated // deprecated
1074 static const int LINEAR_DISTANCE = 0; 1153 static const int LINEAR_DISTANCE = 0;
1075 1154
1076 @DomName('PannerNode.SOUNDFIELD') 1155 @DomName('PannerNode.SOUNDFIELD')
1077 @DocsEditable 1156 @DocsEditable
1157 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Alter nateNames
1158 @deprecated // deprecated
1078 static const int SOUNDFIELD = 2; 1159 static const int SOUNDFIELD = 2;
1079 1160
1080 @DomName('PannerNode.coneInnerAngle') 1161 @DomName('PannerNode.coneInnerAngle')
1081 @DocsEditable 1162 @DocsEditable
1082 num get coneInnerAngle native "PannerNode_coneInnerAngle_Getter"; 1163 num get coneInnerAngle native "PannerNode_coneInnerAngle_Getter";
1083 1164
1084 @DomName('PannerNode.coneInnerAngle') 1165 @DomName('PannerNode.coneInnerAngle')
1085 @DocsEditable 1166 @DocsEditable
1086 void set coneInnerAngle(num value) native "PannerNode_coneInnerAngle_Setter"; 1167 void set coneInnerAngle(num value) native "PannerNode_coneInnerAngle_Setter";
1087 1168
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
1153 @DocsEditable 1234 @DocsEditable
1154 void setVelocity(num x, num y, num z) native "PannerNode_setVelocity_Callback" ; 1235 void setVelocity(num x, num y, num z) native "PannerNode_setVelocity_Callback" ;
1155 1236
1156 } 1237 }
1157 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 1238 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
1158 // for details. All rights reserved. Use of this source code is governed by a 1239 // for details. All rights reserved. Use of this source code is governed by a
1159 // BSD-style license that can be found in the LICENSE file. 1240 // BSD-style license that can be found in the LICENSE file.
1160 1241
1161 1242
1162 @DomName('ScriptProcessorNode') 1243 @DomName('ScriptProcessorNode')
1244 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#ScriptP rocessorNode
1245 @Experimental
1163 class ScriptProcessorNode extends AudioNode { 1246 class ScriptProcessorNode extends AudioNode {
1164 Stream<AudioProcessingEvent> _eventStream; 1247 Stream<AudioProcessingEvent> _eventStream;
1165 1248
1166 /** 1249 /**
1167 * Get a Stream that fires events when AudioProcessingEvents occur. 1250 * Get a Stream that fires events when AudioProcessingEvents occur.
1168 * This particular stream is special in that it only allows one listener to a 1251 * This particular stream is special in that it only allows one listener to a
1169 * given stream. Converting the returned Stream [asBroadcast] will likely ruin 1252 * given stream. Converting the returned Stream [asBroadcast] will likely ruin
1170 * the soft-real-time properties which which these events are fired and can 1253 * the soft-real-time properties which which these events are fired and can
1171 * be processed. 1254 * be processed.
1172 */ 1255 */
(...skipping 17 matching lines...) Expand all
1190 1273
1191 1274
1192 ScriptProcessorNode.internal() : super.internal(); 1275 ScriptProcessorNode.internal() : super.internal();
1193 1276
1194 @DomName('ScriptProcessorNode.bufferSize') 1277 @DomName('ScriptProcessorNode.bufferSize')
1195 @DocsEditable 1278 @DocsEditable
1196 int get bufferSize native "ScriptProcessorNode_bufferSize_Getter"; 1279 int get bufferSize native "ScriptProcessorNode_bufferSize_Getter";
1197 1280
1198 @DomName('ScriptProcessorNode._setEventListener') 1281 @DomName('ScriptProcessorNode._setEventListener')
1199 @DocsEditable 1282 @DocsEditable
1283 @Experimental // non-standard
1200 void _setEventListener(EventListener eventListener) native "ScriptProcessorNod e__setEventListener_Callback"; 1284 void _setEventListener(EventListener eventListener) native "ScriptProcessorNod e__setEventListener_Callback";
1201 1285
1202 } 1286 }
1203 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1287 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1204 // for details. All rights reserved. Use of this source code is governed by a 1288 // for details. All rights reserved. Use of this source code is governed by a
1205 // BSD-style license that can be found in the LICENSE file. 1289 // BSD-style license that can be found in the LICENSE file.
1206 1290
1207 // WARNING: Do not edit - generated code. 1291 // WARNING: Do not edit - generated code.
1208 1292
1209 1293
1210 @DocsEditable 1294 @DocsEditable
1211 @DomName('WaveShaperNode') 1295 @DomName('WaveShaperNode')
1296 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#dfn-Wav eShaperNode
1297 @Experimental
1212 class WaveShaperNode extends AudioNode { 1298 class WaveShaperNode extends AudioNode {
1213 WaveShaperNode.internal() : super.internal(); 1299 WaveShaperNode.internal() : super.internal();
1214 1300
1215 @DomName('WaveShaperNode.curve') 1301 @DomName('WaveShaperNode.curve')
1216 @DocsEditable 1302 @DocsEditable
1217 Float32List get curve native "WaveShaperNode_curve_Getter"; 1303 Float32List get curve native "WaveShaperNode_curve_Getter";
1218 1304
1219 @DomName('WaveShaperNode.curve') 1305 @DomName('WaveShaperNode.curve')
1220 @DocsEditable 1306 @DocsEditable
1221 void set curve(Float32List value) native "WaveShaperNode_curve_Setter"; 1307 void set curve(Float32List value) native "WaveShaperNode_curve_Setter";
1222 1308
1223 } 1309 }
1224 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1310 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1225 // for details. All rights reserved. Use of this source code is governed by a 1311 // for details. All rights reserved. Use of this source code is governed by a
1226 // BSD-style license that can be found in the LICENSE file. 1312 // BSD-style license that can be found in the LICENSE file.
1227 1313
1228 // WARNING: Do not edit - generated code. 1314 // WARNING: Do not edit - generated code.
1229 1315
1230 1316
1231 @DocsEditable 1317 @DocsEditable
1232 @DomName('WaveTable') 1318 @DomName('WaveTable')
1319 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#WaveTab le-section
1320 @Experimental
1233 class WaveTable extends NativeFieldWrapperClass1 { 1321 class WaveTable extends NativeFieldWrapperClass1 {
1234 WaveTable.internal(); 1322 WaveTable.internal();
1235 1323
1236 } 1324 }
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