API reference

AudioDecoderMp3 Class

An audio decoder for raw MPEG audio data

Fields

WillDecodeInBackground : bool
All mpeg decoding should occur in background due to slow decode speed
Signature
bool Meta.Voice.Audio.Decoding.AudioDecoderMp3.WillDecodeInBackground

Methods

Decode ( buffer , bufferOffset , bufferLength , onSamplesDecoded )
A method for decoded bytes and calling an AddSample delegate for each
Signature
void Meta.Voice.Audio.Decoding.AudioDecoderMp3.Decode(byte[] buffer, int bufferOffset, int bufferLength, AudioSampleDecodeDelegate onSamplesDecoded)
Parameters
buffer: byte []  A buffer of bytes to be decoded into audio sample data
bufferOffset: int  The buffer start offset used for decoding a reused buffer
bufferLength: int  The total number of bytes to be used from the buffer
onSamplesDecoded: AudioSampleDecodeDelegate  Callback following a sample decode
Returns
void