1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2025-05-24 03:02:29 -04:00

SDRdaemon plugin: corrected main spectrum frequency display

This commit is contained in:
f4exb 2016-02-18 00:33:04 +01:00
parent f04b6c4dc1
commit 0b0d57724c
2 changed files with 9 additions and 3 deletions

View File

@ -172,7 +172,7 @@
<string>Record absolute time</string> <string>Record absolute time</string>
</property> </property>
<property name="text"> <property name="text">
<string>20150101 00:00:00.000</string> <string>2015-01-01 00:00:00.000</string>
</property> </property>
</widget> </widget>
</item> </item>
@ -240,6 +240,9 @@
<height>0</height> <height>0</height>
</size> </size>
</property> </property>
<property name="text">
<string>127.0.0.1</string>
</property>
</widget> </widget>
</item> </item>
<item> <item>
@ -257,6 +260,9 @@
<height>0</height> <height>0</height>
</size> </size>
</property> </property>
<property name="text">
<string>9090</string>
</property>
</widget> </widget>
</item> </item>
<item> <item>

View File

@ -142,11 +142,11 @@ void SDRdaemonUDPHandler::processData()
if (change) if (change)
{ {
DSPSignalNotification *notif = new DSPSignalNotification(m_samplerate, m_centerFrequency); DSPSignalNotification *notif = new DSPSignalNotification(m_samplerate, m_centerFrequency * 1000); // Frequency in Hz for the DSP engine
DSPEngine::instance()->getInputMessageQueue()->push(notif); DSPEngine::instance()->getInputMessageQueue()->push(notif);
SDRdaemonInput::MsgReportSDRdaemonStreamData *report = SDRdaemonInput::MsgReportSDRdaemonStreamData::create( SDRdaemonInput::MsgReportSDRdaemonStreamData *report = SDRdaemonInput::MsgReportSDRdaemonStreamData::create(
m_samplerate, m_samplerate,
m_centerFrequency, m_centerFrequency, // Frequency in kHz for the GUI
m_tv_sec, m_tv_sec,
m_tv_usec); m_tv_usec);
m_outputMessageQueueToGUI->push(report); m_outputMessageQueueToGUI->push(report);