Skip to main content

audio_duration

Function audio_duration 

Source
fn audio_duration(samples: usize) -> Duration
Expand description

Samples to wall-clock at the one rate the models accept. Integer maths so a long buffer cannot drift through a float cast.