bool | A property for whether the decoder can decode chunks on separate threads simultaneously or if they need to be performed sequentially. |
void | Initial setup of the decoder |
int | GetTotalSamples ( ulong contentLength ) Determines audio sample length based on content length if possible |
float [] | A method for returning decoded bytes into audio data |
bool Meta.Voice.Audio.Decoding.IAudioDecoder.RequireSequentialDecode |
---|
A property for whether the decoder can decode chunks on separate threads simultaneously or if they need to be performed sequentially. |
void Meta.Voice.Audio.Decoding.IAudioDecoder.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.IAudioDecoder.GetTotalSamples ( ulong contentLength ) |
---|
Determines audio sample length based on content length if possible Parameters contentLength The provided number of bytes |
float [] Meta.Voice.Audio.Decoding.IAudioDecoder.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 |