decode

abstract fun decode(encoded: Array<Byte>): Array<Short>

Decodes the given encoded audio data into an array of audio samples.

Return

An array of audio samples represented as shorts.

Parameters

encoded

The encoded audio data to decode. Provide a null or empty array to decode with PLC.

Throws

If there's an error during the decoding process.