pub struct CaptureLevelAdjustment {
pub pre_gain_factor: f32,
pub post_gain_factor: f32,
pub analog_mic_gain_emulation: Option<AnalogMicGainEmulation>,
}Expand description
Functionality for general level adjustment in the capture pipeline. This should not be used together with the legacy PreAmplifier functionality.
Fields§
§pre_gain_factor: f32The pre_gain_factor scales the signal before any processing is done.
post_gain_factor: f32The post_gain_factor scales the signal after all processing is done.
analog_mic_gain_emulation: Option<AnalogMicGainEmulation>Analog mic gain emulation.
Trait Implementations§
Source§impl Clone for CaptureLevelAdjustment
impl Clone for CaptureLevelAdjustment
Source§fn clone(&self) -> CaptureLevelAdjustment
fn clone(&self) -> CaptureLevelAdjustment
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 CaptureLevelAdjustment
impl Debug for CaptureLevelAdjustment
Source§impl Default for CaptureLevelAdjustment
impl Default for CaptureLevelAdjustment
Source§impl<'de> Deserialize<'de> for CaptureLevelAdjustmentwhere
CaptureLevelAdjustment: Default,
impl<'de> Deserialize<'de> for CaptureLevelAdjustmentwhere
CaptureLevelAdjustment: 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>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl JsonSchema for CaptureLevelAdjustment
impl JsonSchema for CaptureLevelAdjustment
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for CaptureLevelAdjustment
impl PartialEq for CaptureLevelAdjustment
Source§impl Serialize for CaptureLevelAdjustment
impl Serialize for CaptureLevelAdjustment
impl Copy for CaptureLevelAdjustment
impl StructuralPartialEq for CaptureLevelAdjustment
Auto Trait Implementations§
impl Freeze for CaptureLevelAdjustment
impl RefUnwindSafe for CaptureLevelAdjustment
impl Send for CaptureLevelAdjustment
impl Sync for CaptureLevelAdjustment
impl Unpin for CaptureLevelAdjustment
impl UnsafeUnpin for CaptureLevelAdjustment
impl UnwindSafe for CaptureLevelAdjustment
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