pub struct GainController2 {
pub input_volume_controller_enabled: bool,
pub adaptive_digital: Option<AdaptiveDigital>,
pub fixed_digital: FixedDigital,
}Expand description
Parameters for AGC2, an Automatic Gain Control (AGC) sub-module which
replaces the AGC sub-module parameterized by gain_controller1.
AGC2 brings the captured audio signal to the desired level by combining
three different controllers (namely, input volume controller, adaptive
digital controller and fixed digital controller) and a limiter.
Fields§
§input_volume_controller_enabled: boolEnables the input volume controller, which adjusts the input volume applied when the audio is captured (e.g., microphone volume on a soundcard, input volume on HAL).
adaptive_digital: Option<AdaptiveDigital>Parameters for the adaptive digital controller, which adjusts and applies a digital gain after echo cancellation and after noise suppression.
fixed_digital: FixedDigitalParameters for the fixed digital controller, which applies 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
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
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
Source§impl<'de> Deserialize<'de> for GainController2where
GainController2: Default,
impl<'de> Deserialize<'de> for GainController2where
GainController2: Default,
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl JsonSchema for GainController2
impl JsonSchema for GainController2
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
$ref keyword. Read more