Skip to main content

decode

Function decode 

Source
pub fn decode(params: &Params, packets: &[u8]) -> Result<Vec<i16>>
Expand description

Decode a whole stream of block_align-sized packets to interleaved 16-bit PCM.

Like FFmpeg, packets that fail to decode are skipped, and the output ends with one extra frame holding the final overlap tail.