fix passthrough while recording issue

This commit is contained in:
essej 2022-04-21 12:15:31 -04:00
parent b1b8d98355
commit 26bd7513b7

View File

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