WillDecodeInBackground
: bool |
All mpeg decoding should occur in background due to slow decode speed
Signature
bool Meta.Voice.Audio.Decoding.AudioDecoderMp3.WillDecodeInBackground |
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 |