unnecessary frequency=0 check..

This commit is contained in:
Charles J. Cliffe 2016-06-03 20:35:08 -04:00
parent 8e8e1af4ae
commit 296b0da04a

View File

@ -286,7 +286,7 @@ void SpectrumVisualProcessor::process() {
int bwDiff;
if (is_view.load()) {
if (!iqData->frequency || !iqData->sampleRate) {
if (!iqData->sampleRate) {
iqData->decRefCount();
return;