Enum opus::Bandwidth [] [src]

pub enum Bandwidth {
    Auto,
    Narrowband,
    Mediumband,
    Wideband,
    Superwideband,
    Fullband,
}

The available bandwidth level settings.

Variants

Auto

Auto/default setting.

Narrowband

4kHz bandpass.

Mediumband

6kHz bandpass.

Wideband

8kHz bandpass.

Superwideband

12kHz bandpass.

Fullband

20kHz bandpass.

Trait Implementations

impl Hash for Bandwidth
[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 Bandwidth
[src]

fn eq(&self, __arg_0: &Bandwidth) -> 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 Bandwidth
[src]

impl Copy for Bandwidth
[src]

impl Clone for Bandwidth
[src]

fn clone(&self) -> Bandwidth

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 Bandwidth
[src]

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

Formats the value using the given formatter.