Update output channel count on the fly. Somewhat hacky...

This commit is contained in:
xenakios
2017-12-14 00:44:46 +02:00
parent 3fc51ab8c6
commit 76880a8d5f
2 changed files with 14 additions and 2 deletions

View File

@ -35,6 +35,8 @@ PaulstretchpluginAudioProcessorEditor::PaulstretchpluginAudioProcessorEditor (Pa
bool notifyonlyonrelease = false;
if (parid->paramID.startsWith("fftsize"))
notifyonlyonrelease = true;
if (parid->paramID.startsWith("numoutchans"))
notifyonlyonrelease = true;
m_parcomps.push_back(std::make_shared<ParameterComponent>(pars[i],notifyonlyonrelease));
addAndMakeVisible(m_parcomps.back().get());
}