Skip to main content

time_base_for

Function time_base_for 

Source
pub fn time_base_for(sample_rate: u32) -> TimeBase
Expand description

Default time base for a PCM audio stream: 1 / sample_rate.