1
0
Fork 0

Clear the main output in Crossover

This commit is contained in:
Robbert van der Helm 2022-05-29 14:43:01 +02:00
parent c7f5cd1cec
commit c83fb2863e

View file

@ -140,16 +140,17 @@ impl Plugin for Crossover {
fn process( fn process(
&mut self, &mut self,
_buffer: &mut Buffer, buffer: &mut Buffer,
_aux: &mut AuxiliaryBuffers, _aux: &mut AuxiliaryBuffers,
_context: &mut impl ProcessContext, _context: &mut impl ProcessContext,
) -> ProcessStatus { ) -> ProcessStatus {
// // TODO // TODO: Do the splitty thing
// let main = _buffer.as_slice();
// let outputs = _aux.outputs[0].as_slice(); // The main output should be silent as the signal is already evenly split over the other
// for (m, o) in main.iter_mut().zip(outputs.iter_mut()) { // bands
// o.copy_from_slice(m); for channel_slice in buffer.as_slice() {
// } channel_slice.fill(0.0);
}
ProcessStatus::Normal ProcessStatus::Normal
} }