[−][src]Struct audio_mixer::Mixer
Methods
impl<T> Mixer<T> where
T: Copy + Debug + MixingCoefficient,
T::Coef: AddAssign + Copy + Debug + Default + Mul<T::Coef, Output = T::Coef>,
[src]
T: Copy + Debug + MixingCoefficient,
T::Coef: AddAssign + Copy + Debug + Default + Mul<T::Coef, Output = T::Coef>,
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]
T: Copy + Debug + MixingCoefficient,
T::Coef: AddAssign + Copy + Debug + Default + Mul<T::Coef, Output = T::Coef>,
Auto Trait Implementations
impl<T> RefUnwindSafe for Mixer<T> where
<T as MixingCoefficient>::Coef: RefUnwindSafe,
<T as MixingCoefficient>::Coef: RefUnwindSafe,
impl<T> Send for Mixer<T> where
<T as MixingCoefficient>::Coef: Send,
<T as MixingCoefficient>::Coef: Send,
impl<T> Sync for Mixer<T> where
<T as MixingCoefficient>::Coef: Sync,
<T as MixingCoefficient>::Coef: Sync,
impl<T> Unpin for Mixer<T> where
<T as MixingCoefficient>::Coef: Unpin,
<T as MixingCoefficient>::Coef: Unpin,
impl<T> UnwindSafe for Mixer<T> where
<T as MixingCoefficient>::Coef: UnwindSafe,
<T as MixingCoefficient>::Coef: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,