pub struct GainController2 {
pub input_volume_controller: bool,
pub adaptive_digital: Option<AdaptiveDigital>,
pub fixed_digital: FixedDigital,
}Expand description
Automatic Gain Controller 2 (AGC2) settings.
AGC2 brings the captured audio signal to the desired level by combining three controllers (input volume, adaptive digital, and fixed digital) and a limiter.
Fields§
§input_volume_controller: boolEnable the input volume controller. Adjusts the input volume applied when audio is captured (e.g., microphone volume on a soundcard).
adaptive_digital: Option<AdaptiveDigital>Adaptive digital controller settings. Set to Some(...) to enable.
Adjusts and applies a digital gain after echo cancellation and
noise suppression.
fixed_digital: FixedDigitalApplies a fixed digital gain after the adaptive digital controller and before the limiter.
Trait Implementations§
Source§impl Clone for GainController2
impl Clone for GainController2
Source§fn clone(&self) -> GainController2
fn clone(&self) -> GainController2
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for GainController2
impl Debug for GainController2
Source§impl Default for GainController2
impl Default for GainController2
Source§fn default() -> GainController2
fn default() -> GainController2
Returns the “default value” for a type. Read more
Source§impl PartialEq for GainController2
impl PartialEq for GainController2
impl StructuralPartialEq for GainController2
Auto Trait Implementations§
impl Freeze for GainController2
impl RefUnwindSafe for GainController2
impl Send for GainController2
impl Sync for GainController2
impl Unpin for GainController2
impl UnwindSafe for GainController2
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