pub trait AudioBlockOps<S: Sample> {
// Required method
fn mix_to_mono(&self, dest: &mut AudioBlockMonoViewMut<'_, S>)
where S: AddAssign + Div<Output = S> + From<u16>;
}Required Methods§
Sourcefn mix_to_mono(&self, dest: &mut AudioBlockMonoViewMut<'_, S>)
fn mix_to_mono(&self, dest: &mut AudioBlockMonoViewMut<'_, S>)
Mix all channels to mono by averaging them. Panics if source and destination don’t have the same number of frames.