Try smaller render buffer size, didn't help

This commit is contained in:
xenakios 2019-01-20 21:45:43 +02:00
parent cf85f992c8
commit 0dd0fb962e

View File

@ -537,7 +537,7 @@ String PaulstretchpluginAudioProcessor::offlineRender(OfflineRenderParams render
if (outsr < 10.0) if (outsr < 10.0)
outsr = processor->getStretchSource()->getInfileSamplerate(); outsr = processor->getStretchSource()->getInfileSamplerate();
Logger::writeToLog(outputfiletouse.getFullPathName() + " " + String(outsr) + " " + String(renderpars.outputformat)); Logger::writeToLog(outputfiletouse.getFullPathName() + " " + String(outsr) + " " + String(renderpars.outputformat));
int blocksize{ 2048 }; int blocksize{ 1024 };
int numoutchans = *processor->getIntParameter(cpi_num_outchans); int numoutchans = *processor->getIntParameter(cpi_num_outchans);
processor->setPlayConfigDetails(0, numoutchans, outsr, blocksize); processor->setPlayConfigDetails(0, numoutchans, outsr, blocksize);
processor->prepareToPlay(renderpars.outsr, blocksize); processor->prepareToPlay(renderpars.outsr, blocksize);