#[repr(C)]pub enum DspTypeEcho {
Delay = 0,
DecayRatio = 1,
MaxChannels = 2,
DryMix = 3,
WetMix = 4,
}
Expand description
Parameter types for the DspTypeEcho filter.
Used with Dsp::set_parameter
and
Dsp::get_parameter
.
Variants§
Delay = 0
Echo delay in ms. 10 to 5000. Default = 500.
DecayRatio = 1
Echo decay per delay. 0 to 1. 1.0 = No decay, 0.0 = total decay (ie simple 1 line delay). Default = 0.5.
MaxChannels = 2
Maximum channels supported. 0 to 16. 0 = same as fmod’s default output polyphony, 1 = mono, 2 = stereo etc. See remarks for more. Default = 0. It is suggested to leave at 0!
DryMix = 3
Volume of original signal to pass to output. 0.0 to 1.0. Default = 1.0.
WetMix = 4
Volume of echo signal to pass to output. 0.0 to 1.0. Default = 1.0.
Trait Implementations§
Source§impl Clone for DspTypeEcho
impl Clone for DspTypeEcho
Source§fn clone(&self) -> DspTypeEcho
fn clone(&self) -> DspTypeEcho
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 DspTypeEcho
impl Debug for DspTypeEcho
Source§impl PartialEq for DspTypeEcho
impl PartialEq for DspTypeEcho
Source§impl PartialOrd for DspTypeEcho
impl PartialOrd for DspTypeEcho
impl Copy for DspTypeEcho
impl StructuralPartialEq for DspTypeEcho
Auto Trait Implementations§
impl Freeze for DspTypeEcho
impl RefUnwindSafe for DspTypeEcho
impl Send for DspTypeEcho
impl Sync for DspTypeEcho
impl Unpin for DspTypeEcho
impl UnwindSafe for DspTypeEcho
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