[][src]Struct webrtc_audio_processing_sys::EchoCancellation

#[repr(C)]pub struct EchoCancellation {
    pub enable: bool,
    pub suppression_level: EchoCancellation_SuppressionLevel,
    pub enable_extended_filter: bool,
    pub enable_delay_agnostic: bool,
    pub stream_delay_ms: OptionalInt,
}
Echo cancellation configuration.

Fields

enable: bool
Whether to use echo cancellation.
suppression_level: EchoCancellation_SuppressionLevel
Determines the aggressiveness of the suppressor. A higher level trades off double-talk performance for increased echo suppression.
enable_extended_filter: bool
Use to enable the extended filter mode in the AEC, along with robustness measures around the reported system delays. It comes with a significant increase in AEC complexity, but is much more robust to unreliable reported delays.
enable_delay_agnostic: bool
Enables delay-agnostic echo cancellation. This feature relies on internally estimated delays between the process and reverse streams, thus not relying on reported system delays.
stream_delay_ms: OptionalInt
Sets the delay in ms between process_render_frame() receiving a far-end frame and process_capture_frame() receiving a near-end frame containing the corresponding echo. You should set this only if you are certain that the delay will be stable and constant. enable_delay_agnostic will be ignored when this option is set.

Trait Implementations

impl Clone for EchoCancellation[src]

impl Copy for EchoCancellation[src]

impl Debug for EchoCancellation[src]

impl Default for EchoCancellation[src]

impl PartialEq<EchoCancellation> for EchoCancellation[src]

impl StructuralPartialEq for EchoCancellation[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.