pub fn get_samples_per_frame(packet: &[u8], sample_rate: u32) -> Result<usize>
Expand description

Get the number of samples per frame from an Opus packet.