| 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:html'; | 5 import 'dart:html'; |
| 6 import 'dart:html_common'; | 6 import 'dart:html_common'; |
| 7 import 'dart:nativewrappers'; | 7 import 'dart:nativewrappers'; |
| 8 // DO NOT EDIT | 8 // DO NOT EDIT |
| 9 // Auto-generated dart:audio library. | 9 // Auto-generated dart:audio library. |
| 10 | 10 |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 54 @DomName('AnalyserNode.smoothingTimeConstant') | 54 @DomName('AnalyserNode.smoothingTimeConstant') |
| 55 @DocsEditable | 55 @DocsEditable |
| 56 num get smoothingTimeConstant native "AnalyserNode_smoothingTimeConstant_Gette
r"; | 56 num get smoothingTimeConstant native "AnalyserNode_smoothingTimeConstant_Gette
r"; |
| 57 | 57 |
| 58 @DomName('AnalyserNode.smoothingTimeConstant') | 58 @DomName('AnalyserNode.smoothingTimeConstant') |
| 59 @DocsEditable | 59 @DocsEditable |
| 60 void set smoothingTimeConstant(num value) native "AnalyserNode_smoothingTimeCo
nstant_Setter"; | 60 void set smoothingTimeConstant(num value) native "AnalyserNode_smoothingTimeCo
nstant_Setter"; |
| 61 | 61 |
| 62 @DomName('AnalyserNode.getByteFrequencyData') | 62 @DomName('AnalyserNode.getByteFrequencyData') |
| 63 @DocsEditable | 63 @DocsEditable |
| 64 void getByteFrequencyData(Uint8Array array) native "AnalyserNode_getByteFreque
ncyData_Callback"; | 64 void getByteFrequencyData(List<int> array) native "AnalyserNode_getByteFrequen
cyData_Callback"; |
| 65 | 65 |
| 66 @DomName('AnalyserNode.getByteTimeDomainData') | 66 @DomName('AnalyserNode.getByteTimeDomainData') |
| 67 @DocsEditable | 67 @DocsEditable |
| 68 void getByteTimeDomainData(Uint8Array array) native "AnalyserNode_getByteTimeD
omainData_Callback"; | 68 void getByteTimeDomainData(List<int> array) native "AnalyserNode_getByteTimeDo
mainData_Callback"; |
| 69 | 69 |
| 70 @DomName('AnalyserNode.getFloatFrequencyData') | 70 @DomName('AnalyserNode.getFloatFrequencyData') |
| 71 @DocsEditable | 71 @DocsEditable |
| 72 void getFloatFrequencyData(Float32Array array) native "AnalyserNode_getFloatFr
equencyData_Callback"; | 72 void getFloatFrequencyData(List<double> array) native "AnalyserNode_getFloatFr
equencyData_Callback"; |
| 73 | 73 |
| 74 } | 74 } |
| 75 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 75 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 76 // for details. All rights reserved. Use of this source code is governed by a | 76 // for details. All rights reserved. Use of this source code is governed by a |
| 77 // BSD-style license that can be found in the LICENSE file. | 77 // BSD-style license that can be found in the LICENSE file. |
| 78 | 78 |
| 79 // WARNING: Do not edit - generated code. | 79 // WARNING: Do not edit - generated code. |
| 80 | 80 |
| 81 | 81 |
| 82 @DocsEditable | 82 @DocsEditable |
| (...skipping 20 matching lines...) Expand all Loading... |
| 103 @DomName('AudioBuffer.numberOfChannels') | 103 @DomName('AudioBuffer.numberOfChannels') |
| 104 @DocsEditable | 104 @DocsEditable |
| 105 int get numberOfChannels native "AudioBuffer_numberOfChannels_Getter"; | 105 int get numberOfChannels native "AudioBuffer_numberOfChannels_Getter"; |
| 106 | 106 |
| 107 @DomName('AudioBuffer.sampleRate') | 107 @DomName('AudioBuffer.sampleRate') |
| 108 @DocsEditable | 108 @DocsEditable |
| 109 num get sampleRate native "AudioBuffer_sampleRate_Getter"; | 109 num get sampleRate native "AudioBuffer_sampleRate_Getter"; |
| 110 | 110 |
| 111 @DomName('AudioBuffer.getChannelData') | 111 @DomName('AudioBuffer.getChannelData') |
| 112 @DocsEditable | 112 @DocsEditable |
| 113 Float32Array getChannelData(int channelIndex) native "AudioBuffer_getChannelDa
ta_Callback"; | 113 List<double> getChannelData(int channelIndex) native "AudioBuffer_getChannelDa
ta_Callback"; |
| 114 | 114 |
| 115 } | 115 } |
| 116 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 116 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 117 // for details. All rights reserved. Use of this source code is governed by a | 117 // for details. All rights reserved. Use of this source code is governed by a |
| 118 // BSD-style license that can be found in the LICENSE file. | 118 // BSD-style license that can be found in the LICENSE file. |
| 119 | 119 |
| 120 // WARNING: Do not edit - generated code. | 120 // WARNING: Do not edit - generated code. |
| 121 | 121 |
| 122 | 122 |
| 123 typedef void AudioBufferCallback(AudioBuffer audioBuffer); | 123 typedef void AudioBufferCallback(AudioBuffer audioBuffer); |
| (...skipping 259 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 383 @DomName('AudioContext._createScriptProcessor_3') | 383 @DomName('AudioContext._createScriptProcessor_3') |
| 384 @DocsEditable | 384 @DocsEditable |
| 385 ScriptProcessorNode _createScriptProcessor_3(bufferSize) native "AudioContext_
_createScriptProcessor_3_Callback"; | 385 ScriptProcessorNode _createScriptProcessor_3(bufferSize) native "AudioContext_
_createScriptProcessor_3_Callback"; |
| 386 | 386 |
| 387 @DomName('AudioContext.createWaveShaper') | 387 @DomName('AudioContext.createWaveShaper') |
| 388 @DocsEditable | 388 @DocsEditable |
| 389 WaveShaperNode createWaveShaper() native "AudioContext_createWaveShaper_Callba
ck"; | 389 WaveShaperNode createWaveShaper() native "AudioContext_createWaveShaper_Callba
ck"; |
| 390 | 390 |
| 391 @DomName('AudioContext.createWaveTable') | 391 @DomName('AudioContext.createWaveTable') |
| 392 @DocsEditable | 392 @DocsEditable |
| 393 WaveTable createWaveTable(Float32Array real, Float32Array imag) native "AudioC
ontext_createWaveTable_Callback"; | 393 WaveTable createWaveTable(List<double> real, List<double> imag) native "AudioC
ontext_createWaveTable_Callback"; |
| 394 | 394 |
| 395 @DomName('AudioContext.decodeAudioData') | 395 @DomName('AudioContext.decodeAudioData') |
| 396 @DocsEditable | 396 @DocsEditable |
| 397 void decodeAudioData(ArrayBuffer audioData, AudioBufferCallback successCallbac
k, [AudioBufferCallback errorCallback]) native "AudioContext_decodeAudioData_Cal
lback"; | 397 void decodeAudioData(ArrayBuffer audioData, AudioBufferCallback successCallbac
k, [AudioBufferCallback errorCallback]) native "AudioContext_decodeAudioData_Cal
lback"; |
| 398 | 398 |
| 399 @DomName('AudioContext.startRendering') | 399 @DomName('AudioContext.startRendering') |
| 400 @DocsEditable | 400 @DocsEditable |
| 401 void startRendering() native "AudioContext_startRendering_Callback"; | 401 void startRendering() native "AudioContext_startRendering_Callback"; |
| 402 | 402 |
| 403 @DomName('AudioContext.oncomplete') | 403 @DomName('AudioContext.oncomplete') |
| (...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 604 @DomName('AudioParam.setTargetAtTime') | 604 @DomName('AudioParam.setTargetAtTime') |
| 605 @DocsEditable | 605 @DocsEditable |
| 606 void setTargetAtTime(num target, num time, num timeConstant) native "AudioPara
m_setTargetAtTime_Callback"; | 606 void setTargetAtTime(num target, num time, num timeConstant) native "AudioPara
m_setTargetAtTime_Callback"; |
| 607 | 607 |
| 608 @DomName('AudioParam.setValueAtTime') | 608 @DomName('AudioParam.setValueAtTime') |
| 609 @DocsEditable | 609 @DocsEditable |
| 610 void setValueAtTime(num value, num time) native "AudioParam_setValueAtTime_Cal
lback"; | 610 void setValueAtTime(num value, num time) native "AudioParam_setValueAtTime_Cal
lback"; |
| 611 | 611 |
| 612 @DomName('AudioParam.setValueCurveAtTime') | 612 @DomName('AudioParam.setValueCurveAtTime') |
| 613 @DocsEditable | 613 @DocsEditable |
| 614 void setValueCurveAtTime(Float32Array values, num time, num duration) native "
AudioParam_setValueCurveAtTime_Callback"; | 614 void setValueCurveAtTime(List<double> values, num time, num duration) native "
AudioParam_setValueCurveAtTime_Callback"; |
| 615 | 615 |
| 616 } | 616 } |
| 617 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 617 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 618 // for details. All rights reserved. Use of this source code is governed by a | 618 // for details. All rights reserved. Use of this source code is governed by a |
| 619 // BSD-style license that can be found in the LICENSE file. | 619 // BSD-style license that can be found in the LICENSE file. |
| 620 | 620 |
| 621 // WARNING: Do not edit - generated code. | 621 // WARNING: Do not edit - generated code. |
| 622 | 622 |
| 623 | 623 |
| 624 @DocsEditable | 624 @DocsEditable |
| (...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 695 @DomName('BiquadFilterNode.type') | 695 @DomName('BiquadFilterNode.type') |
| 696 @DocsEditable | 696 @DocsEditable |
| 697 String get type native "BiquadFilterNode_type_Getter"; | 697 String get type native "BiquadFilterNode_type_Getter"; |
| 698 | 698 |
| 699 @DomName('BiquadFilterNode.type') | 699 @DomName('BiquadFilterNode.type') |
| 700 @DocsEditable | 700 @DocsEditable |
| 701 void set type(String value) native "BiquadFilterNode_type_Setter"; | 701 void set type(String value) native "BiquadFilterNode_type_Setter"; |
| 702 | 702 |
| 703 @DomName('BiquadFilterNode.getFrequencyResponse') | 703 @DomName('BiquadFilterNode.getFrequencyResponse') |
| 704 @DocsEditable | 704 @DocsEditable |
| 705 void getFrequencyResponse(Float32Array frequencyHz, Float32Array magResponse,
Float32Array phaseResponse) native "BiquadFilterNode_getFrequencyResponse_Callba
ck"; | 705 void getFrequencyResponse(List<double> frequencyHz, List<double> magResponse,
List<double> phaseResponse) native "BiquadFilterNode_getFrequencyResponse_Callba
ck"; |
| 706 | 706 |
| 707 } | 707 } |
| 708 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 708 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 709 // for details. All rights reserved. Use of this source code is governed by a | 709 // for details. All rights reserved. Use of this source code is governed by a |
| 710 // BSD-style license that can be found in the LICENSE file. | 710 // BSD-style license that can be found in the LICENSE file. |
| 711 | 711 |
| 712 // WARNING: Do not edit - generated code. | 712 // WARNING: Do not edit - generated code. |
| 713 | 713 |
| 714 | 714 |
| 715 @DocsEditable | 715 @DocsEditable |
| (...skipping 393 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1109 // WARNING: Do not edit - generated code. | 1109 // WARNING: Do not edit - generated code. |
| 1110 | 1110 |
| 1111 | 1111 |
| 1112 @DocsEditable | 1112 @DocsEditable |
| 1113 @DomName('WaveShaperNode') | 1113 @DomName('WaveShaperNode') |
| 1114 class WaveShaperNode extends AudioNode { | 1114 class WaveShaperNode extends AudioNode { |
| 1115 WaveShaperNode.internal() : super.internal(); | 1115 WaveShaperNode.internal() : super.internal(); |
| 1116 | 1116 |
| 1117 @DomName('WaveShaperNode.curve') | 1117 @DomName('WaveShaperNode.curve') |
| 1118 @DocsEditable | 1118 @DocsEditable |
| 1119 Float32Array get curve native "WaveShaperNode_curve_Getter"; | 1119 List<double> get curve native "WaveShaperNode_curve_Getter"; |
| 1120 | 1120 |
| 1121 @DomName('WaveShaperNode.curve') | 1121 @DomName('WaveShaperNode.curve') |
| 1122 @DocsEditable | 1122 @DocsEditable |
| 1123 void set curve(Float32Array value) native "WaveShaperNode_curve_Setter"; | 1123 void set curve(List<double> value) native "WaveShaperNode_curve_Setter"; |
| 1124 | 1124 |
| 1125 } | 1125 } |
| 1126 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 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 | 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. | 1128 // BSD-style license that can be found in the LICENSE file. |
| 1129 | 1129 |
| 1130 // WARNING: Do not edit - generated code. | 1130 // WARNING: Do not edit - generated code. |
| 1131 | 1131 |
| 1132 | 1132 |
| 1133 @DocsEditable | 1133 @DocsEditable |
| 1134 @DomName('WaveTable') | 1134 @DomName('WaveTable') |
| 1135 class WaveTable extends NativeFieldWrapperClass1 { | 1135 class WaveTable extends NativeFieldWrapperClass1 { |
| 1136 WaveTable.internal(); | 1136 WaveTable.internal(); |
| 1137 | 1137 |
| 1138 } | 1138 } |
| OLD | NEW |