decodeAudioData method
- ByteBuffer audioData, [
- DecodeSuccessCallback? successCallback,
- DecodeErrorCallback? errorCallback
Implementation
Future<AudioBuffer> decodeAudioData(ByteBuffer audioData,
[DecodeSuccessCallback? successCallback,
DecodeErrorCallback? errorCallback]) =>
promiseToFuture<AudioBuffer>(JS(
"creates:AudioBuffer;",
"#.decodeAudioData(#, #, #)",
this,
audioData,
successCallback,
errorCallback));