mirror of
https://github.com/cjcliffe/CubicSDR.git
synced 2024-11-26 13:48:38 -05:00
Additional low-low bw mode for audio input
This commit is contained in:
parent
68c409486e
commit
6bc79b147e
@ -442,7 +442,11 @@ void CubicSDR::setSampleRate(long long rate_in) {
|
||||
sdrThread->setSampleRate(sampleRate);
|
||||
setFrequency(frequency);
|
||||
|
||||
if (rate_in <= CHANNELIZER_RATE_MAX) {
|
||||
if (rate_in <= CHANNELIZER_RATE_MAX / 2) {
|
||||
appframe->setMainWaterfallFFTSize(512);
|
||||
appframe->getWaterfallDataThread()->getProcessor()->setHideDC(false);
|
||||
spectrumVisualThread->getProcessor()->setHideDC(false);
|
||||
} else if (rate_in <= CHANNELIZER_RATE_MAX) {
|
||||
appframe->setMainWaterfallFFTSize(1024);
|
||||
appframe->getWaterfallDataThread()->getProcessor()->setHideDC(false);
|
||||
spectrumVisualThread->getProcessor()->setHideDC(false);
|
||||
|
Loading…
Reference in New Issue
Block a user