Adjust 512/1024 FFT samplerate threshold

This commit is contained in:
Charles J. Cliffe 2015-12-30 03:24:35 -05:00
parent 6bc79b147e
commit b4fc0ab8b9

View File

@ -442,7 +442,7 @@ void CubicSDR::setSampleRate(long long rate_in) {
sdrThread->setSampleRate(sampleRate); sdrThread->setSampleRate(sampleRate);
setFrequency(frequency); setFrequency(frequency);
if (rate_in <= CHANNELIZER_RATE_MAX / 2) { if (rate_in <= CHANNELIZER_RATE_MAX / 8) {
appframe->setMainWaterfallFFTSize(512); appframe->setMainWaterfallFFTSize(512);
appframe->getWaterfallDataThread()->getProcessor()->setHideDC(false); appframe->getWaterfallDataThread()->getProcessor()->setHideDC(false);
spectrumVisualThread->getProcessor()->setHideDC(false); spectrumVisualThread->getProcessor()->setHideDC(false);