pub struct EnhancedVadParams {
pub base: VadParams,
pub max_segment_duration_s: f32,
pub merge_segments: bool,
pub min_gap_ms: i32,
}Expand description
Enhanced VAD parameters with aggregation settings
Fields§
§base: VadParamsBase VAD parameters from whisper.cpp
max_segment_duration_s: f32Maximum duration for aggregated segments (seconds)
merge_segments: boolWhether to merge adjacent segments
min_gap_ms: i32Minimum gap between segments to keep them separate (ms)
Trait Implementations§
Source§impl Clone for EnhancedVadParams
impl Clone for EnhancedVadParams
Source§fn clone(&self) -> EnhancedVadParams
fn clone(&self) -> EnhancedVadParams
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 EnhancedVadParams
impl Debug for EnhancedVadParams
Auto Trait Implementations§
impl Freeze for EnhancedVadParams
impl RefUnwindSafe for EnhancedVadParams
impl Send for EnhancedVadParams
impl Sync for EnhancedVadParams
impl Unpin for EnhancedVadParams
impl UnwindSafe for EnhancedVadParams
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