pub enum Signal {
Voice,
Music,
}Expand description
OPUS_SET_SIGNAL hint: bias mode selection toward speech or music. None =
OPUS_AUTO (let the analysis decide).
Setting this pins the answer the content analysis would otherwise reach, so
it also makes the analysis cheap to skip. That matters for
encode_parallel, where every worker would
otherwise have to re-derive it from its own warm-up audio.
Variants§
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