[][src]Enum miniaudio::Channel

#[repr(u8)]pub enum Channel {
    None,
    Mono,
    FrontLeft,
    FrontRight,
    FrontCenter,
    Lfe,
    BackLeft,
    BackRight,
    FrontLeftCenter,
    FrontRightCenter,
    BackCenter,
    SideLeft,
    SideRight,
    TopCenter,
    TopFrontLeft,
    TopFrontCenter,
    TopFrontRight,
    TopBackLeft,
    TopBackCenter,
    TopBackRight,
    Aux0,
    Aux1,
    Aux2,
    Aux3,
    Aux4,
    Aux5,
    Aux6,
    Aux7,
    Aux8,
    Aux9,
    Aux10,
    Aux11,
    Aux12,
    Aux13,
    Aux14,
    Aux15,
    Aux16,
    Aux17,
    Aux18,
    Aux19,
    Aux20,
    Aux21,
    Aux22,
    Aux23,
    Aux24,
    Aux25,
    Aux26,
    Aux27,
    Aux28,
    Aux29,
    Aux30,
    Aux31,
}

Variants

None
Mono
FrontLeft
FrontRight
FrontCenter
Lfe
BackLeft
BackRight
FrontLeftCenter
FrontRightCenter
BackCenter
SideLeft
SideRight
TopCenter
TopFrontLeft
TopFrontCenter
TopFrontRight
TopBackLeft
TopBackCenter
TopBackRight
Aux0
Aux1
Aux2
Aux3
Aux4
Aux5
Aux6
Aux7
Aux8
Aux9
Aux10
Aux11
Aux12
Aux13
Aux14
Aux15
Aux16
Aux17
Aux18
Aux19
Aux20
Aux21
Aux22
Aux23
Aux24
Aux25
Aux26
Aux27
Aux28
Aux29
Aux30
Aux31

Methods

impl Channel[src]

pub fn from_c(c_enum: ma_channel) -> Channel[src]

impl Channel[src]

pub const LEFT: Self[src]

The default left channel.

pub const RIGHT: Self[src]

The default right channel.

pub const COUNT: usize[src]

The number of channels.

Trait Implementations

impl Clone for Channel[src]

impl Copy for Channel[src]

impl Debug for Channel[src]

impl Default for Channel[src]

impl Eq for Channel[src]

impl PartialEq<Channel> for Channel[src]

impl StructuralEq for Channel[src]

impl StructuralPartialEq for Channel[src]

Auto Trait Implementations

impl RefUnwindSafe for Channel

impl Send for Channel

impl Sync for Channel

impl Unpin for Channel

impl UnwindSafe for Channel

Blanket Implementations

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

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

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

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

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

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

type Owned = T

The resulting type after obtaining ownership.

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.