Announce zero latency when switching back to IIR
This commit is contained in:
parent
469e47e8bf
commit
c23cf8e7ee
|
@ -230,6 +230,8 @@ impl Plugin for Crossover {
|
||||||
// Right now both crossover types only do 24 dB/octave Linkwitz-Riley style crossovers
|
// Right now both crossover types only do 24 dB/octave Linkwitz-Riley style crossovers
|
||||||
match self.params.crossover_type.value() {
|
match self.params.crossover_type.value() {
|
||||||
CrossoverType::LinkwitzRiley24 => {
|
CrossoverType::LinkwitzRiley24 => {
|
||||||
|
context.set_latency_samples(0);
|
||||||
|
|
||||||
self.process_iir(buffer, aux);
|
self.process_iir(buffer, aux);
|
||||||
}
|
}
|
||||||
CrossoverType::LinkwitzRiley24LinearPhase => {
|
CrossoverType::LinkwitzRiley24LinearPhase => {
|
||||||
|
|
Loading…
Reference in a new issue