Init FFT size with parameter value

This commit is contained in:
xenakios 2017-11-25 05:52:48 +02:00
parent 8bd4468603
commit 4a89c2f1c4

View File

@ -222,7 +222,7 @@ void PaulstretchpluginAudioProcessor::prepareToPlay(double sampleRate, int sampl
}
if (m_ready_to_play == false)
{
setFFTSize(0.5);
setFFTSize(*getFloatParameter(2));
m_stretch_source->setProcessParameters(&m_ppar);
String err;