Skip to main content

fallback_rates

Function fallback_rates 

Source
fn fallback_rates(wanted: f64) -> Vec<f64>
Expand description

The rates to try, in order: what the session asked for, then the ones a device that refuses it is likely to take. A device is asked at its own rate first, so one that can do it is never slowed, and the steps below are the rates video hardware is built around rather than a search.