[−][src]Struct webrtc_audio_processing_sys::GainControl
Gain control configuration.
Fields
enable: bool
Whether to use gain control.
mode: GainControl_Mode
Determines what type of gain control is applied.
target_level_dbfs: c_int
Sets the target peak level (or envelope) of the AGC in dBFs (decibels from
digital full-scale). The convention is to use positive values.
For instance, passing in a value of 3 corresponds to -3 dBFs, or a target
level 3 dB below full-scale. Limited to [0, 31].
compression_gain_db: c_int
Sets the maximum gain the digital compression stage may apply, in dB. A
higher number corresponds to greater compression, while a value of 0 will
leave the signal uncompressed. Limited to [0, 90].
enable_limiter: bool
When enabled, the compression stage will hard limit the signal to the
target level. Otherwise, the signal will be compressed but not limited
above the target level.
Trait Implementations
impl Clone for GainControl
[src]
fn clone(&self) -> GainControl
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for GainControl
[src]
impl Debug for GainControl
[src]
impl Default for GainControl
[src]
impl PartialEq<GainControl> for GainControl
[src]
fn eq(&self, other: &GainControl) -> bool
[src]
fn ne(&self, other: &GainControl) -> bool
[src]
impl StructuralPartialEq for GainControl
[src]
Auto Trait Implementations
impl RefUnwindSafe for GainControl
impl Send for GainControl
impl Sync for GainControl
impl Unpin for GainControl
impl UnwindSafe for GainControl
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,