1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

FirstOrderTPTFilter: Ensure state is updated properly when samplerate is changed

This commit is contained in:
reuk 2021-04-07 15:56:33 +01:00
parent cfd85ad4ee
commit d50c3920ef
No known key found for this signature in database
GPG key ID: 9ADCD339CFC98A11

View file

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