Enum opus::CodingMode [] [src]

pub enum CodingMode {
    Voip,
    Audio,
    LowDelay,
}

The possible coding modes for the codec.

Variants

Voip

Best for most VoIP/videoconference applications where listening quality and intelligibility matter most.

Audio

Best for broadcast/high-fidelity application where the decoded audio should be as close as possible to the input.

LowDelay

Only use when lowest-achievable latency is what matters most.

Trait Implementations

impl Hash for CodingMode
[src]

fn hash<__H: Hasher>(&self, __arg_0: &mut __H)

Feeds this value into the state given, updating the hasher as necessary.

fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher
1.3.0

Feeds a slice of this type into the state provided.

impl PartialEq for CodingMode
[src]

fn eq(&self, __arg_0: &CodingMode) -> bool

This method tests for self and other values to be equal, and is used by ==. Read more

fn ne(&self, other: &Rhs) -> bool
1.0.0

This method tests for !=.

impl Eq for CodingMode
[src]

impl Copy for CodingMode
[src]

impl Clone for CodingMode
[src]

fn clone(&self) -> CodingMode

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl Debug for CodingMode
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.