Struct rubato::interpolator_avx::AvxInterpolator [−][src]
pub struct AvxInterpolator<T> where
T: AvxSample, { /* fields omitted */ }
Expand description
An AVX accelerated interpolator
Implementations
pub fn new(
sinc_len: usize,
oversampling_factor: usize,
f_cutoff: f32,
window: WindowFunction
) -> Result<Self, MissingCpuFeature>
pub fn new(
sinc_len: usize,
oversampling_factor: usize,
f_cutoff: f32,
window: WindowFunction
) -> Result<Self, MissingCpuFeature>
Create a new AvxInterpolator
Parameters are:
sinc_len
: Length of sinc functions.oversampling_factor
: Number of intermediate sincs (oversampling factor).f_cutoff
: Relative cutoff frequency.window
: Window function to use.