Browse Source

Clean up unused code

tags/1.0.0
xenakios 7 years ago
parent
commit
ac18c12ae7
1 changed files with 0 additions and 7 deletions
  1. +0
    -7
      Source/PluginProcessor.cpp

+ 0
- 7
Source/PluginProcessor.cpp View File

@@ -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<PaulstretchpluginAudioProcessorEditor*>(getActiveEditor());
if (ed)
{
//ed->setAudioBuffer(&m_recbuffer, getSampleRate(), lenrecording);
}
}

//==============================================================================
// This creates new instances of the plugin..
AudioProcessor* JUCE_CALLTYPE createPluginFilter()
{
return new PaulstretchpluginAudioProcessor();


Loading…
Cancel
Save