Detect host offline rendering state and if active, use the stretchsource directly instead of the thread buffered source

This commit is contained in:
xenakios
2017-12-19 00:37:02 +02:00
parent d900572506
commit 7238c71e66
3 changed files with 11 additions and 2 deletions

View File

@ -118,6 +118,8 @@ void PaulstretchpluginAudioProcessorEditor::timerCallback(int id)
String(processor.getStretchSource()->getFFTSize());
if (processor.m_abnormal_output_samples > 0)
infotext += " " + String(processor.m_abnormal_output_samples) + " invalid sample values";
if (processor.isNonRealtime())
infotext += " (offline rendering)";
m_info_label.setText(infotext, dontSendNotification);
}
if (id == 2)