do_resample_frames

Function do_resample_frames 

Source
pub fn do_resample_frames<S>(
    resampler: &Resampler,
    input: &[Vec<S>],
    src_sample_rate: u32,
    dst_sample_rate: u32,
) -> Vec<Vec<S>>
where S: SampleType,
Expand description
  • Use the Resampler to resample audio frames from the original sample rate to a specific sample rate.