pub struct Downmix<T: ?Sized>(/* private fields */);
Expand description
Sums all channels together
Beware that downmixing produces a maximum amplitude equal to the sum of the maximum amplitudes of its inputs. However, scaling the mixed signal back down by that proportion will usually produce a quieter signal than the inputs.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<T: ?Sized> RefUnwindSafe for Downmix<T>where
T: RefUnwindSafe,
impl<T: ?Sized> Send for Downmix<T>where
T: Send,
impl<T: ?Sized> Sync for Downmix<T>where
T: Sync,
impl<T: ?Sized> Unpin for Downmix<T>where
T: Unpin,
impl<T: ?Sized> UnwindSafe for Downmix<T>where
T: UnwindSafe,
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more