mirror of
				https://github.com/f4exb/sdrangel.git
				synced 2025-10-31 13:00:26 -04:00 
			
		
		
		
	SDRdaemon plugin: corrected main spectrum frequency display
This commit is contained in:
		
							parent
							
								
									f04b6c4dc1
								
							
						
					
					
						commit
						0b0d57724c
					
				| @ -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> | ||||||
|  | |||||||
| @ -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); | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user