[][src]Enum cauldron::audio::ChannelLayout

pub enum ChannelLayout {
    Mono,
    Stereo,
    TwoPointOne,
    ThreePointZero,
    Quad,
    FivePointZero,
    FivePointOne,
    SixPointOne,
    SixPointOneBack,
    SevenPointOne,
}

ChannelLayout describes common audio channel configurations. Run ffmpeg -layouts to see the layout mappings

Variants

Mono
Stereo
TwoPointOne
ThreePointZero
Quad
FivePointZero
FivePointOne
SixPointOne
SixPointOneBack
SevenPointOne

Methods

impl ChannelLayout[src]

pub fn into_channels(self) -> Channels[src]

Converts a channel ChannelLayout into a Channels bit mask.

Trait Implementations

impl Clone for ChannelLayout[src]

impl Copy for ChannelLayout[src]

impl Display for ChannelLayout[src]

impl Debug for ChannelLayout[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]