From ac18c12ae77493e74414e15c9ed31615aed9d28f Mon Sep 17 00:00:00 2001 From: xenakios Date: Mon, 5 Feb 2018 23:28:36 +0200 Subject: [PATCH] Clean up unused code --- Source/PluginProcessor.cpp | 7 ------- 1 file changed, 7 deletions(-) diff --git a/Source/PluginProcessor.cpp b/Source/PluginProcessor.cpp index 2f1b8c7..ed08f41 100644 --- a/Source/PluginProcessor.cpp +++ b/Source/PluginProcessor.cpp @@ -757,15 +757,8 @@ void PaulstretchpluginAudioProcessor::finishRecording(int lenrecording) m_is_recording = false; m_stretch_source->setAudioBufferAsInputSource(&m_recbuffer, getSampleRateChecked(), lenrecording); m_stretch_source->setPlayRange({ *getFloatParameter(cpi_soundstart),*getFloatParameter(cpi_soundend) }, true); - auto ed = dynamic_cast(getActiveEditor()); - if (ed) - { - //ed->setAudioBuffer(&m_recbuffer, getSampleRate(), lenrecording); - } } -//============================================================================== -// This creates new instances of the plugin.. AudioProcessor* JUCE_CALLTYPE createPluginFilter() { return new PaulstretchpluginAudioProcessor();