Layout parameter components manually...Add parameter for input pass through. etc
This commit is contained in:
@ -147,6 +147,7 @@ PaulstretchpluginAudioProcessor::PaulstretchpluginAudioProcessor()
|
||||
addParameter(m_outchansparam); // 27
|
||||
addParameter(new AudioParameterBool("pause_enabled0", "Pause", false)); // 28
|
||||
addParameter(new AudioParameterFloat("maxcapturelen_0", "Max capture length", 1.0f, 120.0f, 10.0f)); // 29
|
||||
addParameter(new AudioParameterBool("passthrough0", "Pass input through", false)); // 30
|
||||
setPreBufferAmount(2);
|
||||
startTimer(1, 50);
|
||||
}
|
||||
@ -176,6 +177,13 @@ void PaulstretchpluginAudioProcessor::setPreBufferAmount(int x)
|
||||
}
|
||||
}
|
||||
|
||||
int PaulstretchpluginAudioProcessor::getPreBufferAmount()
|
||||
{
|
||||
if (m_use_backgroundbuffering == false)
|
||||
return -1;
|
||||
return m_prebuffer_amount;
|
||||
}
|
||||
|
||||
//==============================================================================
|
||||
const String PaulstretchpluginAudioProcessor::getName() const
|
||||
{
|
||||
|
Reference in New Issue
Block a user