| Index: sdk/lib/web_audio/dart2js/web_audio_dart2js.dart
|
| diff --git a/sdk/lib/web_audio/dart2js/web_audio_dart2js.dart b/sdk/lib/web_audio/dart2js/web_audio_dart2js.dart
|
| index 13d8b3645d7625c5fcef55be734e8ccd5602da34..a5ac238a126471d10daf43881f770d293ca103eb 100644
|
| --- a/sdk/lib/web_audio/dart2js/web_audio_dart2js.dart
|
| +++ b/sdk/lib/web_audio/dart2js/web_audio_dart2js.dart
|
| @@ -44,15 +44,15 @@ class AnalyserNode extends AudioNode native "*AnalyserNode" {
|
|
|
| @DomName('AnalyserNode.getByteFrequencyData')
|
| @DocsEditable
|
| - void getByteFrequencyData(Uint8Array array) native;
|
| + void getByteFrequencyData(Uint8List array) native;
|
|
|
| @DomName('AnalyserNode.getByteTimeDomainData')
|
| @DocsEditable
|
| - void getByteTimeDomainData(Uint8Array array) native;
|
| + void getByteTimeDomainData(Uint8List array) native;
|
|
|
| @DomName('AnalyserNode.getFloatFrequencyData')
|
| @DocsEditable
|
| - void getFloatFrequencyData(Float32Array array) native;
|
| + void getFloatFrequencyData(Float32List array) native;
|
| }
|
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| @@ -85,8 +85,8 @@ class AudioBuffer native "*AudioBuffer" {
|
|
|
| @DomName('AudioBuffer.getChannelData')
|
| @DocsEditable
|
| - @Returns('Float32Array')
|
| - @Creates('Float32Array')
|
| + @Returns('Float32List')
|
| + @Creates('Float32List')
|
| List<double> getChannelData(int channelIndex) native;
|
| }
|
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| @@ -266,7 +266,7 @@ class AudioContext extends EventTarget native "*AudioContext" {
|
|
|
| @DomName('AudioContext.createWaveTable')
|
| @DocsEditable
|
| - WaveTable createWaveTable(Float32Array real, Float32Array imag) native;
|
| + WaveTable createWaveTable(Float32List real, Float32List imag) native;
|
|
|
| @DomName('AudioContext.decodeAudioData')
|
| @DocsEditable
|
| @@ -454,7 +454,7 @@ class AudioParam native "*AudioParam" {
|
|
|
| @DomName('AudioParam.setValueCurveAtTime')
|
| @DocsEditable
|
| - void setValueCurveAtTime(Float32Array values, num time, num duration) native;
|
| + void setValueCurveAtTime(Float32List values, num time, num duration) native;
|
| }
|
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| @@ -529,7 +529,7 @@ class BiquadFilterNode extends AudioNode native "*BiquadFilterNode" {
|
|
|
| @DomName('BiquadFilterNode.getFrequencyResponse')
|
| @DocsEditable
|
| - void getFrequencyResponse(Float32Array frequencyHz, Float32Array magResponse, Float32Array phaseResponse) native;
|
| + void getFrequencyResponse(Float32List frequencyHz, Float32List magResponse, Float32List phaseResponse) native;
|
| }
|
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| @@ -837,8 +837,8 @@ class WaveShaperNode extends AudioNode native "*WaveShaperNode" {
|
|
|
| @DomName('WaveShaperNode.curve')
|
| @DocsEditable
|
| - @Returns('Float32Array')
|
| - @Creates('Float32Array')
|
| + @Returns('Float32List')
|
| + @Creates('Float32List')
|
| List<double> curve;
|
| }
|
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
|
|