pub enum AnalysisOutputKind {
Voice,
Silence,
Tone {
id: u8,
amplitude: u8,
},
}Expand description
Discriminator-only counterpart of AnalysisOutput — strips the
MbeParams payload so consumers can inspect what kind of frame
was emitted without holding a copy. The full params are in
AnalysisStats::params.
Variants§
Voice
Real voice frame derived from the input PCM.
Silence
Silence-dispatched frame (rate-appropriate placeholder params).
Tone
Annex T tone frame — encode-side detected a clean tone in the
PCM and emitted the matching (I_D, A_D) payload instead of
running the voice analysis pipeline. Half-rate only; gated on
Vocoder::set_tone_detection. Default off.
Trait Implementations§
Source§impl Clone for AnalysisOutputKind
impl Clone for AnalysisOutputKind
Source§fn clone(&self) -> AnalysisOutputKind
fn clone(&self) -> AnalysisOutputKind
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 moreSource§impl Debug for AnalysisOutputKind
impl Debug for AnalysisOutputKind
Source§impl PartialEq for AnalysisOutputKind
impl PartialEq for AnalysisOutputKind
Source§fn eq(&self, other: &AnalysisOutputKind) -> bool
fn eq(&self, other: &AnalysisOutputKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for AnalysisOutputKind
impl Eq for AnalysisOutputKind
impl StructuralPartialEq for AnalysisOutputKind
Auto Trait Implementations§
impl Freeze for AnalysisOutputKind
impl RefUnwindSafe for AnalysisOutputKind
impl Send for AnalysisOutputKind
impl Sync for AnalysisOutputKind
impl Unpin for AnalysisOutputKind
impl UnsafeUnpin for AnalysisOutputKind
impl UnwindSafe for AnalysisOutputKind
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