Function hertz::fps_to_ns_per_frame [] [src]

pub fn fps_to_ns_per_frame(fps: usize) -> u64

when given frames per second (or sample rate) returns the duration of a single frame