Struct Oversampler
pub struct Oversampler { /* private fields */ }Expand description
One-channel configurable 1x/2x/4x/8x streaming f32 oversampling. Three fixed half-band stages and stack scratch require no preparation heap. Changing factor requires a new instance/reset; no live crossfade, dry-path alignment or constant integer latency is supplied. Closure DSP must be prepared at host sample rate times factor and obey callback obligations.
Implementations§
§impl Oversampler
impl Oversampler
pub fn new(factor: OversamplingFactor) -> Self
pub fn factor(&self) -> OversamplingFactor
pub fn reset(&mut self)
Trait Implementations§
§impl Clone for Oversampler
impl Clone for Oversampler
§fn clone(&self) -> Oversampler
fn clone(&self) -> Oversampler
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · §fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for Oversampler
impl RefUnwindSafe for Oversampler
impl Send for Oversampler
impl Sync for Oversampler
impl Unpin for Oversampler
impl UnsafeUnpin for Oversampler
impl UnwindSafe for Oversampler
Blanket Implementations§
§impl<T> BorrowMut<T> for T
impl<T> BorrowMut<T> for T
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more