#[repr(C)]pub enum DspCompressor {
Threshold = 0,
Attack = 1,
Release = 2,
GainMakeup = 3,
}
Expand description
Parameter types for the FMOD_DSP_TYPE_COMPRESSOR unit.
This is a simple linked multichannel software limiter that is uniform across the whole spectrum.
Used with Dsp::set_parameter
and
Dsp::get_parameter
Variants§
Threshold = 0
Threshold level (dB) in the range from -60 through 0. The default value is 0.
Attack = 1
Gain reduction attack time (milliseconds), in the range from 10 through 200. The default value is 50.
Release = 2
Gain reduction release time (milliseconds), in the range from 20 through 1000. The default value is 50.
GainMakeup = 3
Make-up gain (dB) applied after limiting, in the range from 0 through 30. The default value is 0.
Trait Implementations§
Source§impl Clone for DspCompressor
impl Clone for DspCompressor
Source§fn clone(&self) -> DspCompressor
fn clone(&self) -> DspCompressor
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 DspCompressor
impl Debug for DspCompressor
Source§impl PartialEq for DspCompressor
impl PartialEq for DspCompressor
Source§impl PartialOrd for DspCompressor
impl PartialOrd for DspCompressor
impl Copy for DspCompressor
impl StructuralPartialEq for DspCompressor
Auto Trait Implementations§
impl Freeze for DspCompressor
impl RefUnwindSafe for DspCompressor
impl Send for DspCompressor
impl Sync for DspCompressor
impl Unpin for DspCompressor
impl UnwindSafe for DspCompressor
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