mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-06-01 21:54:55 -04:00
Device plugins: make setMessageQueueToGUI pure virtual so that child classes must have to deal with this
This commit is contained in:
@@ -32,7 +32,6 @@
|
||||
#include "dsp/filerecord.h"
|
||||
|
||||
MESSAGE_CLASS_DEFINITION(RTLSDRInput::MsgConfigureRTLSDR, Message)
|
||||
MESSAGE_CLASS_DEFINITION(RTLSDRInput::MsgReportRTLSDR, Message)
|
||||
MESSAGE_CLASS_DEFINITION(RTLSDRInput::MsgFileRecord, Message)
|
||||
MESSAGE_CLASS_DEFINITION(RTLSDRInput::MsgStartStop, Message)
|
||||
|
||||
@@ -481,17 +480,6 @@ bool RTLSDRInput::applySettings(const RTLSDRSettings& settings, bool force)
|
||||
return true;
|
||||
}
|
||||
|
||||
void RTLSDRInput::setMessageQueueToGUI(MessageQueue *queue)
|
||||
{
|
||||
qDebug("RTLSDRInput::setMessageQueueToGUI: %p", queue);
|
||||
DeviceSampleSource::setMessageQueueToGUI(queue);
|
||||
|
||||
if (queue) {
|
||||
MsgReportRTLSDR *message = MsgReportRTLSDR::create(m_gains);
|
||||
queue->push(message);
|
||||
}
|
||||
}
|
||||
|
||||
void RTLSDRInput::set_ds_mode(int on)
|
||||
{
|
||||
rtlsdr_set_direct_sampling(m_dev, on);
|
||||
|
||||
Reference in New Issue
Block a user