[−][src]Struct webrtc_audio_processing_sys::GainControl
Gain control configuration.
Fields
enable: bool
Whether to use gain control.
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 Default for GainControl
[src]
fn default() -> GainControl
[src]
impl PartialEq<GainControl> for GainControl
[src]
fn eq(&self, other: &GainControl) -> bool
[src]
fn ne(&self, other: &GainControl) -> bool
[src]
impl Debug for GainControl
[src]
impl StructuralPartialEq for GainControl
[src]
Auto Trait Implementations
impl Send for GainControl
impl Sync for GainControl
impl Unpin for GainControl
impl UnwindSafe for GainControl
impl RefUnwindSafe for GainControl
Blanket Implementations
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 = !
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
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> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,