bae_rs
pub fn seconds_to_samples(s: Duration) -> usize
Converts the given duration to samples, rounded to the nearest sample.