| 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' hide deprecated; | 5 import 'dart:_collection-dev' hide deprecated; |
| 6 import 'dart:html'; | 6 import 'dart:html'; |
| 7 import 'dart:html_common'; | 7 import 'dart:html_common'; |
| 8 import 'dart:typed_data'; | 8 import 'dart:typed_data'; |
| 9 import 'dart:_js_helper' show Creates, JSName, Returns, convertDartClosureToJS; | 9 import 'dart:_js_helper' show Creates, JSName, Returns, convertDartClosureToJS; |
| 10 import 'dart:_foreign_helper' show JS; | 10 import 'dart:_foreign_helper' show JS; |
| (...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 142 void stop(num when) { | 142 void stop(num when) { |
| 143 if (JS('bool', '!!#.stop', this)) { | 143 if (JS('bool', '!!#.stop', this)) { |
| 144 JS('void', '#.stop(#)', this, when); | 144 JS('void', '#.stop(#)', this, when); |
| 145 } else { | 145 } else { |
| 146 JS('void', '#.noteOff(#)', this, when); | 146 JS('void', '#.noteOff(#)', this, when); |
| 147 } | 147 } |
| 148 } | 148 } |
| 149 // To suppress missing implicit constructor warnings. | 149 // To suppress missing implicit constructor warnings. |
| 150 factory AudioBufferSourceNode._() { throw new UnsupportedError("Not supported"
); } | 150 factory AudioBufferSourceNode._() { throw new UnsupportedError("Not supported"
); } |
| 151 | 151 |
| 152 @DomName('AudioBufferSourceNode.endedEvent') |
| 153 @DocsEditable() |
| 154 @Experimental() // untriaged |
| 155 static const EventStreamProvider<Event> endedEvent = const EventStreamProvider
<Event>('ended'); |
| 156 |
| 152 @DomName('AudioBufferSourceNode.FINISHED_STATE') | 157 @DomName('AudioBufferSourceNode.FINISHED_STATE') |
| 153 @DocsEditable() | 158 @DocsEditable() |
| 154 static const int FINISHED_STATE = 3; | 159 static const int FINISHED_STATE = 3; |
| 155 | 160 |
| 156 @DomName('AudioBufferSourceNode.PLAYING_STATE') | 161 @DomName('AudioBufferSourceNode.PLAYING_STATE') |
| 157 @DocsEditable() | 162 @DocsEditable() |
| 158 static const int PLAYING_STATE = 2; | 163 static const int PLAYING_STATE = 2; |
| 159 | 164 |
| 160 @DomName('AudioBufferSourceNode.SCHEDULED_STATE') | 165 @DomName('AudioBufferSourceNode.SCHEDULED_STATE') |
| 161 @DocsEditable() | 166 @DocsEditable() |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 198 void noteGrainOn(num when, num grainOffset, num grainDuration) native; | 203 void noteGrainOn(num when, num grainOffset, num grainDuration) native; |
| 199 | 204 |
| 200 @DomName('AudioBufferSourceNode.noteOff') | 205 @DomName('AudioBufferSourceNode.noteOff') |
| 201 @DocsEditable() | 206 @DocsEditable() |
| 202 void noteOff(num when) native; | 207 void noteOff(num when) native; |
| 203 | 208 |
| 204 @DomName('AudioBufferSourceNode.noteOn') | 209 @DomName('AudioBufferSourceNode.noteOn') |
| 205 @DocsEditable() | 210 @DocsEditable() |
| 206 void noteOn(num when) native; | 211 void noteOn(num when) native; |
| 207 | 212 |
| 213 @DomName('AudioBufferSourceNode.onended') |
| 214 @DocsEditable() |
| 215 @Experimental() // untriaged |
| 216 Stream<Event> get onEnded => endedEvent.forTarget(this); |
| 217 |
| 208 } | 218 } |
| 209 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 219 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 210 // for details. All rights reserved. Use of this source code is governed by a | 220 // for details. All rights reserved. Use of this source code is governed by a |
| 211 // BSD-style license that can be found in the LICENSE file. | 221 // BSD-style license that can be found in the LICENSE file. |
| 212 | 222 |
| 213 | 223 |
| 214 @DomName('AudioContext') | 224 @DomName('AudioContext') |
| 215 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioCo
ntext-section | 225 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioCo
ntext-section |
| 216 @Experimental() | 226 @Experimental() |
| 217 class AudioContext extends EventTarget native "AudioContext" { | 227 class AudioContext extends EventTarget native "AudioContext" { |
| (...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 311 MediaStreamAudioSourceNode createMediaStreamSource(MediaStream mediaStream) na
tive; | 321 MediaStreamAudioSourceNode createMediaStreamSource(MediaStream mediaStream) na
tive; |
| 312 | 322 |
| 313 @DomName('AudioContext.createOscillator') | 323 @DomName('AudioContext.createOscillator') |
| 314 @DocsEditable() | 324 @DocsEditable() |
| 315 OscillatorNode createOscillator() native; | 325 OscillatorNode createOscillator() native; |
| 316 | 326 |
| 317 @DomName('AudioContext.createPanner') | 327 @DomName('AudioContext.createPanner') |
| 318 @DocsEditable() | 328 @DocsEditable() |
| 319 PannerNode createPanner() native; | 329 PannerNode createPanner() native; |
| 320 | 330 |
| 331 @DomName('AudioContext.createPeriodicWave') |
| 332 @DocsEditable() |
| 333 @Experimental() // untriaged |
| 334 PeriodicWave createPeriodicWave(Float32List real, Float32List imag) native; |
| 335 |
| 321 @DomName('AudioContext.createWaveShaper') | 336 @DomName('AudioContext.createWaveShaper') |
| 322 @DocsEditable() | 337 @DocsEditable() |
| 323 WaveShaperNode createWaveShaper() native; | 338 WaveShaperNode createWaveShaper() native; |
| 324 | 339 |
| 325 @DomName('AudioContext.createWaveTable') | |
| 326 @DocsEditable() | |
| 327 WaveTable createWaveTable(Float32List real, Float32List imag) native; | |
| 328 | |
| 329 @JSName('decodeAudioData') | 340 @JSName('decodeAudioData') |
| 330 @DomName('AudioContext.decodeAudioData') | 341 @DomName('AudioContext.decodeAudioData') |
| 331 @DocsEditable() | 342 @DocsEditable() |
| 332 void _decodeAudioData(ByteBuffer audioData, AudioBufferCallback successCallbac
k, [AudioBufferCallback errorCallback]) native; | 343 void _decodeAudioData(ByteBuffer audioData, AudioBufferCallback successCallbac
k, [AudioBufferCallback errorCallback]) native; |
| 333 | 344 |
| 334 @JSName('decodeAudioData') | 345 @JSName('decodeAudioData') |
| 335 @DomName('AudioContext.decodeAudioData') | 346 @DomName('AudioContext.decodeAudioData') |
| 336 @DocsEditable() | 347 @DocsEditable() |
| 337 Future<AudioBuffer> decodeAudioData(ByteBuffer audioData) { | 348 Future<AudioBuffer> decodeAudioData(ByteBuffer audioData) { |
| 338 var completer = new Completer<AudioBuffer>(); | 349 var completer = new Completer<AudioBuffer>(); |
| (...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 454 final AudioContext context; | 465 final AudioContext context; |
| 455 | 466 |
| 456 @DomName('AudioNode.numberOfInputs') | 467 @DomName('AudioNode.numberOfInputs') |
| 457 @DocsEditable() | 468 @DocsEditable() |
| 458 final int numberOfInputs; | 469 final int numberOfInputs; |
| 459 | 470 |
| 460 @DomName('AudioNode.numberOfOutputs') | 471 @DomName('AudioNode.numberOfOutputs') |
| 461 @DocsEditable() | 472 @DocsEditable() |
| 462 final int numberOfOutputs; | 473 final int numberOfOutputs; |
| 463 | 474 |
| 464 @JSName('addEventListener') | |
| 465 @DomName('AudioNode.addEventListener') | |
| 466 @DocsEditable() | |
| 467 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu
re]) native; | |
| 468 | |
| 469 @JSName('connect') | 475 @JSName('connect') |
| 470 @DomName('AudioNode.connect') | 476 @DomName('AudioNode.connect') |
| 471 @DocsEditable() | 477 @DocsEditable() |
| 472 void $dom_connect(destination, int output, [int input]) native; | 478 void $dom_connect(destination, int output, [int input]) native; |
| 473 | 479 |
| 474 @DomName('AudioNode.disconnect') | 480 @DomName('AudioNode.disconnect') |
| 475 @DocsEditable() | 481 @DocsEditable() |
| 476 void disconnect(int output) native; | 482 void disconnect(int output) native; |
| 477 | 483 |
| 478 @DomName('AudioNode.dispatchEvent') | |
| 479 @DocsEditable() | |
| 480 bool dispatchEvent(Event event) native; | |
| 481 | |
| 482 @JSName('removeEventListener') | |
| 483 @DomName('AudioNode.removeEventListener') | |
| 484 @DocsEditable() | |
| 485 void $dom_removeEventListener(String type, EventListener listener, [bool useCa
pture]) native; | |
| 486 | |
| 487 @DomName('AudioNode.connect') | 484 @DomName('AudioNode.connect') |
| 488 void connectNode(AudioNode destination, [int output = 0, int input = 0]) => | 485 void connectNode(AudioNode destination, [int output = 0, int input = 0]) => |
| 489 $dom_connect(destination, output, input); | 486 $dom_connect(destination, output, input); |
| 490 | 487 |
| 491 @DomName('AudioNode.connect') | 488 @DomName('AudioNode.connect') |
| 492 void connectParam(AudioParam destination, [int output = 0]) => | 489 void connectParam(AudioParam destination, [int output = 0]) => |
| 493 $dom_connect(destination, output); | 490 $dom_connect(destination, output); |
| 494 } | 491 } |
| 495 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 492 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 496 // for details. All rights reserved. Use of this source code is governed by a | 493 // for details. All rights reserved. Use of this source code is governed by a |
| (...skipping 299 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 796 } | 793 } |
| 797 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 794 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 798 // for details. All rights reserved. Use of this source code is governed by a | 795 // for details. All rights reserved. Use of this source code is governed by a |
| 799 // BSD-style license that can be found in the LICENSE file. | 796 // BSD-style license that can be found in the LICENSE file. |
| 800 | 797 |
| 801 | 798 |
| 802 @DocsEditable() | 799 @DocsEditable() |
| 803 @DomName('MediaStreamAudioDestinationNode') | 800 @DomName('MediaStreamAudioDestinationNode') |
| 804 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#MediaSt
reamAudioDestinationNode | 801 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#MediaSt
reamAudioDestinationNode |
| 805 @Experimental() | 802 @Experimental() |
| 806 class MediaStreamAudioDestinationNode extends AudioSourceNode native "MediaStrea
mAudioDestinationNode" { | 803 class MediaStreamAudioDestinationNode extends AudioNode native "MediaStreamAudio
DestinationNode" { |
| 807 // To suppress missing implicit constructor warnings. | 804 // To suppress missing implicit constructor warnings. |
| 808 factory MediaStreamAudioDestinationNode._() { throw new UnsupportedError("Not
supported"); } | 805 factory MediaStreamAudioDestinationNode._() { throw new UnsupportedError("Not
supported"); } |
| 809 | 806 |
| 810 @DomName('MediaStreamAudioDestinationNode.stream') | 807 @DomName('MediaStreamAudioDestinationNode.stream') |
| 811 @DocsEditable() | 808 @DocsEditable() |
| 812 final MediaStream stream; | 809 final MediaStream stream; |
| 813 } | 810 } |
| 814 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 811 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 815 // for details. All rights reserved. Use of this source code is governed by a | 812 // for details. All rights reserved. Use of this source code is governed by a |
| 816 // BSD-style license that can be found in the LICENSE file. | 813 // BSD-style license that can be found in the LICENSE file. |
| (...skipping 30 matching lines...) Expand all Loading... |
| 847 } | 844 } |
| 848 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 845 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 849 // for details. All rights reserved. Use of this source code is governed by a | 846 // for details. All rights reserved. Use of this source code is governed by a |
| 850 // BSD-style license that can be found in the LICENSE file. | 847 // BSD-style license that can be found in the LICENSE file. |
| 851 | 848 |
| 852 | 849 |
| 853 @DocsEditable() | 850 @DocsEditable() |
| 854 @DomName('OfflineAudioContext') | 851 @DomName('OfflineAudioContext') |
| 855 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Offline
AudioContext-section | 852 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Offline
AudioContext-section |
| 856 @Experimental() | 853 @Experimental() |
| 857 class OfflineAudioContext extends AudioContext implements EventTarget native "Of
flineAudioContext" { | 854 class OfflineAudioContext extends AudioContext native "OfflineAudioContext" { |
| 858 // To suppress missing implicit constructor warnings. | 855 // To suppress missing implicit constructor warnings. |
| 859 factory OfflineAudioContext._() { throw new UnsupportedError("Not supported");
} | 856 factory OfflineAudioContext._() { throw new UnsupportedError("Not supported");
} |
| 860 | 857 |
| 861 @DomName('OfflineAudioContext.OfflineAudioContext') | 858 @DomName('OfflineAudioContext.OfflineAudioContext') |
| 862 @DocsEditable() | 859 @DocsEditable() |
| 863 factory OfflineAudioContext(int numberOfChannels, int numberOfFrames, num samp
leRate) { | 860 factory OfflineAudioContext(int numberOfChannels, int numberOfFrames, num samp
leRate) { |
| 864 return OfflineAudioContext._create_1(numberOfChannels, numberOfFrames, sampl
eRate); | 861 return OfflineAudioContext._create_1(numberOfChannels, numberOfFrames, sampl
eRate); |
| 865 } | 862 } |
| 866 static OfflineAudioContext _create_1(numberOfChannels, numberOfFrames, sampleR
ate) => JS('OfflineAudioContext', 'new OfflineAudioContext(#,#,#)', numberOfChan
nels, numberOfFrames, sampleRate); | 863 static OfflineAudioContext _create_1(numberOfChannels, numberOfFrames, sampleR
ate) => JS('OfflineAudioContext', 'new OfflineAudioContext(#,#,#)', numberOfChan
nels, numberOfFrames, sampleRate); |
| 867 } | 864 } |
| 868 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 865 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 869 // for details. All rights reserved. Use of this source code is governed by a | 866 // for details. All rights reserved. Use of this source code is governed by a |
| 870 // BSD-style license that can be found in the LICENSE file. | 867 // BSD-style license that can be found in the LICENSE file. |
| 871 | 868 |
| 872 | 869 |
| 873 @DocsEditable() | 870 @DocsEditable() |
| 874 @DomName('OscillatorNode') | 871 @DomName('OscillatorNode') |
| 875 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#dfn-Osc
illatorNode | 872 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#dfn-Osc
illatorNode |
| 876 @Experimental() | 873 @Experimental() |
| 877 class OscillatorNode extends AudioSourceNode native "OscillatorNode,Oscillator"
{ | 874 class OscillatorNode extends AudioSourceNode native "OscillatorNode,Oscillator"
{ |
| 878 // To suppress missing implicit constructor warnings. | 875 // To suppress missing implicit constructor warnings. |
| 879 factory OscillatorNode._() { throw new UnsupportedError("Not supported"); } | 876 factory OscillatorNode._() { throw new UnsupportedError("Not supported"); } |
| 880 | 877 |
| 878 @DomName('OscillatorNode.endedEvent') |
| 879 @DocsEditable() |
| 880 @Experimental() // untriaged |
| 881 static const EventStreamProvider<Event> endedEvent = const EventStreamProvider
<Event>('ended'); |
| 882 |
| 881 @DomName('OscillatorNode.CUSTOM') | 883 @DomName('OscillatorNode.CUSTOM') |
| 882 @DocsEditable() | 884 @DocsEditable() |
| 883 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Alter
nateNames | 885 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Alter
nateNames |
| 884 @deprecated // deprecated | 886 @deprecated // deprecated |
| 885 static const int CUSTOM = 4; | 887 static const int CUSTOM = 4; |
| 886 | 888 |
| 887 @DomName('OscillatorNode.FINISHED_STATE') | 889 @DomName('OscillatorNode.FINISHED_STATE') |
| 888 @DocsEditable() | 890 @DocsEditable() |
| 889 static const int FINISHED_STATE = 3; | 891 static const int FINISHED_STATE = 3; |
| 890 | 892 |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 941 String type; | 943 String type; |
| 942 | 944 |
| 943 @DomName('OscillatorNode.noteOff') | 945 @DomName('OscillatorNode.noteOff') |
| 944 @DocsEditable() | 946 @DocsEditable() |
| 945 void noteOff(num when) native; | 947 void noteOff(num when) native; |
| 946 | 948 |
| 947 @DomName('OscillatorNode.noteOn') | 949 @DomName('OscillatorNode.noteOn') |
| 948 @DocsEditable() | 950 @DocsEditable() |
| 949 void noteOn(num when) native; | 951 void noteOn(num when) native; |
| 950 | 952 |
| 951 @DomName('OscillatorNode.setWaveTable') | 953 @DomName('OscillatorNode.setPeriodicWave') |
| 952 @DocsEditable() | 954 @DocsEditable() |
| 953 void setWaveTable(WaveTable waveTable) native; | 955 @Experimental() // untriaged |
| 956 void setPeriodicWave(PeriodicWave periodicWave) native; |
| 954 | 957 |
| 955 @DomName('OscillatorNode.start') | 958 @DomName('OscillatorNode.start') |
| 956 @DocsEditable() | 959 @DocsEditable() |
| 957 void start(num when) native; | 960 void start(num when) native; |
| 958 | 961 |
| 959 @DomName('OscillatorNode.stop') | 962 @DomName('OscillatorNode.stop') |
| 960 @DocsEditable() | 963 @DocsEditable() |
| 961 void stop(num when) native; | 964 void stop(num when) native; |
| 965 |
| 966 @DomName('OscillatorNode.onended') |
| 967 @DocsEditable() |
| 968 @Experimental() // untriaged |
| 969 Stream<Event> get onEnded => endedEvent.forTarget(this); |
| 962 } | 970 } |
| 963 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 971 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 964 // for details. All rights reserved. Use of this source code is governed by a | 972 // for details. All rights reserved. Use of this source code is governed by a |
| 965 // BSD-style license that can be found in the LICENSE file. | 973 // BSD-style license that can be found in the LICENSE file. |
| 966 | 974 |
| 967 | 975 |
| 968 @DocsEditable() | 976 @DocsEditable() |
| 969 @DomName('PannerNode') | 977 @DomName('PannerNode') |
| 970 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#PannerN
ode | 978 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#PannerN
ode |
| 971 @Experimental() | 979 @Experimental() |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1046 void setOrientation(num x, num y, num z) native; | 1054 void setOrientation(num x, num y, num z) native; |
| 1047 | 1055 |
| 1048 @DomName('PannerNode.setPosition') | 1056 @DomName('PannerNode.setPosition') |
| 1049 @DocsEditable() | 1057 @DocsEditable() |
| 1050 void setPosition(num x, num y, num z) native; | 1058 void setPosition(num x, num y, num z) native; |
| 1051 | 1059 |
| 1052 @DomName('PannerNode.setVelocity') | 1060 @DomName('PannerNode.setVelocity') |
| 1053 @DocsEditable() | 1061 @DocsEditable() |
| 1054 void setVelocity(num x, num y, num z) native; | 1062 void setVelocity(num x, num y, num z) native; |
| 1055 } | 1063 } |
| 1064 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 1065 // for details. All rights reserved. Use of this source code is governed by a |
| 1066 // BSD-style license that can be found in the LICENSE file. |
| 1067 |
| 1068 |
| 1069 @DocsEditable() |
| 1070 @DomName('PeriodicWave') |
| 1071 @Experimental() // untriaged |
| 1072 class PeriodicWave extends Interceptor native "PeriodicWave" { |
| 1073 } |
| 1056 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1074 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
| 1057 // 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 |
| 1058 // BSD-style license that can be found in the LICENSE file. | 1076 // BSD-style license that can be found in the LICENSE file. |
| 1059 | 1077 |
| 1060 | 1078 |
| 1061 @DomName('ScriptProcessorNode') | 1079 @DomName('ScriptProcessorNode') |
| 1062 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#ScriptP
rocessorNode | 1080 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#ScriptP
rocessorNode |
| 1063 @Experimental() | 1081 @Experimental() |
| 1064 class ScriptProcessorNode extends AudioNode native "ScriptProcessorNode,JavaScri
ptAudioNode" { | 1082 class ScriptProcessorNode extends AudioNode native "ScriptProcessorNode,JavaScri
ptAudioNode" { |
| 1065 Stream<AudioProcessingEvent> _eventStream; | 1083 Stream<AudioProcessingEvent> _eventStream; |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1116 factory WaveShaperNode._() { throw new UnsupportedError("Not supported"); } | 1134 factory WaveShaperNode._() { throw new UnsupportedError("Not supported"); } |
| 1117 | 1135 |
| 1118 @DomName('WaveShaperNode.curve') | 1136 @DomName('WaveShaperNode.curve') |
| 1119 @DocsEditable() | 1137 @DocsEditable() |
| 1120 Float32List curve; | 1138 Float32List curve; |
| 1121 | 1139 |
| 1122 @DomName('WaveShaperNode.oversample') | 1140 @DomName('WaveShaperNode.oversample') |
| 1123 @DocsEditable() | 1141 @DocsEditable() |
| 1124 String oversample; | 1142 String oversample; |
| 1125 } | 1143 } |
| 1126 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
| 1127 // for details. All rights reserved. Use of this source code is governed by a | |
| 1128 // BSD-style license that can be found in the LICENSE file. | |
| 1129 | |
| 1130 | |
| 1131 @DocsEditable() | |
| 1132 @DomName('WaveTable') | |
| 1133 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#WaveTab
le-section | |
| 1134 @Experimental() | |
| 1135 class WaveTable extends Interceptor native "WaveTable" { | |
| 1136 } | |
| OLD | NEW |