range / suppression adjustments

This commit is contained in:
Charles J. Cliffe 2015-02-01 00:08:55 -05:00
parent b77caaf263
commit 129ab337e2
2 changed files with 3 additions and 3 deletions

View File

@ -373,8 +373,8 @@ void AppFrame::OnIdle(wxIdleEvent& event) {
if (demodBw > wxGetApp().getSampleRate() / 2) { if (demodBw > wxGetApp().getSampleRate() / 2) {
demodBw = wxGetApp().getSampleRate() / 2; demodBw = wxGetApp().getSampleRate() / 2;
} }
if (demodBw < 50000) { if (demodBw < 30000) {
demodBw = 50000; demodBw = 30000;
} }
demodWaterfallCanvas->setBandwidth(demodBw); demodWaterfallCanvas->setBandwidth(demodBw);
demodSpectrumCanvas->setBandwidth(demodBw); demodSpectrumCanvas->setBandwidth(demodBw);

View File

@ -444,7 +444,7 @@ void WaterfallCanvas::setData(DemodulatorThreadIQData *input) {
} }
if (!resampler || bandwidth != lastBandwidth || lastInputBandwidth != input->sampleRate) { if (!resampler || bandwidth != lastBandwidth || lastInputBandwidth != input->sampleRate) {
float As = 120.0f; float As = 60.0f;
if (resampler) { if (resampler) {
msresamp_crcf_destroy(resampler); msresamp_crcf_destroy(resampler);