API reference

AudioDecoderWav Class

An audio decoder that reads wav sub chunks and sends pcm data directly to base class for decoding.

Constructors & Destructors

Constructor that sets to PCM int 16
A method for decoded bytes and calling an onSamplesDecoded to return float[] as they are decoded
Parameters
buffer
A buffer of bytes to be decoded into audio sample data
bufferOffset
The buffer start offset used for decoding a reused buffer
bufferLength
The total number of bytes to be used from the buffer
onSamplesDecoded
Callback following a sample decode