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