[][src]Struct audio_mixer::Mixer

pub struct Mixer<T> where
    T: Copy + Debug + MixingCoefficient,
    T::Coef: AddAssign + Copy + Debug + Default + Mul<T::Coef, Output = T::Coef>, 
{ /* fields omitted */ }

Methods

impl<T> Mixer<T> where
    T: Copy + Debug + MixingCoefficient,
    T::Coef: AddAssign + Copy + Debug + Default + Mul<T::Coef, Output = T::Coef>, 
[src]

pub fn new(input_channels: &[Channel], output_channels: &[Channel]) -> Self[src]

pub fn mix(&self, input_buffer: &[T], output_buffer: &mut [T])[src]

pub fn input_channels(&self) -> &[Channel][src]

pub fn output_channels(&self) -> &[Channel][src]

Trait Implementations

impl<T: Debug> Debug for Mixer<T> where
    T: Copy + Debug + MixingCoefficient,
    T::Coef: AddAssign + Copy + Debug + Default + Mul<T::Coef, Output = T::Coef>, 
[src]

Auto Trait Implementations

impl<T> RefUnwindSafe for Mixer<T> where
    <T as MixingCoefficient>::Coef: RefUnwindSafe

impl<T> Send for Mixer<T> where
    <T as MixingCoefficient>::Coef: Send

impl<T> Sync for Mixer<T> where
    <T as MixingCoefficient>::Coef: Sync

impl<T> Unpin for Mixer<T> where
    <T as MixingCoefficient>::Coef: Unpin

impl<T> UnwindSafe for Mixer<T> where
    <T as MixingCoefficient>::Coef: UnwindSafe

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, 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.