OLD | NEW |
1 /** | 1 /** |
2 * High-fidelity audio programming in the browser. | 2 * High-fidelity audio programming in the browser. |
3 */ | 3 */ |
4 library dart.dom.web_audio; | 4 library dart.dom.web_audio; |
5 | 5 |
6 import 'dart:async'; | 6 import 'dart:async'; |
7 import 'dart:collection'; | 7 import 'dart:collection'; |
8 import 'dart:_internal' hide deprecated; | 8 import 'dart:_internal' hide deprecated; |
9 import 'dart:html'; | 9 import 'dart:html'; |
10 import 'dart:html_common'; | 10 import 'dart:html_common'; |
11 import 'dart:_native_typed_data'; | 11 import 'dart:_native_typed_data'; |
12 import 'dart:typed_data'; | 12 import 'dart:typed_data'; |
13 import 'dart:_js_helper' show Creates, JSName, Native, Returns, convertDartClosu
reToJS; | 13 import 'dart:_js_helper' show Creates, JSName, Returns, convertDartClosureToJS; |
14 import 'dart:_foreign_helper' show JS; | 14 import 'dart:_foreign_helper' show JS; |
15 import 'dart:_interceptors' show Interceptor; | 15 import 'dart:_interceptors' show Interceptor; |
16 // DO NOT EDIT - unless you are editing documentation as per: | 16 // DO NOT EDIT - unless you are editing documentation as per: |
17 // https://code.google.com/p/dart/wiki/ContributingHTMLDocumentation | 17 // https://code.google.com/p/dart/wiki/ContributingHTMLDocumentation |
18 // Auto-generated dart:audio library. | 18 // Auto-generated dart:audio library. |
19 | 19 |
20 | 20 |
21 | 21 |
22 | 22 |
23 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 23 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
24 // for details. All rights reserved. Use of this source code is governed by a | 24 // for details. All rights reserved. Use of this source code is governed by a |
25 // BSD-style license that can be found in the LICENSE file. | 25 // BSD-style license that can be found in the LICENSE file. |
26 | 26 |
27 | 27 |
28 @DocsEditable() | 28 @DocsEditable() |
29 @DomName('AnalyserNode') | 29 @DomName('AnalyserNode') |
30 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Analyse
rNode | 30 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Analyse
rNode |
31 @Experimental() | 31 @Experimental() |
32 @Native("AnalyserNode,RealtimeAnalyserNode") | 32 class AnalyserNode extends AudioNode native "AnalyserNode,RealtimeAnalyserNode"
{ |
33 class AnalyserNode extends AudioNode { | |
34 // To suppress missing implicit constructor warnings. | 33 // To suppress missing implicit constructor warnings. |
35 factory AnalyserNode._() { throw new UnsupportedError("Not supported"); } | 34 factory AnalyserNode._() { throw new UnsupportedError("Not supported"); } |
36 | 35 |
37 @DomName('AnalyserNode.fftSize') | 36 @DomName('AnalyserNode.fftSize') |
38 @DocsEditable() | 37 @DocsEditable() |
39 int fftSize; | 38 int fftSize; |
40 | 39 |
41 @DomName('AnalyserNode.frequencyBinCount') | 40 @DomName('AnalyserNode.frequencyBinCount') |
42 @DocsEditable() | 41 @DocsEditable() |
43 final int frequencyBinCount; | 42 final int frequencyBinCount; |
(...skipping 24 matching lines...) Expand all Loading... |
68 } | 67 } |
69 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 68 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
70 // for details. All rights reserved. Use of this source code is governed by a | 69 // for details. All rights reserved. Use of this source code is governed by a |
71 // BSD-style license that can be found in the LICENSE file. | 70 // BSD-style license that can be found in the LICENSE file. |
72 | 71 |
73 | 72 |
74 @DocsEditable() | 73 @DocsEditable() |
75 @DomName('AudioBuffer') | 74 @DomName('AudioBuffer') |
76 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioBu
ffer-section | 75 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioBu
ffer-section |
77 @Experimental() | 76 @Experimental() |
78 @Native("AudioBuffer") | 77 class AudioBuffer extends Interceptor native "AudioBuffer" { |
79 class AudioBuffer extends Interceptor { | |
80 // To suppress missing implicit constructor warnings. | 78 // To suppress missing implicit constructor warnings. |
81 factory AudioBuffer._() { throw new UnsupportedError("Not supported"); } | 79 factory AudioBuffer._() { throw new UnsupportedError("Not supported"); } |
82 | 80 |
83 @DomName('AudioBuffer.duration') | 81 @DomName('AudioBuffer.duration') |
84 @DocsEditable() | 82 @DocsEditable() |
85 final double duration; | 83 final double duration; |
86 | 84 |
87 @DomName('AudioBuffer.length') | 85 @DomName('AudioBuffer.length') |
88 @DocsEditable() | 86 @DocsEditable() |
89 final int length; | 87 final int length; |
(...skipping 24 matching lines...) Expand all Loading... |
114 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 112 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
115 // for details. All rights reserved. Use of this source code is governed by a | 113 // for details. All rights reserved. Use of this source code is governed by a |
116 // BSD-style license that can be found in the LICENSE file. | 114 // BSD-style license that can be found in the LICENSE file. |
117 | 115 |
118 | 116 |
119 @DomName('AudioBufferSourceNode') | 117 @DomName('AudioBufferSourceNode') |
120 @SupportedBrowser(SupportedBrowser.CHROME) | 118 @SupportedBrowser(SupportedBrowser.CHROME) |
121 @SupportedBrowser(SupportedBrowser.FIREFOX) | 119 @SupportedBrowser(SupportedBrowser.FIREFOX) |
122 @Experimental() | 120 @Experimental() |
123 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioBu
fferSourceNode-section | 121 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioBu
fferSourceNode-section |
124 @Native("AudioBufferSourceNode") | 122 class AudioBufferSourceNode extends AudioSourceNode native "AudioBufferSourceNod
e" { |
125 class AudioBufferSourceNode extends AudioSourceNode { | |
126 | 123 |
127 // TODO(efortuna): Remove these methods when Chrome stable also uses start | 124 // TODO(efortuna): Remove these methods when Chrome stable also uses start |
128 // instead of noteOn. | 125 // instead of noteOn. |
129 void start(num when, [num grainOffset, num grainDuration]) { | 126 void start(num when, [num grainOffset, num grainDuration]) { |
130 if (JS('bool', '!!#.start', this)) { | 127 if (JS('bool', '!!#.start', this)) { |
131 if (grainDuration != null) { | 128 if (grainDuration != null) { |
132 JS('void', '#.start(#, #, #)', this, when, grainOffset, grainDuration); | 129 JS('void', '#.start(#, #, #)', this, when, grainOffset, grainDuration); |
133 } else if (grainOffset != null) { | 130 } else if (grainOffset != null) { |
134 JS('void', '#.start(#, #)', this, when, grainOffset); | 131 JS('void', '#.start(#, #)', this, when, grainOffset); |
135 } else { | 132 } else { |
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
225 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 222 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
226 // for details. All rights reserved. Use of this source code is governed by a | 223 // for details. All rights reserved. Use of this source code is governed by a |
227 // BSD-style license that can be found in the LICENSE file. | 224 // BSD-style license that can be found in the LICENSE file. |
228 | 225 |
229 | 226 |
230 @DomName('AudioContext') | 227 @DomName('AudioContext') |
231 @SupportedBrowser(SupportedBrowser.CHROME) | 228 @SupportedBrowser(SupportedBrowser.CHROME) |
232 @SupportedBrowser(SupportedBrowser.FIREFOX) | 229 @SupportedBrowser(SupportedBrowser.FIREFOX) |
233 @Experimental() | 230 @Experimental() |
234 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioCo
ntext-section | 231 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioCo
ntext-section |
235 @Native("AudioContext,webkitAudioContext") | 232 class AudioContext extends EventTarget native "AudioContext,webkitAudioContext"
{ |
236 class AudioContext extends EventTarget { | |
237 // To suppress missing implicit constructor warnings. | 233 // To suppress missing implicit constructor warnings. |
238 factory AudioContext._() { throw new UnsupportedError("Not supported"); } | 234 factory AudioContext._() { throw new UnsupportedError("Not supported"); } |
239 | 235 |
240 /** | 236 /** |
241 * Static factory designed to expose `complete` events to event | 237 * Static factory designed to expose `complete` events to event |
242 * handlers that are not necessarily instances of [AudioContext]. | 238 * handlers that are not necessarily instances of [AudioContext]. |
243 * | 239 * |
244 * See [EventStreamProvider] for usage information. | 240 * See [EventStreamProvider] for usage information. |
245 */ | 241 */ |
246 @DomName('AudioContext.completeEvent') | 242 @DomName('AudioContext.completeEvent') |
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
388 } | 384 } |
389 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 385 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
390 // for details. All rights reserved. Use of this source code is governed by a | 386 // for details. All rights reserved. Use of this source code is governed by a |
391 // BSD-style license that can be found in the LICENSE file. | 387 // BSD-style license that can be found in the LICENSE file. |
392 | 388 |
393 | 389 |
394 @DocsEditable() | 390 @DocsEditable() |
395 @DomName('AudioDestinationNode') | 391 @DomName('AudioDestinationNode') |
396 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioDe
stinationNode-section | 392 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioDe
stinationNode-section |
397 @Experimental() | 393 @Experimental() |
398 @Native("AudioDestinationNode") | 394 class AudioDestinationNode extends AudioNode native "AudioDestinationNode" { |
399 class AudioDestinationNode extends AudioNode { | |
400 // To suppress missing implicit constructor warnings. | 395 // To suppress missing implicit constructor warnings. |
401 factory AudioDestinationNode._() { throw new UnsupportedError("Not supported")
; } | 396 factory AudioDestinationNode._() { throw new UnsupportedError("Not supported")
; } |
402 | 397 |
403 @DomName('AudioDestinationNode.maxChannelCount') | 398 @DomName('AudioDestinationNode.maxChannelCount') |
404 @DocsEditable() | 399 @DocsEditable() |
405 final int maxChannelCount; | 400 final int maxChannelCount; |
406 } | 401 } |
407 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 402 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
408 // for details. All rights reserved. Use of this source code is governed by a | 403 // for details. All rights reserved. Use of this source code is governed by a |
409 // BSD-style license that can be found in the LICENSE file. | 404 // BSD-style license that can be found in the LICENSE file. |
410 | 405 |
411 | 406 |
412 @DocsEditable() | 407 @DocsEditable() |
413 @DomName('AudioListener') | 408 @DomName('AudioListener') |
414 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioLi
stener-section | 409 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioLi
stener-section |
415 @Experimental() | 410 @Experimental() |
416 @Native("AudioListener") | 411 class AudioListener extends Interceptor native "AudioListener" { |
417 class AudioListener extends Interceptor { | |
418 // To suppress missing implicit constructor warnings. | 412 // To suppress missing implicit constructor warnings. |
419 factory AudioListener._() { throw new UnsupportedError("Not supported"); } | 413 factory AudioListener._() { throw new UnsupportedError("Not supported"); } |
420 | 414 |
421 @DomName('AudioListener.dopplerFactor') | 415 @DomName('AudioListener.dopplerFactor') |
422 @DocsEditable() | 416 @DocsEditable() |
423 num dopplerFactor; | 417 num dopplerFactor; |
424 | 418 |
425 @DomName('AudioListener.speedOfSound') | 419 @DomName('AudioListener.speedOfSound') |
426 @DocsEditable() | 420 @DocsEditable() |
427 num speedOfSound; | 421 num speedOfSound; |
(...skipping 11 matching lines...) Expand all Loading... |
439 void setVelocity(num x, num y, num z) native; | 433 void setVelocity(num x, num y, num z) native; |
440 } | 434 } |
441 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 435 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
442 // for details. All rights reserved. Use of this source code is governed by a | 436 // for details. All rights reserved. Use of this source code is governed by a |
443 // BSD-style license that can be found in the LICENSE file. | 437 // BSD-style license that can be found in the LICENSE file. |
444 | 438 |
445 | 439 |
446 @DomName('AudioNode') | 440 @DomName('AudioNode') |
447 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioNo
de-section | 441 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioNo
de-section |
448 @Experimental() | 442 @Experimental() |
449 @Native("AudioNode") | 443 class AudioNode extends EventTarget native "AudioNode" { |
450 class AudioNode extends EventTarget { | |
451 // To suppress missing implicit constructor warnings. | 444 // To suppress missing implicit constructor warnings. |
452 factory AudioNode._() { throw new UnsupportedError("Not supported"); } | 445 factory AudioNode._() { throw new UnsupportedError("Not supported"); } |
453 | 446 |
454 @DomName('AudioNode.channelCount') | 447 @DomName('AudioNode.channelCount') |
455 @DocsEditable() | 448 @DocsEditable() |
456 int channelCount; | 449 int channelCount; |
457 | 450 |
458 @DomName('AudioNode.channelCountMode') | 451 @DomName('AudioNode.channelCountMode') |
459 @DocsEditable() | 452 @DocsEditable() |
460 String channelCountMode; | 453 String channelCountMode; |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
494 } | 487 } |
495 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 488 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
496 // for details. All rights reserved. Use of this source code is governed by a | 489 // for details. All rights reserved. Use of this source code is governed by a |
497 // BSD-style license that can be found in the LICENSE file. | 490 // BSD-style license that can be found in the LICENSE file. |
498 | 491 |
499 | 492 |
500 @DocsEditable() | 493 @DocsEditable() |
501 @DomName('AudioParam') | 494 @DomName('AudioParam') |
502 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioPa
ram | 495 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioPa
ram |
503 @Experimental() | 496 @Experimental() |
504 @Native("AudioParam") | 497 class AudioParam extends Interceptor native "AudioParam" { |
505 class AudioParam extends Interceptor { | |
506 // To suppress missing implicit constructor warnings. | 498 // To suppress missing implicit constructor warnings. |
507 factory AudioParam._() { throw new UnsupportedError("Not supported"); } | 499 factory AudioParam._() { throw new UnsupportedError("Not supported"); } |
508 | 500 |
509 @DomName('AudioParam.defaultValue') | 501 @DomName('AudioParam.defaultValue') |
510 @DocsEditable() | 502 @DocsEditable() |
511 final double defaultValue; | 503 final double defaultValue; |
512 | 504 |
513 @DomName('AudioParam.maxValue') | 505 @DomName('AudioParam.maxValue') |
514 @DocsEditable() | 506 @DocsEditable() |
515 final double maxValue; | 507 final double maxValue; |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
556 } | 548 } |
557 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 549 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
558 // for details. All rights reserved. Use of this source code is governed by a | 550 // for details. All rights reserved. Use of this source code is governed by a |
559 // BSD-style license that can be found in the LICENSE file. | 551 // BSD-style license that can be found in the LICENSE file. |
560 | 552 |
561 | 553 |
562 @DocsEditable() | 554 @DocsEditable() |
563 @DomName('AudioProcessingEvent') | 555 @DomName('AudioProcessingEvent') |
564 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioPr
ocessingEvent-section | 556 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioPr
ocessingEvent-section |
565 @Experimental() | 557 @Experimental() |
566 @Native("AudioProcessingEvent") | 558 class AudioProcessingEvent extends Event native "AudioProcessingEvent" { |
567 class AudioProcessingEvent extends Event { | |
568 // To suppress missing implicit constructor warnings. | 559 // To suppress missing implicit constructor warnings. |
569 factory AudioProcessingEvent._() { throw new UnsupportedError("Not supported")
; } | 560 factory AudioProcessingEvent._() { throw new UnsupportedError("Not supported")
; } |
570 | 561 |
571 @DomName('AudioProcessingEvent.inputBuffer') | 562 @DomName('AudioProcessingEvent.inputBuffer') |
572 @DocsEditable() | 563 @DocsEditable() |
573 final AudioBuffer inputBuffer; | 564 final AudioBuffer inputBuffer; |
574 | 565 |
575 @DomName('AudioProcessingEvent.outputBuffer') | 566 @DomName('AudioProcessingEvent.outputBuffer') |
576 @DocsEditable() | 567 @DocsEditable() |
577 final AudioBuffer outputBuffer; | 568 final AudioBuffer outputBuffer; |
578 } | 569 } |
579 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 570 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
580 // for details. All rights reserved. Use of this source code is governed by a | 571 // for details. All rights reserved. Use of this source code is governed by a |
581 // BSD-style license that can be found in the LICENSE file. | 572 // BSD-style license that can be found in the LICENSE file. |
582 | 573 |
583 | 574 |
584 @DocsEditable() | 575 @DocsEditable() |
585 @DomName('AudioSourceNode') | 576 @DomName('AudioSourceNode') |
586 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html | 577 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html |
587 @Experimental() | 578 @Experimental() |
588 @Native("AudioSourceNode") | 579 class AudioSourceNode extends AudioNode native "AudioSourceNode" { |
589 class AudioSourceNode extends AudioNode { | |
590 // To suppress missing implicit constructor warnings. | 580 // To suppress missing implicit constructor warnings. |
591 factory AudioSourceNode._() { throw new UnsupportedError("Not supported"); } | 581 factory AudioSourceNode._() { throw new UnsupportedError("Not supported"); } |
592 } | 582 } |
593 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 583 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
594 // for details. All rights reserved. Use of this source code is governed by a | 584 // for details. All rights reserved. Use of this source code is governed by a |
595 // BSD-style license that can be found in the LICENSE file. | 585 // BSD-style license that can be found in the LICENSE file. |
596 | 586 |
597 | 587 |
598 @DocsEditable() | 588 @DocsEditable() |
599 @DomName('BiquadFilterNode') | 589 @DomName('BiquadFilterNode') |
600 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#BiquadF
ilterNode-section | 590 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#BiquadF
ilterNode-section |
601 @Experimental() | 591 @Experimental() |
602 @Native("BiquadFilterNode") | 592 class BiquadFilterNode extends AudioNode native "BiquadFilterNode" { |
603 class BiquadFilterNode extends AudioNode { | |
604 // To suppress missing implicit constructor warnings. | 593 // To suppress missing implicit constructor warnings. |
605 factory BiquadFilterNode._() { throw new UnsupportedError("Not supported"); } | 594 factory BiquadFilterNode._() { throw new UnsupportedError("Not supported"); } |
606 | 595 |
607 @DomName('BiquadFilterNode.ALLPASS') | 596 @DomName('BiquadFilterNode.ALLPASS') |
608 @DocsEditable() | 597 @DocsEditable() |
609 static const int ALLPASS = 7; | 598 static const int ALLPASS = 7; |
610 | 599 |
611 @DomName('BiquadFilterNode.BANDPASS') | 600 @DomName('BiquadFilterNode.BANDPASS') |
612 @DocsEditable() | 601 @DocsEditable() |
613 static const int BANDPASS = 2; | 602 static const int BANDPASS = 2; |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
662 } | 651 } |
663 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 652 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
664 // for details. All rights reserved. Use of this source code is governed by a | 653 // for details. All rights reserved. Use of this source code is governed by a |
665 // BSD-style license that can be found in the LICENSE file. | 654 // BSD-style license that can be found in the LICENSE file. |
666 | 655 |
667 | 656 |
668 @DocsEditable() | 657 @DocsEditable() |
669 @DomName('ChannelMergerNode') | 658 @DomName('ChannelMergerNode') |
670 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Channel
MergerNode-section | 659 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Channel
MergerNode-section |
671 @Experimental() | 660 @Experimental() |
672 @Native("ChannelMergerNode,AudioChannelMerger") | 661 class ChannelMergerNode extends AudioNode native "ChannelMergerNode,AudioChannel
Merger" { |
673 class ChannelMergerNode extends AudioNode { | |
674 // To suppress missing implicit constructor warnings. | 662 // To suppress missing implicit constructor warnings. |
675 factory ChannelMergerNode._() { throw new UnsupportedError("Not supported"); } | 663 factory ChannelMergerNode._() { throw new UnsupportedError("Not supported"); } |
676 } | 664 } |
677 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 665 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
678 // for details. All rights reserved. Use of this source code is governed by a | 666 // for details. All rights reserved. Use of this source code is governed by a |
679 // BSD-style license that can be found in the LICENSE file. | 667 // BSD-style license that can be found in the LICENSE file. |
680 | 668 |
681 | 669 |
682 @DocsEditable() | 670 @DocsEditable() |
683 @DomName('ChannelSplitterNode') | 671 @DomName('ChannelSplitterNode') |
684 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Channel
SplitterNode-section | 672 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Channel
SplitterNode-section |
685 @Experimental() | 673 @Experimental() |
686 @Native("ChannelSplitterNode,AudioChannelSplitter") | 674 class ChannelSplitterNode extends AudioNode native "ChannelSplitterNode,AudioCha
nnelSplitter" { |
687 class ChannelSplitterNode extends AudioNode { | |
688 // To suppress missing implicit constructor warnings. | 675 // To suppress missing implicit constructor warnings. |
689 factory ChannelSplitterNode._() { throw new UnsupportedError("Not supported");
} | 676 factory ChannelSplitterNode._() { throw new UnsupportedError("Not supported");
} |
690 } | 677 } |
691 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 678 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
692 // for details. All rights reserved. Use of this source code is governed by a | 679 // for details. All rights reserved. Use of this source code is governed by a |
693 // BSD-style license that can be found in the LICENSE file. | 680 // BSD-style license that can be found in the LICENSE file. |
694 | 681 |
695 | 682 |
696 @DocsEditable() | 683 @DocsEditable() |
697 @DomName('ConvolverNode') | 684 @DomName('ConvolverNode') |
698 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Convolv
erNode | 685 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Convolv
erNode |
699 @Experimental() | 686 @Experimental() |
700 @Native("ConvolverNode") | 687 class ConvolverNode extends AudioNode native "ConvolverNode" { |
701 class ConvolverNode extends AudioNode { | |
702 // To suppress missing implicit constructor warnings. | 688 // To suppress missing implicit constructor warnings. |
703 factory ConvolverNode._() { throw new UnsupportedError("Not supported"); } | 689 factory ConvolverNode._() { throw new UnsupportedError("Not supported"); } |
704 | 690 |
705 @DomName('ConvolverNode.buffer') | 691 @DomName('ConvolverNode.buffer') |
706 @DocsEditable() | 692 @DocsEditable() |
707 AudioBuffer buffer; | 693 AudioBuffer buffer; |
708 | 694 |
709 @DomName('ConvolverNode.normalize') | 695 @DomName('ConvolverNode.normalize') |
710 @DocsEditable() | 696 @DocsEditable() |
711 bool normalize; | 697 bool normalize; |
712 } | 698 } |
713 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 699 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
714 // for details. All rights reserved. Use of this source code is governed by a | 700 // for details. All rights reserved. Use of this source code is governed by a |
715 // BSD-style license that can be found in the LICENSE file. | 701 // BSD-style license that can be found in the LICENSE file. |
716 | 702 |
717 | 703 |
718 @DocsEditable() | 704 @DocsEditable() |
719 @DomName('DelayNode') | 705 @DomName('DelayNode') |
720 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#DelayNo
de | 706 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#DelayNo
de |
721 @Experimental() | 707 @Experimental() |
722 @Native("DelayNode") | 708 class DelayNode extends AudioNode native "DelayNode" { |
723 class DelayNode extends AudioNode { | |
724 // To suppress missing implicit constructor warnings. | 709 // To suppress missing implicit constructor warnings. |
725 factory DelayNode._() { throw new UnsupportedError("Not supported"); } | 710 factory DelayNode._() { throw new UnsupportedError("Not supported"); } |
726 | 711 |
727 @DomName('DelayNode.delayTime') | 712 @DomName('DelayNode.delayTime') |
728 @DocsEditable() | 713 @DocsEditable() |
729 final AudioParam delayTime; | 714 final AudioParam delayTime; |
730 } | 715 } |
731 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 716 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
732 // for details. All rights reserved. Use of this source code is governed by a | 717 // for details. All rights reserved. Use of this source code is governed by a |
733 // BSD-style license that can be found in the LICENSE file. | 718 // BSD-style license that can be found in the LICENSE file. |
734 | 719 |
735 | 720 |
736 @DocsEditable() | 721 @DocsEditable() |
737 @DomName('DynamicsCompressorNode') | 722 @DomName('DynamicsCompressorNode') |
738 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Dynamic
sCompressorNode | 723 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Dynamic
sCompressorNode |
739 @Experimental() | 724 @Experimental() |
740 @Native("DynamicsCompressorNode") | 725 class DynamicsCompressorNode extends AudioNode native "DynamicsCompressorNode" { |
741 class DynamicsCompressorNode extends AudioNode { | |
742 // To suppress missing implicit constructor warnings. | 726 // To suppress missing implicit constructor warnings. |
743 factory DynamicsCompressorNode._() { throw new UnsupportedError("Not supported
"); } | 727 factory DynamicsCompressorNode._() { throw new UnsupportedError("Not supported
"); } |
744 | 728 |
745 @DomName('DynamicsCompressorNode.attack') | 729 @DomName('DynamicsCompressorNode.attack') |
746 @DocsEditable() | 730 @DocsEditable() |
747 final AudioParam attack; | 731 final AudioParam attack; |
748 | 732 |
749 @DomName('DynamicsCompressorNode.knee') | 733 @DomName('DynamicsCompressorNode.knee') |
750 @DocsEditable() | 734 @DocsEditable() |
751 final AudioParam knee; | 735 final AudioParam knee; |
(...skipping 16 matching lines...) Expand all Loading... |
768 } | 752 } |
769 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 753 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
770 // for details. All rights reserved. Use of this source code is governed by a | 754 // for details. All rights reserved. Use of this source code is governed by a |
771 // BSD-style license that can be found in the LICENSE file. | 755 // BSD-style license that can be found in the LICENSE file. |
772 | 756 |
773 | 757 |
774 @DocsEditable() | 758 @DocsEditable() |
775 @DomName('GainNode') | 759 @DomName('GainNode') |
776 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#GainNod
e | 760 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#GainNod
e |
777 @Experimental() | 761 @Experimental() |
778 @Native("GainNode,AudioGainNode") | 762 class GainNode extends AudioNode native "GainNode,AudioGainNode" { |
779 class GainNode extends AudioNode { | |
780 // To suppress missing implicit constructor warnings. | 763 // To suppress missing implicit constructor warnings. |
781 factory GainNode._() { throw new UnsupportedError("Not supported"); } | 764 factory GainNode._() { throw new UnsupportedError("Not supported"); } |
782 | 765 |
783 @DomName('GainNode.gain') | 766 @DomName('GainNode.gain') |
784 @DocsEditable() | 767 @DocsEditable() |
785 final AudioParam gain; | 768 final AudioParam gain; |
786 } | 769 } |
787 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 770 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
788 // for details. All rights reserved. Use of this source code is governed by a | 771 // for details. All rights reserved. Use of this source code is governed by a |
789 // BSD-style license that can be found in the LICENSE file. | 772 // BSD-style license that can be found in the LICENSE file. |
790 | 773 |
791 | 774 |
792 @DocsEditable() | 775 @DocsEditable() |
793 @DomName('MediaElementAudioSourceNode') | 776 @DomName('MediaElementAudioSourceNode') |
794 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#MediaEl
ementAudioSourceNode | 777 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#MediaEl
ementAudioSourceNode |
795 @Experimental() | 778 @Experimental() |
796 @Native("MediaElementAudioSourceNode") | 779 class MediaElementAudioSourceNode extends AudioSourceNode native "MediaElementAu
dioSourceNode" { |
797 class MediaElementAudioSourceNode extends AudioSourceNode { | |
798 // To suppress missing implicit constructor warnings. | 780 // To suppress missing implicit constructor warnings. |
799 factory MediaElementAudioSourceNode._() { throw new UnsupportedError("Not supp
orted"); } | 781 factory MediaElementAudioSourceNode._() { throw new UnsupportedError("Not supp
orted"); } |
800 | 782 |
801 @DomName('MediaElementAudioSourceNode.mediaElement') | 783 @DomName('MediaElementAudioSourceNode.mediaElement') |
802 @DocsEditable() | 784 @DocsEditable() |
803 @Experimental() // non-standard | 785 @Experimental() // non-standard |
804 final MediaElement mediaElement; | 786 final MediaElement mediaElement; |
805 } | 787 } |
806 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 788 // 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 | 789 // 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. | 790 // BSD-style license that can be found in the LICENSE file. |
809 | 791 |
810 | 792 |
811 @DocsEditable() | 793 @DocsEditable() |
812 @DomName('MediaStreamAudioDestinationNode') | 794 @DomName('MediaStreamAudioDestinationNode') |
813 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#MediaSt
reamAudioDestinationNode | 795 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#MediaSt
reamAudioDestinationNode |
814 @Experimental() | 796 @Experimental() |
815 @Native("MediaStreamAudioDestinationNode") | 797 class MediaStreamAudioDestinationNode extends AudioNode native "MediaStreamAudio
DestinationNode" { |
816 class MediaStreamAudioDestinationNode extends AudioNode { | |
817 // To suppress missing implicit constructor warnings. | 798 // To suppress missing implicit constructor warnings. |
818 factory MediaStreamAudioDestinationNode._() { throw new UnsupportedError("Not
supported"); } | 799 factory MediaStreamAudioDestinationNode._() { throw new UnsupportedError("Not
supported"); } |
819 | 800 |
820 @DomName('MediaStreamAudioDestinationNode.stream') | 801 @DomName('MediaStreamAudioDestinationNode.stream') |
821 @DocsEditable() | 802 @DocsEditable() |
822 final MediaStream stream; | 803 final MediaStream stream; |
823 } | 804 } |
824 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 805 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
825 // for details. All rights reserved. Use of this source code is governed by a | 806 // for details. All rights reserved. Use of this source code is governed by a |
826 // BSD-style license that can be found in the LICENSE file. | 807 // BSD-style license that can be found in the LICENSE file. |
827 | 808 |
828 | 809 |
829 @DocsEditable() | 810 @DocsEditable() |
830 @DomName('MediaStreamAudioSourceNode') | 811 @DomName('MediaStreamAudioSourceNode') |
831 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#MediaSt
reamAudioSourceNode | 812 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#MediaSt
reamAudioSourceNode |
832 @Experimental() | 813 @Experimental() |
833 @Native("MediaStreamAudioSourceNode") | 814 class MediaStreamAudioSourceNode extends AudioSourceNode native "MediaStreamAudi
oSourceNode" { |
834 class MediaStreamAudioSourceNode extends AudioSourceNode { | |
835 // To suppress missing implicit constructor warnings. | 815 // To suppress missing implicit constructor warnings. |
836 factory MediaStreamAudioSourceNode._() { throw new UnsupportedError("Not suppo
rted"); } | 816 factory MediaStreamAudioSourceNode._() { throw new UnsupportedError("Not suppo
rted"); } |
837 | 817 |
838 @DomName('MediaStreamAudioSourceNode.mediaStream') | 818 @DomName('MediaStreamAudioSourceNode.mediaStream') |
839 @DocsEditable() | 819 @DocsEditable() |
840 final MediaStream mediaStream; | 820 final MediaStream mediaStream; |
841 } | 821 } |
842 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 822 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
843 // for details. All rights reserved. Use of this source code is governed by a | 823 // for details. All rights reserved. Use of this source code is governed by a |
844 // BSD-style license that can be found in the LICENSE file. | 824 // BSD-style license that can be found in the LICENSE file. |
845 | 825 |
846 | 826 |
847 @DocsEditable() | 827 @DocsEditable() |
848 @DomName('OfflineAudioCompletionEvent') | 828 @DomName('OfflineAudioCompletionEvent') |
849 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Offline
AudioCompletionEvent-section | 829 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Offline
AudioCompletionEvent-section |
850 @Experimental() | 830 @Experimental() |
851 @Native("OfflineAudioCompletionEvent") | 831 class OfflineAudioCompletionEvent extends Event native "OfflineAudioCompletionEv
ent" { |
852 class OfflineAudioCompletionEvent extends Event { | |
853 // To suppress missing implicit constructor warnings. | 832 // To suppress missing implicit constructor warnings. |
854 factory OfflineAudioCompletionEvent._() { throw new UnsupportedError("Not supp
orted"); } | 833 factory OfflineAudioCompletionEvent._() { throw new UnsupportedError("Not supp
orted"); } |
855 | 834 |
856 @DomName('OfflineAudioCompletionEvent.renderedBuffer') | 835 @DomName('OfflineAudioCompletionEvent.renderedBuffer') |
857 @DocsEditable() | 836 @DocsEditable() |
858 final AudioBuffer renderedBuffer; | 837 final AudioBuffer renderedBuffer; |
859 } | 838 } |
860 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 839 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
861 // for details. All rights reserved. Use of this source code is governed by a | 840 // for details. All rights reserved. Use of this source code is governed by a |
862 // BSD-style license that can be found in the LICENSE file. | 841 // BSD-style license that can be found in the LICENSE file. |
863 | 842 |
864 | 843 |
865 @DocsEditable() | 844 @DocsEditable() |
866 @DomName('OfflineAudioContext') | 845 @DomName('OfflineAudioContext') |
867 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Offline
AudioContext-section | 846 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Offline
AudioContext-section |
868 @Experimental() | 847 @Experimental() |
869 @Native("OfflineAudioContext") | 848 class OfflineAudioContext extends AudioContext native "OfflineAudioContext" { |
870 class OfflineAudioContext extends AudioContext { | |
871 // To suppress missing implicit constructor warnings. | 849 // To suppress missing implicit constructor warnings. |
872 factory OfflineAudioContext._() { throw new UnsupportedError("Not supported");
} | 850 factory OfflineAudioContext._() { throw new UnsupportedError("Not supported");
} |
873 | 851 |
874 @DomName('OfflineAudioContext.OfflineAudioContext') | 852 @DomName('OfflineAudioContext.OfflineAudioContext') |
875 @DocsEditable() | 853 @DocsEditable() |
876 factory OfflineAudioContext(int numberOfChannels, int numberOfFrames, num samp
leRate) { | 854 factory OfflineAudioContext(int numberOfChannels, int numberOfFrames, num samp
leRate) { |
877 return OfflineAudioContext._create_1(numberOfChannels, numberOfFrames, sampl
eRate); | 855 return OfflineAudioContext._create_1(numberOfChannels, numberOfFrames, sampl
eRate); |
878 } | 856 } |
879 static OfflineAudioContext _create_1(numberOfChannels, numberOfFrames, sampleR
ate) => JS('OfflineAudioContext', 'new OfflineAudioContext(#,#,#)', numberOfChan
nels, numberOfFrames, sampleRate); | 857 static OfflineAudioContext _create_1(numberOfChannels, numberOfFrames, sampleR
ate) => JS('OfflineAudioContext', 'new OfflineAudioContext(#,#,#)', numberOfChan
nels, numberOfFrames, sampleRate); |
880 } | 858 } |
881 // 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 |
882 // 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 |
883 // BSD-style license that can be found in the LICENSE file. | 861 // BSD-style license that can be found in the LICENSE file. |
884 | 862 |
885 | 863 |
886 @DocsEditable() | 864 @DocsEditable() |
887 @DomName('OscillatorNode') | 865 @DomName('OscillatorNode') |
888 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#dfn-Osc
illatorNode | 866 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#dfn-Osc
illatorNode |
889 @Experimental() | 867 @Experimental() |
890 @Native("OscillatorNode,Oscillator") | 868 class OscillatorNode extends AudioSourceNode native "OscillatorNode,Oscillator"
{ |
891 class OscillatorNode extends AudioSourceNode { | |
892 // To suppress missing implicit constructor warnings. | 869 // To suppress missing implicit constructor warnings. |
893 factory OscillatorNode._() { throw new UnsupportedError("Not supported"); } | 870 factory OscillatorNode._() { throw new UnsupportedError("Not supported"); } |
894 | 871 |
895 /** | 872 /** |
896 * Static factory designed to expose `ended` events to event | 873 * Static factory designed to expose `ended` events to event |
897 * handlers that are not necessarily instances of [OscillatorNode]. | 874 * handlers that are not necessarily instances of [OscillatorNode]. |
898 * | 875 * |
899 * See [EventStreamProvider] for usage information. | 876 * See [EventStreamProvider] for usage information. |
900 */ | 877 */ |
901 @DomName('OscillatorNode.endedEvent') | 878 @DomName('OscillatorNode.endedEvent') |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
960 } | 937 } |
961 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 938 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
962 // for details. All rights reserved. Use of this source code is governed by a | 939 // for details. All rights reserved. Use of this source code is governed by a |
963 // BSD-style license that can be found in the LICENSE file. | 940 // BSD-style license that can be found in the LICENSE file. |
964 | 941 |
965 | 942 |
966 @DocsEditable() | 943 @DocsEditable() |
967 @DomName('PannerNode') | 944 @DomName('PannerNode') |
968 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#PannerN
ode | 945 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#PannerN
ode |
969 @Experimental() | 946 @Experimental() |
970 @Native("PannerNode,AudioPannerNode") | 947 class PannerNode extends AudioNode native "PannerNode,AudioPannerNode" { |
971 class PannerNode extends AudioNode { | |
972 // To suppress missing implicit constructor warnings. | 948 // To suppress missing implicit constructor warnings. |
973 factory PannerNode._() { throw new UnsupportedError("Not supported"); } | 949 factory PannerNode._() { throw new UnsupportedError("Not supported"); } |
974 | 950 |
975 @DomName('PannerNode.coneInnerAngle') | 951 @DomName('PannerNode.coneInnerAngle') |
976 @DocsEditable() | 952 @DocsEditable() |
977 num coneInnerAngle; | 953 num coneInnerAngle; |
978 | 954 |
979 @DomName('PannerNode.coneOuterAngle') | 955 @DomName('PannerNode.coneOuterAngle') |
980 @DocsEditable() | 956 @DocsEditable() |
981 num coneOuterAngle; | 957 num coneOuterAngle; |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1017 void setVelocity(num x, num y, num z) native; | 993 void setVelocity(num x, num y, num z) native; |
1018 } | 994 } |
1019 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 995 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
1020 // for details. All rights reserved. Use of this source code is governed by a | 996 // for details. All rights reserved. Use of this source code is governed by a |
1021 // BSD-style license that can be found in the LICENSE file. | 997 // BSD-style license that can be found in the LICENSE file. |
1022 | 998 |
1023 | 999 |
1024 @DocsEditable() | 1000 @DocsEditable() |
1025 @DomName('PeriodicWave') | 1001 @DomName('PeriodicWave') |
1026 @Experimental() // untriaged | 1002 @Experimental() // untriaged |
1027 @Native("PeriodicWave") | 1003 class PeriodicWave extends Interceptor native "PeriodicWave" { |
1028 class PeriodicWave extends Interceptor { | |
1029 // To suppress missing implicit constructor warnings. | 1004 // To suppress missing implicit constructor warnings. |
1030 factory PeriodicWave._() { throw new UnsupportedError("Not supported"); } | 1005 factory PeriodicWave._() { throw new UnsupportedError("Not supported"); } |
1031 } | 1006 } |
1032 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1007 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
1033 // for details. All rights reserved. Use of this source code is governed by a | 1008 // for details. All rights reserved. Use of this source code is governed by a |
1034 // BSD-style license that can be found in the LICENSE file. | 1009 // BSD-style license that can be found in the LICENSE file. |
1035 | 1010 |
1036 | 1011 |
1037 @DocsEditable() | 1012 @DocsEditable() |
1038 @DomName('ScriptProcessorNode') | 1013 @DomName('ScriptProcessorNode') |
1039 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#ScriptP
rocessorNode | 1014 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#ScriptP
rocessorNode |
1040 @Experimental() | 1015 @Experimental() |
1041 @Native("ScriptProcessorNode,JavaScriptAudioNode") | 1016 class ScriptProcessorNode extends AudioNode native "ScriptProcessorNode,JavaScri
ptAudioNode" { |
1042 class ScriptProcessorNode extends AudioNode { | |
1043 // To suppress missing implicit constructor warnings. | 1017 // To suppress missing implicit constructor warnings. |
1044 factory ScriptProcessorNode._() { throw new UnsupportedError("Not supported");
} | 1018 factory ScriptProcessorNode._() { throw new UnsupportedError("Not supported");
} |
1045 | 1019 |
1046 /** | 1020 /** |
1047 * Static factory designed to expose `audioprocess` events to event | 1021 * Static factory designed to expose `audioprocess` events to event |
1048 * handlers that are not necessarily instances of [ScriptProcessorNode]. | 1022 * handlers that are not necessarily instances of [ScriptProcessorNode]. |
1049 * | 1023 * |
1050 * See [EventStreamProvider] for usage information. | 1024 * See [EventStreamProvider] for usage information. |
1051 */ | 1025 */ |
1052 @DomName('ScriptProcessorNode.audioprocessEvent') | 1026 @DomName('ScriptProcessorNode.audioprocessEvent') |
(...skipping 20 matching lines...) Expand all Loading... |
1073 } | 1047 } |
1074 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1048 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
1075 // for details. All rights reserved. Use of this source code is governed by a | 1049 // for details. All rights reserved. Use of this source code is governed by a |
1076 // BSD-style license that can be found in the LICENSE file. | 1050 // BSD-style license that can be found in the LICENSE file. |
1077 | 1051 |
1078 | 1052 |
1079 @DocsEditable() | 1053 @DocsEditable() |
1080 @DomName('WaveShaperNode') | 1054 @DomName('WaveShaperNode') |
1081 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#dfn-Wav
eShaperNode | 1055 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#dfn-Wav
eShaperNode |
1082 @Experimental() | 1056 @Experimental() |
1083 @Native("WaveShaperNode") | 1057 class WaveShaperNode extends AudioNode native "WaveShaperNode" { |
1084 class WaveShaperNode extends AudioNode { | |
1085 // To suppress missing implicit constructor warnings. | 1058 // To suppress missing implicit constructor warnings. |
1086 factory WaveShaperNode._() { throw new UnsupportedError("Not supported"); } | 1059 factory WaveShaperNode._() { throw new UnsupportedError("Not supported"); } |
1087 | 1060 |
1088 @DomName('WaveShaperNode.curve') | 1061 @DomName('WaveShaperNode.curve') |
1089 @DocsEditable() | 1062 @DocsEditable() |
1090 Float32List curve; | 1063 Float32List curve; |
1091 | 1064 |
1092 @DomName('WaveShaperNode.oversample') | 1065 @DomName('WaveShaperNode.oversample') |
1093 @DocsEditable() | 1066 @DocsEditable() |
1094 String oversample; | 1067 String oversample; |
1095 } | 1068 } |
OLD | NEW |