1
0
Fork 0

Announce zero latency when switching back to IIR

This commit is contained in:
Robbert van der Helm 2022-06-07 20:36:02 +02:00
parent 469e47e8bf
commit c23cf8e7ee

View file

@ -230,6 +230,8 @@ impl Plugin for Crossover {
// Right now both crossover types only do 24 dB/octave Linkwitz-Riley style crossovers
match self.params.crossover_type.value() {
CrossoverType::LinkwitzRiley24 => {
context.set_latency_samples(0);
self.process_iir(buffer, aux);
}
CrossoverType::LinkwitzRiley24LinearPhase => {