Fix spectrum visual failure below 1% averaging speed

This commit is contained in:
Charles J. Cliffe 2015-08-14 21:36:31 -04:00
parent b41d0a3613
commit 91a6e45ed3

View File

@ -746,6 +746,9 @@ void AppFrame::OnIdle(wxIdleEvent& event) {
if (spectrumAvgMeter->inputChanged()) {
float val = spectrumAvgMeter->getInputValue();
if (val < 0.01) {
val = 0.01;
}
spectrumAvgMeter->setLevel(val);
proc->setFFTAverageRate(val);