API reference
API reference
Select your platform
No SDKs available
No versions available

AudioDecoderWav Class

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

Member Functions

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
Did you find this page helpful?
Thumbs up icon
Thumbs down icon