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> Freeze for Downmix<T>
impl<T> RefUnwindSafe for Downmix<T>where
T: RefUnwindSafe + ?Sized,
impl<T> Send for Downmix<T>
impl<T> Sync for Downmix<T>
impl<T> Unpin for Downmix<T>
impl<T> UnwindSafe for Downmix<T>where
T: UnwindSafe + ?Sized,
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