Attempt to provide extra data for a special host, not working like this

This commit is contained in:
xenakios
2018-03-24 01:01:40 +02:00
parent d5f6a99261
commit 52ebb38415
3 changed files with 22 additions and 2 deletions

View File

@ -328,7 +328,8 @@ void PaulstretchpluginAudioProcessorEditor::timerCallback(int id)
}
infotext += m_last_err + " [FFT size " +
String(processor.getStretchSource()->getFFTSize())+"]";
double outlen = processor.getStretchSource()->getOutputDurationSecondsForRange(processor.getStretchSource()->getPlayRange(), processor.getStretchSource()->getFFTSize());
double outlen = processor.getStretchSource()->getOutputDurationSecondsForRange(processor.getStretchSource()->getPlayRange(),
processor.getStretchSource()->getFFTSize());
infotext += " [Output length " + secondsToString2(outlen)+"]";
if (processor.m_abnormal_output_samples > 0)
infotext += " " + String(processor.m_abnormal_output_samples) + " invalid sample values";