Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(537)

Unified Diff: sdk/lib/web_audio/dart2js/web_audio_dart2js.dart

Issue 12580012: Patchable version of 12929005 (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sdk/lib/typeddata/dartium/typeddata_dartium.dart ('k') | tests/html/typed_arrays_1_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 890206960df9096fb37c24ccfabaebd6517c422d..81058297b994fd0069f9470e03241eade73447c7 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
@@ -269,7 +269,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
@@ -457,7 +457,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
@@ -532,7 +532,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
@@ -868,8 +868,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
« no previous file with comments | « sdk/lib/typeddata/dartium/typeddata_dartium.dart ('k') | tests/html/typed_arrays_1_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698