[][src]Enum webrtc_audio_processing_sys::GainControl_Mode

#[repr(u32)]pub enum GainControl_Mode {
    ADAPTIVE_ANALOG,
    ADAPTIVE_DIGITAL,
    FIXED_DIGITAL,
}
Mode of gain control.

Variants

ADAPTIVE_ANALOG
Not supported yet.
TODO(skywhale): Expose set_stream_analog_level() and stream_analog_level().
ADAPTIVE_DIGITAL
Bring the signal to an appropriate range by applying an adaptive gain control. The volume is dynamically amplified with a microphone with small pickup and vice versa.
FIXED_DIGITAL
Unlike ADAPTIVE_DIGITAL, it only compresses (i.e. gradually reduces gain with increasing level) the input signal when at higher levels. Use this where the capture signal level is predictable, so that a known gain can be applied.

Trait Implementations

impl Clone for GainControl_Mode[src]

impl Copy for GainControl_Mode[src]

impl Debug for GainControl_Mode[src]

impl Eq for GainControl_Mode[src]

impl Hash for GainControl_Mode[src]

impl PartialEq<GainControl_Mode> for GainControl_Mode[src]

impl StructuralEq for GainControl_Mode[src]

impl StructuralPartialEq for GainControl_Mode[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.