pub struct GateConfig {
pub preroll: Duration,
}Expand description
Tuning for VadStage’s pre-roll ring.
Fields§
§preroll: DurationHow much onset audio to retain in the pre-roll ring. Larger keeps more of the utterance’s first syllables at the cost of buffering; the default is 300 ms.
Trait Implementations§
Source§impl Clone for GateConfig
impl Clone for GateConfig
Source§fn clone(&self) -> GateConfig
fn clone(&self) -> GateConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for GateConfig
Source§impl Debug for GateConfig
impl Debug for GateConfig
Source§impl Default for GateConfig
impl Default for GateConfig
impl Eq for GateConfig
Source§impl PartialEq for GateConfig
impl PartialEq for GateConfig
impl StructuralPartialEq for GateConfig
Auto Trait Implementations§
impl Freeze for GateConfig
impl RefUnwindSafe for GateConfig
impl Send for GateConfig
impl Sync for GateConfig
impl Unpin for GateConfig
impl UnsafeUnpin for GateConfig
impl UnwindSafe for GateConfig
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