Skip to main content

opus_packet_samples

Function opus_packet_samples 

Source
pub fn opus_packet_samples(packet: &[u8]) -> u32
Expand description

The 48 kHz samples an Opus packet decodes to, from its TOC byte: the configuration’s frame duration times the frame count its code carries.