pub enum OpusProfile {
Voip,
Audio,
RestrictedLowDelay,
}Expand description
Opus application / profile mode.
Controls the encoder’s optimisation target.
Variants§
Voip
VOIP — optimised for speech, allows aggressive packet loss concealment.
Audio
Audio — optimised for music and general audio, fullband.
RestrictedLowDelay
Restricted Low Delay — no look-ahead, lowest latency.
Trait Implementations§
Source§impl Clone for OpusProfile
impl Clone for OpusProfile
Source§fn clone(&self) -> OpusProfile
fn clone(&self) -> OpusProfile
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for OpusProfile
impl Debug for OpusProfile
Source§impl Display for OpusProfile
impl Display for OpusProfile
Source§impl Hash for OpusProfile
impl Hash for OpusProfile
Source§impl PartialEq for OpusProfile
impl PartialEq for OpusProfile
impl Eq for OpusProfile
impl StructuralPartialEq for OpusProfile
Auto Trait Implementations§
impl Freeze for OpusProfile
impl RefUnwindSafe for OpusProfile
impl Send for OpusProfile
impl Sync for OpusProfile
impl Unpin for OpusProfile
impl UnsafeUnpin for OpusProfile
impl UnwindSafe for OpusProfile
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more