pub fn encoder_sample_rate(rates: Option<&[u32]>, project_rate: u32) -> u32Expand description
The rate an encoder that supports rates (None: any) encodes a project_rate project at:
that rate if supported, else the lowest above it, else its highest.