decode

external fun decode(chunk: EncodedAudioChunk)(source)

The decode() method of the AudioDecoder interface enqueues a control message to decode a given chunk of audio.

MDN Reference