1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-19 06:41:47 -05: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>
</property>
<property name="text">
<string>20150101 00:00:00.000</string>
<string>2015-01-01 00:00:00.000</string>
</property>
</widget>
</item>
@ -240,6 +240,9 @@
<height>0</height>
</size>
</property>
<property name="text">
<string>127.0.0.1</string>
</property>
</widget>
</item>
<item>
@ -257,6 +260,9 @@
<height>0</height>
</size>
</property>
<property name="text">
<string>9090</string>
</property>
</widget>
</item>
<item>

View File

@ -142,11 +142,11 @@ void SDRdaemonUDPHandler::processData()
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);
SDRdaemonInput::MsgReportSDRdaemonStreamData *report = SDRdaemonInput::MsgReportSDRdaemonStreamData::create(
m_samplerate,
m_centerFrequency,
m_centerFrequency, // Frequency in kHz for the GUI
m_tv_sec,
m_tv_usec);
m_outputMessageQueueToGUI->push(report);