pub fn resample_mono(pcm: &[f32], from: u32, to: u32) -> Result<Vec<f32>, Error>
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.
from
to