From f3d769504daf87b36dbe1e85e246538024ff1220 Mon Sep 17 00:00:00 2001 From: xenakios Date: Sun, 17 Dec 2017 22:57:37 +0200 Subject: [PATCH] Show FFT size in samples in the info label. --- Source/PluginEditor.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Source/PluginEditor.cpp b/Source/PluginEditor.cpp index 47938af..0323ee1 100644 --- a/Source/PluginEditor.cpp +++ b/Source/PluginEditor.cpp @@ -113,7 +113,9 @@ void PaulstretchpluginAudioProcessorEditor::timerCallback(int id) m_wavecomponent.setRecordingPosition(processor.getRecordingPositionPercent()); } else m_wavecomponent.setRecordingPosition(-1.0); - String infotext = String(processor.getPreBufferingPercent(), 1) + " " + String(processor.getStretchSource()->m_param_change_count)+" "+m_last_err; + String infotext = String(processor.getPreBufferingPercent(), 1) + "% buffered " + + String(processor.getStretchSource()->m_param_change_count)+" param changes "+m_last_err+" FFT size "+ + String(processor.getStretchSource()->getFFTSize()); m_info_label.setText(infotext, dontSendNotification); } if (id == 2)