diff --git a/plugins/channelrx/demodbfm/bfmdemodgui.cpp b/plugins/channelrx/demodbfm/bfmdemodgui.cpp index d2386ac74..f6237068e 100644 --- a/plugins/channelrx/demodbfm/bfmdemodgui.cpp +++ b/plugins/channelrx/demodbfm/bfmdemodgui.cpp @@ -117,7 +117,6 @@ bool BFMDemodGUI::handleMessage(const Message& message) qDebug("BFMDemodGUI::handleMessage: BFMDemodReport::MsgReportChannelSampleRateChanged: %d S/s", m_rate); ui->glSpectrum->setCenterFrequency(m_rate / 4); ui->glSpectrum->setSampleRate(m_rate / 2); - m_spectrumVis->configureDSP(m_rate / 4, m_rate / 2); return true; } else if (BFMDemod::MsgConfigureBFMDemod::match(message)) @@ -407,7 +406,6 @@ BFMDemodGUI::BFMDemodGUI(PluginAPI* pluginAPI, DeviceUISet *deviceUISet, Baseban SpectrumVis::AvgModeNone, // no averaging FFTWindow::BlackmanHarris, false); // logarithmic scale - m_spectrumVis->configureDSP(m_rate / 4, m_rate / 2); connect(&MainWindow::getInstance()->getMasterTimer(), SIGNAL(timeout()), this, SLOT(tick())); m_channelMarker.blockSignals(true); diff --git a/plugins/channeltx/udpsource/udpsource.cpp b/plugins/channeltx/udpsource/udpsource.cpp index d018a55e6..764da4a16 100644 --- a/plugins/channeltx/udpsource/udpsource.cpp +++ b/plugins/channeltx/udpsource/udpsource.cpp @@ -171,10 +171,8 @@ void UDPSource::applySettings(const UDPSourceSettings& settings, bool force) if ((settings.m_sampleFormat != m_settings.m_sampleFormat) || force) { reverseAPIKeys.append("sampleFormat"); } - if ((settings.m_inputSampleRate != m_settings.m_inputSampleRate) || force) - { + if ((settings.m_inputSampleRate != m_settings.m_inputSampleRate) || force) { reverseAPIKeys.append("inputSampleRate"); - m_spectrumVis.configureDSP(0, settings.m_inputSampleRate); } if ((settings.m_rfBandwidth != m_settings.m_rfBandwidth) || force) { reverseAPIKeys.append("rfBandwidth");