Browse Source

FirstOrderTPTFilter: Ensure state is updated properly when samplerate is changed

v6.1.6
reuk 4 years ago
parent
commit
d50c3920ef
No known key found for this signature in database GPG Key ID: 9ADCD339CFC98A11
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      modules/juce_dsp/processors/juce_FirstOrderTPTFilter.cpp

+ 1
- 0
modules/juce_dsp/processors/juce_FirstOrderTPTFilter.cpp View File

@@ -61,6 +61,7 @@ void FirstOrderTPTFilter<SampleType>::prepare (const ProcessSpec& spec)
sampleRate = spec.sampleRate;
s1.resize (spec.numChannels);
update();
reset();
}


Loading…
Cancel
Save