decodeAudioData method
- @DomName('AudioContext.decodeAudioData')
Source
@DomName('AudioContext.decodeAudioData') Future<AudioBuffer> decodeAudioData(ByteBuffer audioData, [AudioBufferCallback successCallback, AudioBufferCallback errorCallback]) { if (errorCallback != null) { return convertNativePromiseToDartFuture(_blink.BlinkAudioContext.instance .decodeAudioData_Callback_3_( this, audioData, successCallback, errorCallback)); } if (successCallback != null) { return convertNativePromiseToDartFuture(_blink.BlinkAudioContext.instance .decodeAudioData_Callback_2_(this, audioData, successCallback)); } return convertNativePromiseToDartFuture(_blink.BlinkAudioContext.instance .decodeAudioData_Callback_1_(this, audioData)); }
© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dartlang.org/stable/1.24.3/dart-web_audio/AudioContext/decodeAudioData.html