#[repr(C)]pub struct compressor_settings {
pub threshold: c_int,
pub makeup_gain: c_int,
pub ratio: c_int,
pub knee: c_int,
pub release_time: c_int,
pub attack_time: c_int,
}Expand description
struct compressor_settings (compressor.h) — threshold in dB (0 = off),
makeup_gain 0 = off / 1 = auto, ratio index (0 = 2:1 … 4 = limit),
knee index (0 = hard … 2 = soft), attack/release in ms
Fields§
§threshold: c_int§makeup_gain: c_int§ratio: c_int§knee: c_int§release_time: c_int§attack_time: c_intTrait Implementations§
Source§impl Clone for compressor_settings
impl Clone for compressor_settings
Source§fn clone(&self) -> compressor_settings
fn clone(&self) -> compressor_settings
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for compressor_settings
Source§impl Default for compressor_settings
impl Default for compressor_settings
Source§fn default() -> compressor_settings
fn default() -> compressor_settings
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for compressor_settings
impl RefUnwindSafe for compressor_settings
impl Send for compressor_settings
impl Sync for compressor_settings
impl Unpin for compressor_settings
impl UnsafeUnpin for compressor_settings
impl UnwindSafe for compressor_settings
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