#[repr(C)]pub enum DspOscillator {
Type = 0,
Rate = 1,
}
Expand description
Parameter types for the FMOD_DSP_TYPE_OSCILLATOR filter.
Used with Dsp::set_parameter
and
Dsp::get_parameter
Variants§
Type = 0
Waveform type. 0 = sine. 1 = square. 2 = sawup. 3 = sawdown. 4 = triangle. 5 = noise.
Rate = 1
Frequency of the sinewave in hz. 1.0 to 22000.0. Default = 220.0.
Trait Implementations§
Source§impl Clone for DspOscillator
impl Clone for DspOscillator
Source§fn clone(&self) -> DspOscillator
fn clone(&self) -> DspOscillator
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 DspOscillator
impl Debug for DspOscillator
Source§impl PartialEq for DspOscillator
impl PartialEq for DspOscillator
Source§impl PartialOrd for DspOscillator
impl PartialOrd for DspOscillator
impl Copy for DspOscillator
impl StructuralPartialEq for DspOscillator
Auto Trait Implementations§
impl Freeze for DspOscillator
impl RefUnwindSafe for DspOscillator
impl Send for DspOscillator
impl Sync for DspOscillator
impl Unpin for DspOscillator
impl UnwindSafe for DspOscillator
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