bool | Mp3 must be decoded sequentially in since frame data could be carried over to the next chunk |
void | Initial setup of the decoder |
int | GetTotalSamples ( ulong contentLength ) Mp3 sample count cannot be determined from content length, return -1 |
float [] | A method for returning decoded bytes into audio data |
| bool Meta.Voice.Audio.Decoding.AudioDecoderMp3.RequireSequentialDecode |
|---|
Mp3 must be decoded sequentially in since frame data could be carried over to the next chunk |
| void Meta.Voice.Audio.Decoding.AudioDecoderMp3.Setup ( int channels, int sampleRate ) |
|---|
Initial setup of the decoder Parameters channels Total channels of audio data sampleRateThe rate of audio data received |
| int Meta.Voice.Audio.Decoding.AudioDecoderMp3.GetTotalSamples ( ulong contentLength ) |
|---|
Mp3 sample count cannot be determined from content length, return -1 Parameters contentLength The provided number of bytes |
| float [] Meta.Voice.Audio.Decoding.AudioDecoderMp3.Decode ( byte [] chunkData, int chunkStart, int chunkLength ) |
|---|
A method for returning decoded bytes into audio data Parameters chunkData A chunk of bytes to be decoded into audio data chunkStartThe array start index into account when decoding chunkLengthThe total number of bytes to be used within chunkData Returns Returns an array of audio data from 0-1 |