#[repr(C)]pub enum DspTypeParameq {
Center = 0,
Bandwidth = 1,
Gain = 2,
}
Expand description
Parameter types for the DspTypeParameq filter.
Used with Dsp::set_parameter
and
Dsp::get_parameter
Variants§
Center = 0
Frequency center. 20.0 to 22000.0. Default = 8000.0.
Bandwidth = 1
Octave range around the center frequency to filter. 0.2 to 5.0. Default = 1.0.
Gain = 2
Frequency Gain. 0.05 to 3.0. Default = 1.0.
Trait Implementations§
Source§impl Clone for DspTypeParameq
impl Clone for DspTypeParameq
Source§fn clone(&self) -> DspTypeParameq
fn clone(&self) -> DspTypeParameq
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 DspTypeParameq
impl Debug for DspTypeParameq
Source§impl PartialEq for DspTypeParameq
impl PartialEq for DspTypeParameq
Source§impl PartialOrd for DspTypeParameq
impl PartialOrd for DspTypeParameq
impl Copy for DspTypeParameq
impl StructuralPartialEq for DspTypeParameq
Auto Trait Implementations§
impl Freeze for DspTypeParameq
impl RefUnwindSafe for DspTypeParameq
impl Send for DspTypeParameq
impl Sync for DspTypeParameq
impl Unpin for DspTypeParameq
impl UnwindSafe for DspTypeParameq
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