pub fn get_nb_samples( input: &[u8], rate: SampleRate, ) -> Result<usize, ErrorCode>
Gets the number of samples of an Opus packet.