#[repr(i32)]pub enum InbandFec {
Off = 0,
Mode1 = 1,
Mode2 = 2,
}Expand description
Possible values of inband forward error correction configuration.
Variants§
Off = 0
Inband FEC disabled (default)
Mode1 = 1
Inband FEC enabled.
If the packet loss rate is sufficiently high, Opus will automatically switch to SILK even at high rates to enable use of that FEC.
Mode2 = 2
Inband FEC enabled, but does not necessarily switch to SILK if we have music.
Trait Implementations§
impl Copy for InbandFec
impl Eq for InbandFec
impl StructuralPartialEq for InbandFec
Auto Trait Implementations§
impl Freeze for InbandFec
impl RefUnwindSafe for InbandFec
impl Send for InbandFec
impl Sync for InbandFec
impl Unpin for InbandFec
impl UnwindSafe for InbandFec
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