get_nb_samples

Function get_nb_samples 

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

Get the number of samples of an Opus packet.