Skip to main content

frame_delays

Function frame_delays 

Source
pub fn frame_delays(loop_ms: u64, target_cs: u32) -> Vec<u16>
Expand description

Per-frame delays in centiseconds that sum exactly to the loop, as even as possible around the target (e.g. a mix of 16 and 17 cs).