pub struct VadConfig {
pub model: String,
pub min_silence_duration: f32,
pub min_speech_duration: f32,
pub max_speech_duration: f32,
pub threshold: f32,
pub sample_rate: u32,
pub window_size: i32,
pub provider: Option<String>,
pub num_threads: Option<i32>,
pub debug: bool,
}
Fields§
§model: String
§min_silence_duration: f32
§min_speech_duration: f32
§max_speech_duration: f32
§threshold: f32
§sample_rate: u32
§window_size: i32
§provider: Option<String>
§num_threads: Option<i32>
§debug: bool
Trait Implementations§
Auto Trait Implementations§
impl Freeze for VadConfig
impl RefUnwindSafe for VadConfig
impl Send for VadConfig
impl Sync for VadConfig
impl Unpin for VadConfig
impl UnwindSafe for VadConfig
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