Clean up unused code
This commit is contained in:
parent
185cd27bef
commit
ac18c12ae7
@ -757,15 +757,8 @@ void PaulstretchpluginAudioProcessor::finishRecording(int lenrecording)
|
|||||||
m_is_recording = false;
|
m_is_recording = false;
|
||||||
m_stretch_source->setAudioBufferAsInputSource(&m_recbuffer, getSampleRateChecked(), lenrecording);
|
m_stretch_source->setAudioBufferAsInputSource(&m_recbuffer, getSampleRateChecked(), lenrecording);
|
||||||
m_stretch_source->setPlayRange({ *getFloatParameter(cpi_soundstart),*getFloatParameter(cpi_soundend) }, true);
|
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()
|
AudioProcessor* JUCE_CALLTYPE createPluginFilter()
|
||||||
{
|
{
|
||||||
return new PaulstretchpluginAudioProcessor();
|
return new PaulstretchpluginAudioProcessor();
|
||||||
|
Loading…
Reference in New Issue
Block a user