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

AudioDecoderMp3 Class

An audio decoder for raw MPEG audio data

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

Fields

Mp3 must be decoded sequentially in since frame data could be carried over to the next chunk

Member Functions

Initial setup of the decoder
Parameters
channels
Total channels of audio data
sampleRate
The rate of audio data received
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?