Skip to main content

sample_cap

Function sample_cap 

Source
pub(crate) fn sample_cap(max_capture: Duration) -> usize
Expand description

The cap in samples. Integer maths so it cannot be a truncating float cast.