Skip to main content

decode_frames

Function decode_frames 

Source
pub fn decode_frames(data: &[u8]) -> Option<DecodedFrames>
Expand description

Decode every audio frame in data (the raw frame stream produced by Encoder::encode_frames, i.e. no metadata) back to interleaved PCM. Returns None on any malformed/truncated input or CRC mismatch.