pub enum OperatingMode {
SilkOnly,
Hybrid,
CeltOnly,
}Expand description
Operating mode for one Opus frame, as routed from the §3.1 TOC
config field. Mirrors crate::toc::Mode under a more
dispatch-flavoured name so consumers reading
routing.operating_mode make the right cognitive distinction:
this is the dispatch decision derived from the TOC, not the raw
field.
Variants§
SilkOnly
SILK-only — only the §4.2 LP decoder runs.
Hybrid
Hybrid — both §4.2 LP and §4.3 CELT decoders run, with SILK pinned to WB regardless of the TOC bandwidth.
CeltOnly
CELT-only — only the §4.3 MDCT decoder runs.
Trait Implementations§
Source§impl Clone for OperatingMode
impl Clone for OperatingMode
Source§fn clone(&self) -> OperatingMode
fn clone(&self) -> OperatingMode
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 OperatingMode
Source§impl Debug for OperatingMode
impl Debug for OperatingMode
impl Eq for OperatingMode
Source§impl From<Mode> for OperatingMode
impl From<Mode> for OperatingMode
Source§impl PartialEq for OperatingMode
impl PartialEq for OperatingMode
Source§fn eq(&self, other: &OperatingMode) -> bool
fn eq(&self, other: &OperatingMode) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for OperatingMode
Auto Trait Implementations§
impl Freeze for OperatingMode
impl RefUnwindSafe for OperatingMode
impl Send for OperatingMode
impl Sync for OperatingMode
impl Unpin for OperatingMode
impl UnsafeUnpin for OperatingMode
impl UnwindSafe for OperatingMode
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