mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-26 01:39:05 -05:00
Websocket spectrum: adapted plugins (missing bits)
This commit is contained in:
parent
0d5ecaca9f
commit
4d9d804f97
@ -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);
|
||||
|
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user