decodeAudioData method
Future<AudioBuffer>
decodeAudioData(
- ByteBuffer audioData, [
- DecodeSuccessCallback? successCallback,
- DecodeErrorCallback? errorCallback
Implementation
Future<AudioBuffer> decodeAudioData(ByteBuffer audioData,
[DecodeSuccessCallback? successCallback,
DecodeErrorCallback? errorCallback]) =>
js_util.promiseToFuture(js_util.callMethod(this, 'decodeAudioData', [
audioData,
successCallback == null ? null : allowInterop(successCallback),
errorCallback == null ? null : allowInterop(errorCallback)
]));