From 4a89c2f1c4785be313b5a129caa69267be7d30d1 Mon Sep 17 00:00:00 2001 From: xenakios Date: Sat, 25 Nov 2017 05:52:48 +0200 Subject: [PATCH] Init FFT size with parameter value --- Source/PluginProcessor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/PluginProcessor.cpp b/Source/PluginProcessor.cpp index 6ae9d0b..c79cdd4 100644 --- a/Source/PluginProcessor.cpp +++ b/Source/PluginProcessor.cpp @@ -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;