Struct rubato::ScalarInterpolator [−][src]
pub struct ScalarInterpolator<T> { /* fields omitted */ }
A plain scalar interpolator
Implementations
impl<T> ScalarInterpolator<T> where
T: Sample,
[src]
impl<T> ScalarInterpolator<T> where
T: Sample,
[src]pub fn new(
sinc_len: usize,
oversampling_factor: usize,
f_cutoff: f32,
window: WindowFunction
) -> Self
[src]
pub fn new(
sinc_len: usize,
oversampling_factor: usize,
f_cutoff: f32,
window: WindowFunction
) -> Self
[src]Create a new ScalarInterpolator
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.
Auto Trait Implementations
impl<T> RefUnwindSafe for ScalarInterpolator<T> where
T: RefUnwindSafe,
T: RefUnwindSafe,
impl<T> Send for ScalarInterpolator<T> where
T: Send,
T: Send,
impl<T> Sync for ScalarInterpolator<T> where
T: Sync,
T: Sync,
impl<T> Unpin for ScalarInterpolator<T> where
T: Unpin,
T: Unpin,
impl<T> UnwindSafe for ScalarInterpolator<T> where
T: UnwindSafe,
T: UnwindSafe,