Implement the input passthrough parameter

This commit is contained in:
xenakios
2017-12-23 07:23:38 +02:00
parent 820259b001
commit 9ee8aa6ade
3 changed files with 4 additions and 7 deletions

View File

@ -473,7 +473,7 @@ void PaulstretchpluginAudioProcessor::processBlock (AudioSampleBuffer& buffer, M
{
m_buffering_source->getNextAudioBlock(aif);
}
if (m_pass_input_through == true)
if (getParameter(cpi_passthrough) > 0.5f)
{
for (int i = 0; i < totalNumInputChannels; ++i)
{