#[repr(C)]pub enum DspResampler {
NoInterp = 0,
Linear = 1,
Cubic = 2,
Spline = 3,
Max = 4,
ForceInt = 65_536,
}
Expand description
List of interpolation types that the FMOD Ex software mixer supports.
Variants§
NoInterp = 0
No interpolation. High frequency aliasing hiss will be audible depending on the sample rate of the sound.
Linear = 1
Linear interpolation (default method). Fast and good quality, causes very slight lowpass effect on low frequency sounds.
Cubic = 2
Cubic interpolation. Slower than linear interpolation but better quality.
Spline = 3
5 point spline interpolation. Slowest resampling method but best quality.
Max = 4
Maximum number of resample methods supported.
ForceInt = 65_536
Makes sure this enum is signed 32bit.
Trait Implementations§
Source§impl Clone for DspResampler
impl Clone for DspResampler
Source§fn clone(&self) -> DspResampler
fn clone(&self) -> DspResampler
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for DspResampler
impl Debug for DspResampler
Source§impl PartialEq for DspResampler
impl PartialEq for DspResampler
Source§impl PartialOrd for DspResampler
impl PartialOrd for DspResampler
impl Copy for DspResampler
impl StructuralPartialEq for DspResampler
Auto Trait Implementations§
impl Freeze for DspResampler
impl RefUnwindSafe for DspResampler
impl Send for DspResampler
impl Sync for DspResampler
impl Unpin for DspResampler
impl UnwindSafe for DspResampler
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more