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:
parent
cfd85ad4ee
commit
d50c3920ef
1 changed files with 1 additions and 0 deletions
|
|
@ -61,6 +61,7 @@ void FirstOrderTPTFilter<SampleType>::prepare (const ProcessSpec& spec)
|
|||
sampleRate = spec.sampleRate;
|
||||
s1.resize (spec.numChannels);
|
||||
|
||||
update();
|
||||
reset();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue