Enum Playback Conversion
pub enum PlaybackConversion {
Copy,
Sinc {
taps: usize,
},
IntegerSinc {
taps: usize,
},
}Expand description
Explicit same-rate copy or causal sinc filtering; no implicit bypass.
Variants§
Copy
Exact sample copy; unequal source/target rates reject before reads.
Sinc
Filter even when rates match; retain fractional delay and finite tail.
IntegerSinc
Exact integer-rate schedule; filters at equal rates and retains the same fractional delay/tail profile. PCM can differ from the floating Sinc mode. This additive variant requires downstream exhaustive matches to handle it.
Trait Implementations§
§impl Clone for PlaybackConversion
impl Clone for PlaybackConversion
§fn clone(&self) -> PlaybackConversion
fn clone(&self) -> PlaybackConversion
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 moreimpl Copy for PlaybackConversion
§impl Debug for PlaybackConversion
impl Debug for PlaybackConversion
impl Eq for PlaybackConversion
§impl PartialEq for PlaybackConversion
impl PartialEq for PlaybackConversion
impl StructuralPartialEq for PlaybackConversion
Auto Trait Implementations§
impl Freeze for PlaybackConversion
impl RefUnwindSafe for PlaybackConversion
impl Send for PlaybackConversion
impl Sync for PlaybackConversion
impl Unpin for PlaybackConversion
impl UnsafeUnpin for PlaybackConversion
impl UnwindSafe for PlaybackConversion
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