pub struct CompState {
pub input_gain: u32,
pub make_up_gain: u32,
pub full_band_enabled: bool,
pub ctl: [u32; 3],
pub level: [u32; 3],
}Expand description
State of compressor part.
Fields§
§input_gain: u32The gain of input. 0..360 (-18.0..18.0 dB).
make_up_gain: u32The gain of output. 0..360 (-18.0..18.0 dB).
full_band_enabled: boolWhether three bands are available or not.
ctl: [u32; 3]The amount to control for low/mid/high frequencies. 0..200 (-100.0..+100.0 %)
level: [u32; 3]The level of low/mid/high frequencies. 0..48 (-18.0..+6.0 dB)
Trait Implementations§
impl Copy for CompState
impl Eq for CompState
impl StructuralPartialEq for CompState
Auto Trait Implementations§
impl Freeze for CompState
impl RefUnwindSafe for CompState
impl Send for CompState
impl Sync for CompState
impl Unpin for CompState
impl UnwindSafe for CompState
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