pub enum Mode {
SilkOnly,
Hybrid,
CeltOnly,
}Expand description
Operating mode selected by the config field of the TOC byte.
Per RFC 6716 §3.1 Table 2 the 32 configurations cluster into three operating modes: a SILK-only LP mode, a Hybrid SILK+CELT mode, and a CELT-only MDCT mode.
Variants§
SilkOnly
LP (SILK) only — used at low bitrates up to WB.
Hybrid
Hybrid SILK + CELT — used for SWB / FB speech at medium bitrates.
CeltOnly
CELT (MDCT) only — used for very low delay and music transmission.
Trait Implementations§
impl Copy for Mode
impl Eq for Mode
Source§impl From<Mode> for OperatingMode
impl From<Mode> for OperatingMode
impl StructuralPartialEq for Mode
Auto Trait Implementations§
impl Freeze for Mode
impl RefUnwindSafe for Mode
impl Send for Mode
impl Sync for Mode
impl Unpin for Mode
impl UnsafeUnpin for Mode
impl UnwindSafe for Mode
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