pub enum Signal {
Auto,
Voice,
Music,
}Expand description
Signal-content hint for the automatic mode decision (OPUS_SET_SIGNAL).
Biases OpusEncoder::encode_auto’s speech-vs-music classification: the
analysis still runs, but a non-Auto hint shifts the decision threshold so
the encoder trusts the caller’s knowledge of the source.
Variants§
Auto
Let the analysis decide (the default, OPUS_AUTO).
Voice
The source is speech: bias toward SILK / hybrid.
Music
The source is general audio / music: bias toward CELT.
Trait Implementations§
impl Copy for Signal
impl Eq for Signal
impl StructuralPartialEq for Signal
Auto Trait Implementations§
impl Freeze for Signal
impl RefUnwindSafe for Signal
impl Send for Signal
impl Sync for Signal
impl Unpin for Signal
impl UnsafeUnpin for Signal
impl UnwindSafe for Signal
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