Skip to main content

resample_mono

Function resample_mono 

Source
pub fn resample_mono(pcm: &[f32], from: u32, to: u32) -> Result<Vec<f32>, Error>
Expand description

A buffer of mono audio at from, converted to to with the input path’s own filter. The same rate hands the buffer straight back.