pub enum NoSegmenter {}Available on crate feature
silero and non-target_family=wasm only.Expand description
The segmenter of a tracker that never checks a speaker change, so it can name voices but not admit only the owner. Nothing can build one.
Trait Implementations§
Source§impl Segmenter for NoSegmenter
impl Segmenter for NoSegmenter
Source§fn shape(&self) -> ChunkShape
fn shape(&self) -> ChunkShape
The chunk width this engine reads and the frame grid it answers on.
Fixed for the life of the engine — it is a property of the graph.
Source§fn segment(&mut self, _: &[f32]) -> Result<Vec<Activity>, SegmentationError>
fn segment(&mut self, _: &[f32]) -> Result<Vec<Activity>, SegmentationError>
Who speaks in each frame of
chunk, which must be exactly
ChunkShape::samples long. A caller with less audio than that pads
it; a caller with more cuts it.Auto Trait Implementations§
impl Freeze for NoSegmenter
impl RefUnwindSafe for NoSegmenter
impl Send for NoSegmenter
impl Sync for NoSegmenter
impl Unpin for NoSegmenter
impl UnsafeUnpin for NoSegmenter
impl UnwindSafe for NoSegmenter
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