claxon::subframe

Function decode

Source
pub fn decode<R: ReadBytes>(
    input: &mut Bitstream<R>,
    bps: u32,
    buffer: &mut [i32],
) -> Result<()>
Expand description

Decodes a subframe into the provided block-size buffer.

It is assumed that the length of the buffer is the block size.