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

IAudioDecoder Interface

An interface for handling audio decoding

Properties

Once setup this should display the number of channels expected to be decoded
Once setup this should display the number of samples per second expected
A property for whether the decoder can decode chunks on separate threads simultaneously or if they need to be performed sequentially.

Member Functions

Initial setup of the decoder
Parameters
channels
Total channels of audio data
sampleRate
The total samples per second expected
A method for returning decoded bytes into audio data
Parameters
chunkData
A chunk of bytes to be decoded into audio data
chunkStart
The array start index into account when decoding
chunkLength
The total number of bytes to be used within chunkData
Returns
Returns an array of audio data from 0-1
Did you find this page helpful?
Thumbs up icon
Thumbs down icon