Skip to main content

samples_per_2_5ms

Function samples_per_2_5ms 

Source
pub const fn samples_per_2_5ms(sample_rate: SampleRate) -> usize
Expand description

Number of samples per channel in a 2.5 ms frame at the given sample_rate.

libopus requires PLC/FEC and DRED frame sizes to be multiples of this value.