Enum opus::Bitrate [] [src]

pub enum Bitrate {
    Bits(i32),
    Max,
    Auto,
}

Possible bitrates.

Variants

Explicit bitrate choice (in bits/second).

Maximum bitrate allowed (up to maximum number of bytes for the packet).

Default bitrate decided by the encoder (not recommended).

Trait Implementations

impl Debug for Bitrate
[src]

Formats the value using the given formatter.

impl Copy for Bitrate
[src]

impl Clone for Bitrate
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Eq for Bitrate
[src]

impl PartialEq for Bitrate
[src]

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

This method tests for !=.

impl Hash for Bitrate
[src]

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

Feeds a slice of this type into the state provided.