pub struct NativeCaptureConfig {Show 13 fields
pub output_path: PathBuf,
pub target_sample_rate: u32,
pub target_channels: u16,
pub preferred_input_device: Option<String>,
pub profile: AudioProfile,
pub input_gain_db: f32,
pub limiter_threshold: f32,
pub high_pass_hz: f32,
pub noise_suppression_amount: f32,
pub noise_calibration_ms: u32,
pub delay_effect: Option<DelayEffectConfig>,
pub stage_overrides: BTreeMap<String, ProcessorOverrideMode>,
pub microphone_sim: MicrophoneSimConfig,
}Fields§
§output_path: PathBuf§target_sample_rate: u32§target_channels: u16§preferred_input_device: Option<String>§profile: AudioProfile§input_gain_db: f32§limiter_threshold: f32§high_pass_hz: f32§noise_suppression_amount: f32§noise_calibration_ms: u32§delay_effect: Option<DelayEffectConfig>§stage_overrides: BTreeMap<String, ProcessorOverrideMode>§microphone_sim: MicrophoneSimConfigImplementations§
Source§impl NativeCaptureConfig
impl NativeCaptureConfig
pub fn new(output_path: PathBuf, profile: AudioProfile) -> Self
Trait Implementations§
Source§impl Clone for NativeCaptureConfig
impl Clone for NativeCaptureConfig
Source§fn clone(&self) -> NativeCaptureConfig
fn clone(&self) -> NativeCaptureConfig
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 NativeCaptureConfig
impl Debug for NativeCaptureConfig
Source§impl Default for NativeCaptureConfig
impl Default for NativeCaptureConfig
Source§fn default() -> NativeCaptureConfig
fn default() -> NativeCaptureConfig
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for NativeCaptureConfig
impl RefUnwindSafe for NativeCaptureConfig
impl Send for NativeCaptureConfig
impl Sync for NativeCaptureConfig
impl Unpin for NativeCaptureConfig
impl UnsafeUnpin for NativeCaptureConfig
impl UnwindSafe for NativeCaptureConfig
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