[][src]Enum miniaudio::ChannelMixMode

#[repr(C)]pub enum ChannelMixMode {
    Rectangular,
    Simple,
    CustomWeights,
}

Variants

Rectangular

Simple averaging based on the plane(s) the channel is sitting on.

Simple

Drop excess channels; zeroed out extra channels.

CustomWeights

Use custom weights specified in ChannelRouterConfig.

Implementations

impl ChannelMixMode[src]

pub fn from_c(c_enum: ma_channel_mix_mode) -> ChannelMixMode[src]

impl ChannelMixMode[src]

pub const PLANAR_BLEND: Self[src]

pub const DEFAULT: Self[src]

Trait Implementations

impl Clone for ChannelMixMode[src]

impl Copy for ChannelMixMode[src]

impl Debug for ChannelMixMode[src]

impl Default for ChannelMixMode[src]

impl Eq for ChannelMixMode[src]

impl PartialEq<ChannelMixMode> for ChannelMixMode[src]

impl StructuralEq for ChannelMixMode[src]

impl StructuralPartialEq for ChannelMixMode[src]

Auto Trait Implementations

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.