mirror of
https://github.com/cjcliffe/CubicSDR.git
synced 2025-09-10 10:47:51 -04:00
range / suppression adjustments
This commit is contained in:
parent
b77caaf263
commit
129ab337e2
@ -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);
|
||||||
|
@ -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);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user