| OLD | NEW |
| 1 library dart.dom.web_audio; | 1 library dart.dom.web_audio; |
| 2 | 2 |
| 3 import 'dart:async'; | 3 import 'dart:async'; |
| 4 import 'dart:collection'; | 4 import 'dart:collection'; |
| 5 import 'dart:_collection-dev'; | 5 import 'dart:_collection-dev'; |
| 6 import 'dart:html'; | 6 import 'dart:html'; |
| 7 import 'dart:html_common'; | 7 import 'dart:html_common'; |
| 8 import 'dart:nativewrappers'; | 8 import 'dart:nativewrappers'; |
| 9 import 'dart:typed_data'; | 9 import 'dart:typed_data'; |
| 10 // DO NOT EDIT | 10 // DO NOT EDIT |
| 11 // Auto-generated dart:audio library. | 11 // Auto-generated dart:audio library. |
| 12 | 12 |
| 13 | 13 |
| 14 | 14 |
| 15 | 15 |
| 16 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 16 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 17 // for details. All rights reserved. Use of this source code is governed by a | 17 // for details. All rights reserved. Use of this source code is governed by a |
| 18 // BSD-style license that can be found in the LICENSE file. | 18 // BSD-style license that can be found in the LICENSE file. |
| 19 | 19 |
| 20 // WARNING: Do not edit - generated code. | 20 // WARNING: Do not edit - generated code. |
| 21 | 21 |
| 22 | 22 |
| 23 @DocsEditable | 23 @DocsEditable |
| 24 @DomName('AnalyserNode') | 24 @DomName('AnalyserNode') |
| 25 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Analyse
rNode |
| 26 @Experimental |
| 25 class AnalyserNode extends AudioNode { | 27 class AnalyserNode extends AudioNode { |
| 26 AnalyserNode.internal() : super.internal(); | 28 AnalyserNode.internal() : super.internal(); |
| 27 | 29 |
| 28 @DomName('AnalyserNode.fftSize') | 30 @DomName('AnalyserNode.fftSize') |
| 29 @DocsEditable | 31 @DocsEditable |
| 30 int get fftSize native "AnalyserNode_fftSize_Getter"; | 32 int get fftSize native "AnalyserNode_fftSize_Getter"; |
| 31 | 33 |
| 32 @DomName('AnalyserNode.fftSize') | 34 @DomName('AnalyserNode.fftSize') |
| 33 @DocsEditable | 35 @DocsEditable |
| 34 void set fftSize(int value) native "AnalyserNode_fftSize_Setter"; | 36 void set fftSize(int value) native "AnalyserNode_fftSize_Setter"; |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 76 } | 78 } |
| 77 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 79 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 78 // for details. All rights reserved. Use of this source code is governed by a | 80 // for details. All rights reserved. Use of this source code is governed by a |
| 79 // BSD-style license that can be found in the LICENSE file. | 81 // BSD-style license that can be found in the LICENSE file. |
| 80 | 82 |
| 81 // WARNING: Do not edit - generated code. | 83 // WARNING: Do not edit - generated code. |
| 82 | 84 |
| 83 | 85 |
| 84 @DocsEditable | 86 @DocsEditable |
| 85 @DomName('AudioBuffer') | 87 @DomName('AudioBuffer') |
| 88 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioBu
ffer-section |
| 89 @Experimental |
| 86 class AudioBuffer extends NativeFieldWrapperClass1 { | 90 class AudioBuffer extends NativeFieldWrapperClass1 { |
| 87 AudioBuffer.internal(); | 91 AudioBuffer.internal(); |
| 88 | 92 |
| 89 @DomName('AudioBuffer.duration') | 93 @DomName('AudioBuffer.duration') |
| 90 @DocsEditable | 94 @DocsEditable |
| 91 num get duration native "AudioBuffer_duration_Getter"; | 95 num get duration native "AudioBuffer_duration_Getter"; |
| 92 | 96 |
| 93 @DomName('AudioBuffer.gain') | 97 @DomName('AudioBuffer.gain') |
| 94 @DocsEditable | 98 @DocsEditable |
| 95 num get gain native "AudioBuffer_gain_Getter"; | 99 num get gain native "AudioBuffer_gain_Getter"; |
| (...skipping 19 matching lines...) Expand all Loading... |
| 115 Float32List getChannelData(int channelIndex) native "AudioBuffer_getChannelDat
a_Callback"; | 119 Float32List getChannelData(int channelIndex) native "AudioBuffer_getChannelDat
a_Callback"; |
| 116 | 120 |
| 117 } | 121 } |
| 118 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 122 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 119 // for details. All rights reserved. Use of this source code is governed by a | 123 // for details. All rights reserved. Use of this source code is governed by a |
| 120 // BSD-style license that can be found in the LICENSE file. | 124 // BSD-style license that can be found in the LICENSE file. |
| 121 | 125 |
| 122 // WARNING: Do not edit - generated code. | 126 // WARNING: Do not edit - generated code. |
| 123 | 127 |
| 124 | 128 |
| 129 @DomName('AudioBufferCallback') |
| 130 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioBu
ffer-section |
| 131 @Experimental |
| 125 typedef void AudioBufferCallback(AudioBuffer audioBuffer); | 132 typedef void AudioBufferCallback(AudioBuffer audioBuffer); |
| 126 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 133 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 127 // for details. All rights reserved. Use of this source code is governed by a | 134 // for details. All rights reserved. Use of this source code is governed by a |
| 128 // BSD-style license that can be found in the LICENSE file. | 135 // BSD-style license that can be found in the LICENSE file. |
| 129 | 136 |
| 130 // WARNING: Do not edit - generated code. | 137 // WARNING: Do not edit - generated code. |
| 131 | 138 |
| 132 | 139 |
| 133 @DocsEditable | 140 @DocsEditable |
| 134 @DomName('AudioBufferSourceNode') | 141 @DomName('AudioBufferSourceNode') |
| 142 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioBu
fferSourceNode-section |
| 143 @Experimental |
| 135 class AudioBufferSourceNode extends AudioSourceNode { | 144 class AudioBufferSourceNode extends AudioSourceNode { |
| 136 AudioBufferSourceNode.internal() : super.internal(); | 145 AudioBufferSourceNode.internal() : super.internal(); |
| 137 | 146 |
| 138 @DomName('AudioBufferSourceNode.FINISHED_STATE') | 147 @DomName('AudioBufferSourceNode.FINISHED_STATE') |
| 139 @DocsEditable | 148 @DocsEditable |
| 140 static const int FINISHED_STATE = 3; | 149 static const int FINISHED_STATE = 3; |
| 141 | 150 |
| 142 @DomName('AudioBufferSourceNode.PLAYING_STATE') | 151 @DomName('AudioBufferSourceNode.PLAYING_STATE') |
| 143 @DocsEditable | 152 @DocsEditable |
| 144 static const int PLAYING_STATE = 2; | 153 static const int PLAYING_STATE = 2; |
| (...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 221 @DocsEditable | 230 @DocsEditable |
| 222 void stop(num when) native "AudioBufferSourceNode_stop_Callback"; | 231 void stop(num when) native "AudioBufferSourceNode_stop_Callback"; |
| 223 | 232 |
| 224 } | 233 } |
| 225 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 234 // 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 | 235 // 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. | 236 // BSD-style license that can be found in the LICENSE file. |
| 228 | 237 |
| 229 | 238 |
| 230 @DomName('AudioContext') | 239 @DomName('AudioContext') |
| 240 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioCo
ntext-section |
| 241 @Experimental |
| 231 class AudioContext extends EventTarget { | 242 class AudioContext extends EventTarget { |
| 232 AudioContext.internal() : super.internal(); | 243 AudioContext.internal() : super.internal(); |
| 233 | 244 |
| 234 @DomName('AudioContext.completeEvent') | 245 @DomName('AudioContext.completeEvent') |
| 235 @DocsEditable | 246 @DocsEditable |
| 236 static const EventStreamProvider<Event> completeEvent = const EventStreamProvi
der<Event>('complete'); | 247 static const EventStreamProvider<Event> completeEvent = const EventStreamProvi
der<Event>('complete'); |
| 237 factory AudioContext() => _create(); | 248 factory AudioContext() => _create(); |
| 238 | 249 |
| 239 @DocsEditable | 250 @DocsEditable |
| 240 static AudioContext _create() native "AudioContext_constructorCallback"; | 251 static AudioContext _create() native "AudioContext_constructorCallback"; |
| (...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 392 } | 403 } |
| 393 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 404 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 394 // for details. All rights reserved. Use of this source code is governed by a | 405 // for details. All rights reserved. Use of this source code is governed by a |
| 395 // BSD-style license that can be found in the LICENSE file. | 406 // BSD-style license that can be found in the LICENSE file. |
| 396 | 407 |
| 397 // WARNING: Do not edit - generated code. | 408 // WARNING: Do not edit - generated code. |
| 398 | 409 |
| 399 | 410 |
| 400 @DocsEditable | 411 @DocsEditable |
| 401 @DomName('AudioDestinationNode') | 412 @DomName('AudioDestinationNode') |
| 413 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioDe
stinationNode-section |
| 414 @Experimental |
| 402 class AudioDestinationNode extends AudioNode { | 415 class AudioDestinationNode extends AudioNode { |
| 403 AudioDestinationNode.internal() : super.internal(); | 416 AudioDestinationNode.internal() : super.internal(); |
| 404 | 417 |
| 405 @DomName('AudioDestinationNode.maxChannelCount') | 418 @DomName('AudioDestinationNode.maxChannelCount') |
| 406 @DocsEditable | 419 @DocsEditable |
| 407 int get maxChannelCount native "AudioDestinationNode_maxChannelCount_Getter"; | 420 int get maxChannelCount native "AudioDestinationNode_maxChannelCount_Getter"; |
| 408 | 421 |
| 409 } | 422 } |
| 410 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 423 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 411 // for details. All rights reserved. Use of this source code is governed by a | 424 // for details. All rights reserved. Use of this source code is governed by a |
| 412 // BSD-style license that can be found in the LICENSE file. | 425 // BSD-style license that can be found in the LICENSE file. |
| 413 | 426 |
| 414 // WARNING: Do not edit - generated code. | 427 // WARNING: Do not edit - generated code. |
| 415 | 428 |
| 416 | 429 |
| 417 @DocsEditable | 430 @DocsEditable |
| 418 @DomName('AudioListener') | 431 @DomName('AudioListener') |
| 432 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioLi
stener-section |
| 433 @Experimental |
| 419 class AudioListener extends NativeFieldWrapperClass1 { | 434 class AudioListener extends NativeFieldWrapperClass1 { |
| 420 AudioListener.internal(); | 435 AudioListener.internal(); |
| 421 | 436 |
| 422 @DomName('AudioListener.dopplerFactor') | 437 @DomName('AudioListener.dopplerFactor') |
| 423 @DocsEditable | 438 @DocsEditable |
| 424 num get dopplerFactor native "AudioListener_dopplerFactor_Getter"; | 439 num get dopplerFactor native "AudioListener_dopplerFactor_Getter"; |
| 425 | 440 |
| 426 @DomName('AudioListener.dopplerFactor') | 441 @DomName('AudioListener.dopplerFactor') |
| 427 @DocsEditable | 442 @DocsEditable |
| 428 void set dopplerFactor(num value) native "AudioListener_dopplerFactor_Setter"; | 443 void set dopplerFactor(num value) native "AudioListener_dopplerFactor_Setter"; |
| (...skipping 21 matching lines...) Expand all Loading... |
| 450 } | 465 } |
| 451 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 466 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 452 // for details. All rights reserved. Use of this source code is governed by a | 467 // for details. All rights reserved. Use of this source code is governed by a |
| 453 // BSD-style license that can be found in the LICENSE file. | 468 // BSD-style license that can be found in the LICENSE file. |
| 454 | 469 |
| 455 // WARNING: Do not edit - generated code. | 470 // WARNING: Do not edit - generated code. |
| 456 | 471 |
| 457 | 472 |
| 458 @DocsEditable | 473 @DocsEditable |
| 459 @DomName('AudioNode') | 474 @DomName('AudioNode') |
| 475 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioNo
de-section |
| 476 @Experimental |
| 460 class AudioNode extends NativeFieldWrapperClass1 { | 477 class AudioNode extends NativeFieldWrapperClass1 { |
| 461 AudioNode.internal(); | 478 AudioNode.internal(); |
| 462 | 479 |
| 463 @DomName('AudioNode.channelCount') | 480 @DomName('AudioNode.channelCount') |
| 464 @DocsEditable | 481 @DocsEditable |
| 465 int get channelCount native "AudioNode_channelCount_Getter"; | 482 int get channelCount native "AudioNode_channelCount_Getter"; |
| 466 | 483 |
| 467 @DomName('AudioNode.channelCount') | 484 @DomName('AudioNode.channelCount') |
| 468 @DocsEditable | 485 @DocsEditable |
| 469 void set channelCount(int value) native "AudioNode_channelCount_Setter"; | 486 void set channelCount(int value) native "AudioNode_channelCount_Setter"; |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 519 } | 536 } |
| 520 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 537 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 521 // for details. All rights reserved. Use of this source code is governed by a | 538 // for details. All rights reserved. Use of this source code is governed by a |
| 522 // BSD-style license that can be found in the LICENSE file. | 539 // BSD-style license that can be found in the LICENSE file. |
| 523 | 540 |
| 524 // WARNING: Do not edit - generated code. | 541 // WARNING: Do not edit - generated code. |
| 525 | 542 |
| 526 | 543 |
| 527 @DocsEditable | 544 @DocsEditable |
| 528 @DomName('AudioParam') | 545 @DomName('AudioParam') |
| 546 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioPa
ram |
| 547 @Experimental |
| 529 class AudioParam extends NativeFieldWrapperClass1 { | 548 class AudioParam extends NativeFieldWrapperClass1 { |
| 530 AudioParam.internal(); | 549 AudioParam.internal(); |
| 531 | 550 |
| 532 @DomName('AudioParam.defaultValue') | 551 @DomName('AudioParam.defaultValue') |
| 533 @DocsEditable | 552 @DocsEditable |
| 534 num get defaultValue native "AudioParam_defaultValue_Getter"; | 553 num get defaultValue native "AudioParam_defaultValue_Getter"; |
| 535 | 554 |
| 536 @DomName('AudioParam.maxValue') | 555 @DomName('AudioParam.maxValue') |
| 537 @DocsEditable | 556 @DocsEditable |
| 538 num get maxValue native "AudioParam_maxValue_Getter"; | 557 num get maxValue native "AudioParam_maxValue_Getter"; |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 584 } | 603 } |
| 585 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 604 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 586 // for details. All rights reserved. Use of this source code is governed by a | 605 // for details. All rights reserved. Use of this source code is governed by a |
| 587 // BSD-style license that can be found in the LICENSE file. | 606 // BSD-style license that can be found in the LICENSE file. |
| 588 | 607 |
| 589 // WARNING: Do not edit - generated code. | 608 // WARNING: Do not edit - generated code. |
| 590 | 609 |
| 591 | 610 |
| 592 @DocsEditable | 611 @DocsEditable |
| 593 @DomName('AudioProcessingEvent') | 612 @DomName('AudioProcessingEvent') |
| 613 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioPr
ocessingEvent-section |
| 614 @Experimental |
| 594 class AudioProcessingEvent extends Event { | 615 class AudioProcessingEvent extends Event { |
| 595 AudioProcessingEvent.internal() : super.internal(); | 616 AudioProcessingEvent.internal() : super.internal(); |
| 596 | 617 |
| 597 @DomName('AudioProcessingEvent.inputBuffer') | 618 @DomName('AudioProcessingEvent.inputBuffer') |
| 598 @DocsEditable | 619 @DocsEditable |
| 599 AudioBuffer get inputBuffer native "AudioProcessingEvent_inputBuffer_Getter"; | 620 AudioBuffer get inputBuffer native "AudioProcessingEvent_inputBuffer_Getter"; |
| 600 | 621 |
| 601 @DomName('AudioProcessingEvent.outputBuffer') | 622 @DomName('AudioProcessingEvent.outputBuffer') |
| 602 @DocsEditable | 623 @DocsEditable |
| 603 AudioBuffer get outputBuffer native "AudioProcessingEvent_outputBuffer_Getter"
; | 624 AudioBuffer get outputBuffer native "AudioProcessingEvent_outputBuffer_Getter"
; |
| 604 | 625 |
| 605 } | 626 } |
| 606 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 627 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 607 // for details. All rights reserved. Use of this source code is governed by a | 628 // for details. All rights reserved. Use of this source code is governed by a |
| 608 // BSD-style license that can be found in the LICENSE file. | 629 // BSD-style license that can be found in the LICENSE file. |
| 609 | 630 |
| 610 // WARNING: Do not edit - generated code. | 631 // WARNING: Do not edit - generated code. |
| 611 | 632 |
| 612 | 633 |
| 613 @DocsEditable | 634 @DocsEditable |
| 614 @DomName('AudioSourceNode') | 635 @DomName('AudioSourceNode') |
| 636 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html |
| 637 @Experimental |
| 615 class AudioSourceNode extends AudioNode { | 638 class AudioSourceNode extends AudioNode { |
| 616 AudioSourceNode.internal() : super.internal(); | 639 AudioSourceNode.internal() : super.internal(); |
| 617 | 640 |
| 618 } | 641 } |
| 619 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 642 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 620 // for details. All rights reserved. Use of this source code is governed by a | 643 // for details. All rights reserved. Use of this source code is governed by a |
| 621 // BSD-style license that can be found in the LICENSE file. | 644 // BSD-style license that can be found in the LICENSE file. |
| 622 | 645 |
| 623 // WARNING: Do not edit - generated code. | 646 // WARNING: Do not edit - generated code. |
| 624 | 647 |
| 625 | 648 |
| 626 @DocsEditable | 649 @DocsEditable |
| 627 @DomName('BiquadFilterNode') | 650 @DomName('BiquadFilterNode') |
| 651 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#BiquadF
ilterNode-section |
| 652 @Experimental |
| 628 class BiquadFilterNode extends AudioNode { | 653 class BiquadFilterNode extends AudioNode { |
| 629 BiquadFilterNode.internal() : super.internal(); | 654 BiquadFilterNode.internal() : super.internal(); |
| 630 | 655 |
| 631 @DomName('BiquadFilterNode.ALLPASS') | 656 @DomName('BiquadFilterNode.ALLPASS') |
| 632 @DocsEditable | 657 @DocsEditable |
| 633 static const int ALLPASS = 7; | 658 static const int ALLPASS = 7; |
| 634 | 659 |
| 635 @DomName('BiquadFilterNode.BANDPASS') | 660 @DomName('BiquadFilterNode.BANDPASS') |
| 636 @DocsEditable | 661 @DocsEditable |
| 637 static const int BANDPASS = 2; | 662 static const int BANDPASS = 2; |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 691 } | 716 } |
| 692 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 717 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 693 // for details. All rights reserved. Use of this source code is governed by a | 718 // for details. All rights reserved. Use of this source code is governed by a |
| 694 // BSD-style license that can be found in the LICENSE file. | 719 // BSD-style license that can be found in the LICENSE file. |
| 695 | 720 |
| 696 // WARNING: Do not edit - generated code. | 721 // WARNING: Do not edit - generated code. |
| 697 | 722 |
| 698 | 723 |
| 699 @DocsEditable | 724 @DocsEditable |
| 700 @DomName('ChannelMergerNode') | 725 @DomName('ChannelMergerNode') |
| 726 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Channel
MergerNode-section |
| 727 @Experimental |
| 701 class ChannelMergerNode extends AudioNode { | 728 class ChannelMergerNode extends AudioNode { |
| 702 ChannelMergerNode.internal() : super.internal(); | 729 ChannelMergerNode.internal() : super.internal(); |
| 703 | 730 |
| 704 } | 731 } |
| 705 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 732 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 706 // for details. All rights reserved. Use of this source code is governed by a | 733 // for details. All rights reserved. Use of this source code is governed by a |
| 707 // BSD-style license that can be found in the LICENSE file. | 734 // BSD-style license that can be found in the LICENSE file. |
| 708 | 735 |
| 709 // WARNING: Do not edit - generated code. | 736 // WARNING: Do not edit - generated code. |
| 710 | 737 |
| 711 | 738 |
| 712 @DocsEditable | 739 @DocsEditable |
| 713 @DomName('ChannelSplitterNode') | 740 @DomName('ChannelSplitterNode') |
| 741 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Channel
SplitterNode-section |
| 742 @Experimental |
| 714 class ChannelSplitterNode extends AudioNode { | 743 class ChannelSplitterNode extends AudioNode { |
| 715 ChannelSplitterNode.internal() : super.internal(); | 744 ChannelSplitterNode.internal() : super.internal(); |
| 716 | 745 |
| 717 } | 746 } |
| 718 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 747 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 719 // for details. All rights reserved. Use of this source code is governed by a | 748 // for details. All rights reserved. Use of this source code is governed by a |
| 720 // BSD-style license that can be found in the LICENSE file. | 749 // BSD-style license that can be found in the LICENSE file. |
| 721 | 750 |
| 722 // WARNING: Do not edit - generated code. | 751 // WARNING: Do not edit - generated code. |
| 723 | 752 |
| 724 | 753 |
| 725 @DocsEditable | 754 @DocsEditable |
| 726 @DomName('ConvolverNode') | 755 @DomName('ConvolverNode') |
| 756 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Convolv
erNode |
| 757 @Experimental |
| 727 class ConvolverNode extends AudioNode { | 758 class ConvolverNode extends AudioNode { |
| 728 ConvolverNode.internal() : super.internal(); | 759 ConvolverNode.internal() : super.internal(); |
| 729 | 760 |
| 730 @DomName('ConvolverNode.buffer') | 761 @DomName('ConvolverNode.buffer') |
| 731 @DocsEditable | 762 @DocsEditable |
| 732 AudioBuffer get buffer native "ConvolverNode_buffer_Getter"; | 763 AudioBuffer get buffer native "ConvolverNode_buffer_Getter"; |
| 733 | 764 |
| 734 @DomName('ConvolverNode.buffer') | 765 @DomName('ConvolverNode.buffer') |
| 735 @DocsEditable | 766 @DocsEditable |
| 736 void set buffer(AudioBuffer value) native "ConvolverNode_buffer_Setter"; | 767 void set buffer(AudioBuffer value) native "ConvolverNode_buffer_Setter"; |
| 737 | 768 |
| 738 @DomName('ConvolverNode.normalize') | 769 @DomName('ConvolverNode.normalize') |
| 739 @DocsEditable | 770 @DocsEditable |
| 740 bool get normalize native "ConvolverNode_normalize_Getter"; | 771 bool get normalize native "ConvolverNode_normalize_Getter"; |
| 741 | 772 |
| 742 @DomName('ConvolverNode.normalize') | 773 @DomName('ConvolverNode.normalize') |
| 743 @DocsEditable | 774 @DocsEditable |
| 744 void set normalize(bool value) native "ConvolverNode_normalize_Setter"; | 775 void set normalize(bool value) native "ConvolverNode_normalize_Setter"; |
| 745 | 776 |
| 746 } | 777 } |
| 747 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 778 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 748 // for details. All rights reserved. Use of this source code is governed by a | 779 // for details. All rights reserved. Use of this source code is governed by a |
| 749 // BSD-style license that can be found in the LICENSE file. | 780 // BSD-style license that can be found in the LICENSE file. |
| 750 | 781 |
| 751 // WARNING: Do not edit - generated code. | 782 // WARNING: Do not edit - generated code. |
| 752 | 783 |
| 753 | 784 |
| 754 @DocsEditable | 785 @DocsEditable |
| 755 @DomName('DelayNode') | 786 @DomName('DelayNode') |
| 787 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#DelayNo
de |
| 788 @Experimental |
| 756 class DelayNode extends AudioNode { | 789 class DelayNode extends AudioNode { |
| 757 DelayNode.internal() : super.internal(); | 790 DelayNode.internal() : super.internal(); |
| 758 | 791 |
| 759 @DomName('DelayNode.delayTime') | 792 @DomName('DelayNode.delayTime') |
| 760 @DocsEditable | 793 @DocsEditable |
| 761 AudioParam get delayTime native "DelayNode_delayTime_Getter"; | 794 AudioParam get delayTime native "DelayNode_delayTime_Getter"; |
| 762 | 795 |
| 763 } | 796 } |
| 764 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 797 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 765 // for details. All rights reserved. Use of this source code is governed by a | 798 // for details. All rights reserved. Use of this source code is governed by a |
| 766 // BSD-style license that can be found in the LICENSE file. | 799 // BSD-style license that can be found in the LICENSE file. |
| 767 | 800 |
| 768 // WARNING: Do not edit - generated code. | 801 // WARNING: Do not edit - generated code. |
| 769 | 802 |
| 770 | 803 |
| 771 @DocsEditable | 804 @DocsEditable |
| 772 @DomName('DynamicsCompressorNode') | 805 @DomName('DynamicsCompressorNode') |
| 806 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Dynamic
sCompressorNode |
| 807 @Experimental |
| 773 class DynamicsCompressorNode extends AudioNode { | 808 class DynamicsCompressorNode extends AudioNode { |
| 774 DynamicsCompressorNode.internal() : super.internal(); | 809 DynamicsCompressorNode.internal() : super.internal(); |
| 775 | 810 |
| 776 @DomName('DynamicsCompressorNode.attack') | 811 @DomName('DynamicsCompressorNode.attack') |
| 777 @DocsEditable | 812 @DocsEditable |
| 778 AudioParam get attack native "DynamicsCompressorNode_attack_Getter"; | 813 AudioParam get attack native "DynamicsCompressorNode_attack_Getter"; |
| 779 | 814 |
| 780 @DomName('DynamicsCompressorNode.knee') | 815 @DomName('DynamicsCompressorNode.knee') |
| 781 @DocsEditable | 816 @DocsEditable |
| 782 AudioParam get knee native "DynamicsCompressorNode_knee_Getter"; | 817 AudioParam get knee native "DynamicsCompressorNode_knee_Getter"; |
| (...skipping 17 matching lines...) Expand all Loading... |
| 800 } | 835 } |
| 801 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 836 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 802 // for details. All rights reserved. Use of this source code is governed by a | 837 // for details. All rights reserved. Use of this source code is governed by a |
| 803 // BSD-style license that can be found in the LICENSE file. | 838 // BSD-style license that can be found in the LICENSE file. |
| 804 | 839 |
| 805 // WARNING: Do not edit - generated code. | 840 // WARNING: Do not edit - generated code. |
| 806 | 841 |
| 807 | 842 |
| 808 @DocsEditable | 843 @DocsEditable |
| 809 @DomName('GainNode') | 844 @DomName('GainNode') |
| 845 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#GainNod
e |
| 846 @Experimental |
| 810 class GainNode extends AudioNode { | 847 class GainNode extends AudioNode { |
| 811 GainNode.internal() : super.internal(); | 848 GainNode.internal() : super.internal(); |
| 812 | 849 |
| 813 @DomName('GainNode.gain') | 850 @DomName('GainNode.gain') |
| 814 @DocsEditable | 851 @DocsEditable |
| 815 AudioParam get gain native "GainNode_gain_Getter"; | 852 AudioParam get gain native "GainNode_gain_Getter"; |
| 816 | 853 |
| 817 } | 854 } |
| 818 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 855 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 819 // for details. All rights reserved. Use of this source code is governed by a | 856 // for details. All rights reserved. Use of this source code is governed by a |
| 820 // BSD-style license that can be found in the LICENSE file. | 857 // BSD-style license that can be found in the LICENSE file. |
| 821 | 858 |
| 822 // WARNING: Do not edit - generated code. | 859 // WARNING: Do not edit - generated code. |
| 823 | 860 |
| 824 | 861 |
| 825 @DocsEditable | 862 @DocsEditable |
| 826 @DomName('MediaElementAudioSourceNode') | 863 @DomName('MediaElementAudioSourceNode') |
| 864 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#MediaEl
ementAudioSourceNode |
| 865 @Experimental |
| 827 class MediaElementAudioSourceNode extends AudioSourceNode { | 866 class MediaElementAudioSourceNode extends AudioSourceNode { |
| 828 MediaElementAudioSourceNode.internal() : super.internal(); | 867 MediaElementAudioSourceNode.internal() : super.internal(); |
| 829 | 868 |
| 830 @DomName('MediaElementAudioSourceNode.mediaElement') | 869 @DomName('MediaElementAudioSourceNode.mediaElement') |
| 831 @DocsEditable | 870 @DocsEditable |
| 871 @Experimental // non-standard |
| 832 MediaElement get mediaElement native "MediaElementAudioSourceNode_mediaElement
_Getter"; | 872 MediaElement get mediaElement native "MediaElementAudioSourceNode_mediaElement
_Getter"; |
| 833 | 873 |
| 834 } | 874 } |
| 835 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 875 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 836 // for details. All rights reserved. Use of this source code is governed by a | 876 // for details. All rights reserved. Use of this source code is governed by a |
| 837 // BSD-style license that can be found in the LICENSE file. | 877 // BSD-style license that can be found in the LICENSE file. |
| 838 | 878 |
| 839 // WARNING: Do not edit - generated code. | 879 // WARNING: Do not edit - generated code. |
| 840 | 880 |
| 841 | 881 |
| 842 @DocsEditable | 882 @DocsEditable |
| 843 @DomName('MediaStreamAudioDestinationNode') | 883 @DomName('MediaStreamAudioDestinationNode') |
| 884 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#MediaSt
reamAudioDestinationNode |
| 885 @Experimental |
| 844 class MediaStreamAudioDestinationNode extends AudioSourceNode { | 886 class MediaStreamAudioDestinationNode extends AudioSourceNode { |
| 845 MediaStreamAudioDestinationNode.internal() : super.internal(); | 887 MediaStreamAudioDestinationNode.internal() : super.internal(); |
| 846 | 888 |
| 847 @DomName('MediaStreamAudioDestinationNode.stream') | 889 @DomName('MediaStreamAudioDestinationNode.stream') |
| 848 @DocsEditable | 890 @DocsEditable |
| 849 MediaStream get stream native "MediaStreamAudioDestinationNode_stream_Getter"; | 891 MediaStream get stream native "MediaStreamAudioDestinationNode_stream_Getter"; |
| 850 | 892 |
| 851 } | 893 } |
| 852 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 894 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 853 // for details. All rights reserved. Use of this source code is governed by a | 895 // for details. All rights reserved. Use of this source code is governed by a |
| 854 // BSD-style license that can be found in the LICENSE file. | 896 // BSD-style license that can be found in the LICENSE file. |
| 855 | 897 |
| 856 // WARNING: Do not edit - generated code. | 898 // WARNING: Do not edit - generated code. |
| 857 | 899 |
| 858 | 900 |
| 859 @DocsEditable | 901 @DocsEditable |
| 860 @DomName('MediaStreamAudioSourceNode') | 902 @DomName('MediaStreamAudioSourceNode') |
| 903 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#MediaSt
reamAudioSourceNode |
| 904 @Experimental |
| 861 class MediaStreamAudioSourceNode extends AudioSourceNode { | 905 class MediaStreamAudioSourceNode extends AudioSourceNode { |
| 862 MediaStreamAudioSourceNode.internal() : super.internal(); | 906 MediaStreamAudioSourceNode.internal() : super.internal(); |
| 863 | 907 |
| 864 @DomName('MediaStreamAudioSourceNode.mediaStream') | 908 @DomName('MediaStreamAudioSourceNode.mediaStream') |
| 865 @DocsEditable | 909 @DocsEditable |
| 866 MediaStream get mediaStream native "MediaStreamAudioSourceNode_mediaStream_Get
ter"; | 910 MediaStream get mediaStream native "MediaStreamAudioSourceNode_mediaStream_Get
ter"; |
| 867 | 911 |
| 868 } | 912 } |
| 869 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 913 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 870 // for details. All rights reserved. Use of this source code is governed by a | 914 // for details. All rights reserved. Use of this source code is governed by a |
| 871 // BSD-style license that can be found in the LICENSE file. | 915 // BSD-style license that can be found in the LICENSE file. |
| 872 | 916 |
| 873 // WARNING: Do not edit - generated code. | 917 // WARNING: Do not edit - generated code. |
| 874 | 918 |
| 875 | 919 |
| 876 @DocsEditable | 920 @DocsEditable |
| 877 @DomName('OfflineAudioCompletionEvent') | 921 @DomName('OfflineAudioCompletionEvent') |
| 922 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Offline
AudioCompletionEvent-section |
| 923 @Experimental |
| 878 class OfflineAudioCompletionEvent extends Event { | 924 class OfflineAudioCompletionEvent extends Event { |
| 879 OfflineAudioCompletionEvent.internal() : super.internal(); | 925 OfflineAudioCompletionEvent.internal() : super.internal(); |
| 880 | 926 |
| 881 @DomName('OfflineAudioCompletionEvent.renderedBuffer') | 927 @DomName('OfflineAudioCompletionEvent.renderedBuffer') |
| 882 @DocsEditable | 928 @DocsEditable |
| 883 AudioBuffer get renderedBuffer native "OfflineAudioCompletionEvent_renderedBuf
fer_Getter"; | 929 AudioBuffer get renderedBuffer native "OfflineAudioCompletionEvent_renderedBuf
fer_Getter"; |
| 884 | 930 |
| 885 } | 931 } |
| 886 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 932 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 887 // for details. All rights reserved. Use of this source code is governed by a | 933 // for details. All rights reserved. Use of this source code is governed by a |
| 888 // BSD-style license that can be found in the LICENSE file. | 934 // BSD-style license that can be found in the LICENSE file. |
| 889 | 935 |
| 890 // WARNING: Do not edit - generated code. | 936 // WARNING: Do not edit - generated code. |
| 891 | 937 |
| 892 | 938 |
| 893 @DocsEditable | 939 @DocsEditable |
| 894 @DomName('OfflineAudioContext') | 940 @DomName('OfflineAudioContext') |
| 941 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Offline
AudioContext-section |
| 942 @Experimental |
| 895 class OfflineAudioContext extends AudioContext implements EventTarget { | 943 class OfflineAudioContext extends AudioContext implements EventTarget { |
| 896 OfflineAudioContext.internal() : super.internal(); | 944 OfflineAudioContext.internal() : super.internal(); |
| 897 | 945 |
| 898 @DomName('OfflineAudioContext.OfflineAudioContext') | 946 @DomName('OfflineAudioContext.OfflineAudioContext') |
| 899 @DocsEditable | 947 @DocsEditable |
| 900 factory OfflineAudioContext(int numberOfChannels, int numberOfFrames, num samp
leRate) { | 948 factory OfflineAudioContext(int numberOfChannels, int numberOfFrames, num samp
leRate) { |
| 901 return OfflineAudioContext._create_1(numberOfChannels, numberOfFrames, sampl
eRate); | 949 return OfflineAudioContext._create_1(numberOfChannels, numberOfFrames, sampl
eRate); |
| 902 } | 950 } |
| 903 | 951 |
| 904 @DocsEditable | 952 @DocsEditable |
| 905 static OfflineAudioContext _create_1(numberOfChannels, numberOfFrames, sampleR
ate) native "OfflineAudioContext__create_1constructorCallback"; | 953 static OfflineAudioContext _create_1(numberOfChannels, numberOfFrames, sampleR
ate) native "OfflineAudioContext__create_1constructorCallback"; |
| 906 | 954 |
| 907 } | 955 } |
| 908 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 956 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 909 // for details. All rights reserved. Use of this source code is governed by a | 957 // for details. All rights reserved. Use of this source code is governed by a |
| 910 // BSD-style license that can be found in the LICENSE file. | 958 // BSD-style license that can be found in the LICENSE file. |
| 911 | 959 |
| 912 // WARNING: Do not edit - generated code. | 960 // WARNING: Do not edit - generated code. |
| 913 | 961 |
| 914 | 962 |
| 915 @DocsEditable | 963 @DocsEditable |
| 916 @DomName('OscillatorNode') | 964 @DomName('OscillatorNode') |
| 965 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#dfn-Osc
illatorNode |
| 966 @Experimental |
| 917 class OscillatorNode extends AudioSourceNode { | 967 class OscillatorNode extends AudioSourceNode { |
| 918 OscillatorNode.internal() : super.internal(); | 968 OscillatorNode.internal() : super.internal(); |
| 919 | 969 |
| 920 @DomName('OscillatorNode.CUSTOM') | 970 @DomName('OscillatorNode.CUSTOM') |
| 921 @DocsEditable | 971 @DocsEditable |
| 972 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Alter
nateNames |
| 973 @deprecated // deprecated |
| 922 static const int CUSTOM = 4; | 974 static const int CUSTOM = 4; |
| 923 | 975 |
| 924 @DomName('OscillatorNode.FINISHED_STATE') | 976 @DomName('OscillatorNode.FINISHED_STATE') |
| 925 @DocsEditable | 977 @DocsEditable |
| 926 static const int FINISHED_STATE = 3; | 978 static const int FINISHED_STATE = 3; |
| 927 | 979 |
| 928 @DomName('OscillatorNode.PLAYING_STATE') | 980 @DomName('OscillatorNode.PLAYING_STATE') |
| 929 @DocsEditable | 981 @DocsEditable |
| 930 static const int PLAYING_STATE = 2; | 982 static const int PLAYING_STATE = 2; |
| 931 | 983 |
| 932 @DomName('OscillatorNode.SAWTOOTH') | 984 @DomName('OscillatorNode.SAWTOOTH') |
| 933 @DocsEditable | 985 @DocsEditable |
| 986 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Alter
nateNames |
| 987 @deprecated // deprecated |
| 934 static const int SAWTOOTH = 2; | 988 static const int SAWTOOTH = 2; |
| 935 | 989 |
| 936 @DomName('OscillatorNode.SCHEDULED_STATE') | 990 @DomName('OscillatorNode.SCHEDULED_STATE') |
| 937 @DocsEditable | 991 @DocsEditable |
| 938 static const int SCHEDULED_STATE = 1; | 992 static const int SCHEDULED_STATE = 1; |
| 939 | 993 |
| 940 @DomName('OscillatorNode.SINE') | 994 @DomName('OscillatorNode.SINE') |
| 941 @DocsEditable | 995 @DocsEditable |
| 996 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Alter
nateNames |
| 997 @deprecated // deprecated |
| 942 static const int SINE = 0; | 998 static const int SINE = 0; |
| 943 | 999 |
| 944 @DomName('OscillatorNode.SQUARE') | 1000 @DomName('OscillatorNode.SQUARE') |
| 945 @DocsEditable | 1001 @DocsEditable |
| 1002 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Alter
nateNames |
| 1003 @deprecated // deprecated |
| 946 static const int SQUARE = 1; | 1004 static const int SQUARE = 1; |
| 947 | 1005 |
| 948 @DomName('OscillatorNode.TRIANGLE') | 1006 @DomName('OscillatorNode.TRIANGLE') |
| 949 @DocsEditable | 1007 @DocsEditable |
| 1008 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Alter
nateNames |
| 1009 @deprecated // deprecated |
| 950 static const int TRIANGLE = 3; | 1010 static const int TRIANGLE = 3; |
| 951 | 1011 |
| 952 @DomName('OscillatorNode.UNSCHEDULED_STATE') | 1012 @DomName('OscillatorNode.UNSCHEDULED_STATE') |
| 953 @DocsEditable | 1013 @DocsEditable |
| 954 static const int UNSCHEDULED_STATE = 0; | 1014 static const int UNSCHEDULED_STATE = 0; |
| 955 | 1015 |
| 956 @DomName('OscillatorNode.detune') | 1016 @DomName('OscillatorNode.detune') |
| 957 @DocsEditable | 1017 @DocsEditable |
| 958 AudioParam get detune native "OscillatorNode_detune_Getter"; | 1018 AudioParam get detune native "OscillatorNode_detune_Getter"; |
| 959 | 1019 |
| (...skipping 28 matching lines...) Expand all Loading... |
| 988 } | 1048 } |
| 989 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1049 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 990 // for details. All rights reserved. Use of this source code is governed by a | 1050 // for details. All rights reserved. Use of this source code is governed by a |
| 991 // BSD-style license that can be found in the LICENSE file. | 1051 // BSD-style license that can be found in the LICENSE file. |
| 992 | 1052 |
| 993 // WARNING: Do not edit - generated code. | 1053 // WARNING: Do not edit - generated code. |
| 994 | 1054 |
| 995 | 1055 |
| 996 @DocsEditable | 1056 @DocsEditable |
| 997 @DomName('PannerNode') | 1057 @DomName('PannerNode') |
| 1058 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#PannerN
ode |
| 1059 @Experimental |
| 998 class PannerNode extends AudioNode { | 1060 class PannerNode extends AudioNode { |
| 999 PannerNode.internal() : super.internal(); | 1061 PannerNode.internal() : super.internal(); |
| 1000 | 1062 |
| 1001 @DomName('PannerNode.EQUALPOWER') | 1063 @DomName('PannerNode.EQUALPOWER') |
| 1002 @DocsEditable | 1064 @DocsEditable |
| 1065 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Alter
nateNames |
| 1066 @deprecated // deprecated |
| 1003 static const int EQUALPOWER = 0; | 1067 static const int EQUALPOWER = 0; |
| 1004 | 1068 |
| 1005 @DomName('PannerNode.EXPONENTIAL_DISTANCE') | 1069 @DomName('PannerNode.EXPONENTIAL_DISTANCE') |
| 1006 @DocsEditable | 1070 @DocsEditable |
| 1071 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Alter
nateNames |
| 1072 @deprecated // deprecated |
| 1007 static const int EXPONENTIAL_DISTANCE = 2; | 1073 static const int EXPONENTIAL_DISTANCE = 2; |
| 1008 | 1074 |
| 1009 @DomName('PannerNode.HRTF') | 1075 @DomName('PannerNode.HRTF') |
| 1010 @DocsEditable | 1076 @DocsEditable |
| 1077 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Alter
nateNames |
| 1078 @deprecated // deprecated |
| 1011 static const int HRTF = 1; | 1079 static const int HRTF = 1; |
| 1012 | 1080 |
| 1013 @DomName('PannerNode.INVERSE_DISTANCE') | 1081 @DomName('PannerNode.INVERSE_DISTANCE') |
| 1014 @DocsEditable | 1082 @DocsEditable |
| 1083 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Alter
nateNames |
| 1084 @deprecated // deprecated |
| 1015 static const int INVERSE_DISTANCE = 1; | 1085 static const int INVERSE_DISTANCE = 1; |
| 1016 | 1086 |
| 1017 @DomName('PannerNode.LINEAR_DISTANCE') | 1087 @DomName('PannerNode.LINEAR_DISTANCE') |
| 1018 @DocsEditable | 1088 @DocsEditable |
| 1089 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Alter
nateNames |
| 1090 @deprecated // deprecated |
| 1019 static const int LINEAR_DISTANCE = 0; | 1091 static const int LINEAR_DISTANCE = 0; |
| 1020 | 1092 |
| 1021 @DomName('PannerNode.SOUNDFIELD') | 1093 @DomName('PannerNode.SOUNDFIELD') |
| 1022 @DocsEditable | 1094 @DocsEditable |
| 1095 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Alter
nateNames |
| 1096 @deprecated // deprecated |
| 1023 static const int SOUNDFIELD = 2; | 1097 static const int SOUNDFIELD = 2; |
| 1024 | 1098 |
| 1025 @DomName('PannerNode.coneInnerAngle') | 1099 @DomName('PannerNode.coneInnerAngle') |
| 1026 @DocsEditable | 1100 @DocsEditable |
| 1027 num get coneInnerAngle native "PannerNode_coneInnerAngle_Getter"; | 1101 num get coneInnerAngle native "PannerNode_coneInnerAngle_Getter"; |
| 1028 | 1102 |
| 1029 @DomName('PannerNode.coneInnerAngle') | 1103 @DomName('PannerNode.coneInnerAngle') |
| 1030 @DocsEditable | 1104 @DocsEditable |
| 1031 void set coneInnerAngle(num value) native "PannerNode_coneInnerAngle_Setter"; | 1105 void set coneInnerAngle(num value) native "PannerNode_coneInnerAngle_Setter"; |
| 1032 | 1106 |
| (...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1098 @DocsEditable | 1172 @DocsEditable |
| 1099 void setVelocity(num x, num y, num z) native "PannerNode_setVelocity_Callback"
; | 1173 void setVelocity(num x, num y, num z) native "PannerNode_setVelocity_Callback"
; |
| 1100 | 1174 |
| 1101 } | 1175 } |
| 1102 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1176 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
| 1103 // for details. All rights reserved. Use of this source code is governed by a | 1177 // for details. All rights reserved. Use of this source code is governed by a |
| 1104 // BSD-style license that can be found in the LICENSE file. | 1178 // BSD-style license that can be found in the LICENSE file. |
| 1105 | 1179 |
| 1106 | 1180 |
| 1107 @DomName('ScriptProcessorNode') | 1181 @DomName('ScriptProcessorNode') |
| 1182 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#ScriptP
rocessorNode |
| 1183 @Experimental |
| 1108 class ScriptProcessorNode extends AudioNode { | 1184 class ScriptProcessorNode extends AudioNode { |
| 1109 Stream<AudioProcessingEvent> _eventStream; | 1185 Stream<AudioProcessingEvent> _eventStream; |
| 1110 | 1186 |
| 1111 /** | 1187 /** |
| 1112 * Get a Stream that fires events when AudioProcessingEvents occur. | 1188 * Get a Stream that fires events when AudioProcessingEvents occur. |
| 1113 * This particular stream is special in that it only allows one listener to a | 1189 * This particular stream is special in that it only allows one listener to a |
| 1114 * given stream. Converting the returned Stream [asBroadcast] will likely ruin | 1190 * given stream. Converting the returned Stream [asBroadcast] will likely ruin |
| 1115 * the soft-real-time properties which which these events are fired and can | 1191 * the soft-real-time properties which which these events are fired and can |
| 1116 * be processed. | 1192 * be processed. |
| 1117 */ | 1193 */ |
| (...skipping 17 matching lines...) Expand all Loading... |
| 1135 | 1211 |
| 1136 | 1212 |
| 1137 ScriptProcessorNode.internal() : super.internal(); | 1213 ScriptProcessorNode.internal() : super.internal(); |
| 1138 | 1214 |
| 1139 @DomName('ScriptProcessorNode.bufferSize') | 1215 @DomName('ScriptProcessorNode.bufferSize') |
| 1140 @DocsEditable | 1216 @DocsEditable |
| 1141 int get bufferSize native "ScriptProcessorNode_bufferSize_Getter"; | 1217 int get bufferSize native "ScriptProcessorNode_bufferSize_Getter"; |
| 1142 | 1218 |
| 1143 @DomName('ScriptProcessorNode._setEventListener') | 1219 @DomName('ScriptProcessorNode._setEventListener') |
| 1144 @DocsEditable | 1220 @DocsEditable |
| 1221 @Experimental // non-standard |
| 1145 void _setEventListener(EventListener eventListener) native "ScriptProcessorNod
e__setEventListener_Callback"; | 1222 void _setEventListener(EventListener eventListener) native "ScriptProcessorNod
e__setEventListener_Callback"; |
| 1146 | 1223 |
| 1147 } | 1224 } |
| 1148 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1225 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 1149 // for details. All rights reserved. Use of this source code is governed by a | 1226 // for details. All rights reserved. Use of this source code is governed by a |
| 1150 // BSD-style license that can be found in the LICENSE file. | 1227 // BSD-style license that can be found in the LICENSE file. |
| 1151 | 1228 |
| 1152 // WARNING: Do not edit - generated code. | 1229 // WARNING: Do not edit - generated code. |
| 1153 | 1230 |
| 1154 | 1231 |
| 1155 @DocsEditable | 1232 @DocsEditable |
| 1156 @DomName('WaveShaperNode') | 1233 @DomName('WaveShaperNode') |
| 1234 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#dfn-Wav
eShaperNode |
| 1235 @Experimental |
| 1157 class WaveShaperNode extends AudioNode { | 1236 class WaveShaperNode extends AudioNode { |
| 1158 WaveShaperNode.internal() : super.internal(); | 1237 WaveShaperNode.internal() : super.internal(); |
| 1159 | 1238 |
| 1160 @DomName('WaveShaperNode.curve') | 1239 @DomName('WaveShaperNode.curve') |
| 1161 @DocsEditable | 1240 @DocsEditable |
| 1162 Float32List get curve native "WaveShaperNode_curve_Getter"; | 1241 Float32List get curve native "WaveShaperNode_curve_Getter"; |
| 1163 | 1242 |
| 1164 @DomName('WaveShaperNode.curve') | 1243 @DomName('WaveShaperNode.curve') |
| 1165 @DocsEditable | 1244 @DocsEditable |
| 1166 void set curve(Float32List value) native "WaveShaperNode_curve_Setter"; | 1245 void set curve(Float32List value) native "WaveShaperNode_curve_Setter"; |
| 1167 | 1246 |
| 1168 } | 1247 } |
| 1169 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1248 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 1170 // for details. All rights reserved. Use of this source code is governed by a | 1249 // for details. All rights reserved. Use of this source code is governed by a |
| 1171 // BSD-style license that can be found in the LICENSE file. | 1250 // BSD-style license that can be found in the LICENSE file. |
| 1172 | 1251 |
| 1173 // WARNING: Do not edit - generated code. | 1252 // WARNING: Do not edit - generated code. |
| 1174 | 1253 |
| 1175 | 1254 |
| 1176 @DocsEditable | 1255 @DocsEditable |
| 1177 @DomName('WaveTable') | 1256 @DomName('WaveTable') |
| 1257 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#WaveTab
le-section |
| 1258 @Experimental |
| 1178 class WaveTable extends NativeFieldWrapperClass1 { | 1259 class WaveTable extends NativeFieldWrapperClass1 { |
| 1179 WaveTable.internal(); | 1260 WaveTable.internal(); |
| 1180 | 1261 |
| 1181 } | 1262 } |
| OLD | NEW |