mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-15 12:51:49 -05:00
DeviceSampleSink: removed output queue to GUI
This commit is contained in:
parent
ca674efb24
commit
0eab0fdb20
@ -99,7 +99,7 @@ bool FileSinkOutput::start()
|
||||
qDebug("FileSinkOutput::start: started");
|
||||
|
||||
MsgReportFileSinkGeneration *report = MsgReportFileSinkGeneration::create(true); // acquisition on
|
||||
getOutputMessageQueueToGUI()->push(report);
|
||||
getMessageQueueToGUI()->push(report);
|
||||
|
||||
return true;
|
||||
}
|
||||
@ -121,7 +121,7 @@ void FileSinkOutput::stop()
|
||||
}
|
||||
|
||||
MsgReportFileSinkGeneration *report = MsgReportFileSinkGeneration::create(false); // acquisition off
|
||||
getOutputMessageQueueToGUI()->push(report);
|
||||
getMessageQueueToGUI()->push(report);
|
||||
}
|
||||
|
||||
const QString& FileSinkOutput::getDeviceDescription() const
|
||||
@ -186,7 +186,7 @@ bool FileSinkOutput::handleMessage(const Message& message)
|
||||
if (m_fileSinkThread != 0)
|
||||
{
|
||||
report = MsgReportFileSinkStreamTiming::create(m_fileSinkThread->getSamplesCount());
|
||||
getOutputMessageQueueToGUI()->push(report);
|
||||
getMessageQueueToGUI()->push(report);
|
||||
}
|
||||
|
||||
return true;
|
||||
|
@ -152,7 +152,7 @@ bool SDRdaemonSinkOutput::handleMessage(const Message& message)
|
||||
if (m_sdrDaemonSinkThread != 0)
|
||||
{
|
||||
report = MsgReportSDRdaemonSinkStreamTiming::create(m_sdrDaemonSinkThread->getSamplesCount());
|
||||
getOutputMessageQueueToGUI()->push(report);
|
||||
getMessageQueueToGUI()->push(report);
|
||||
}
|
||||
|
||||
return true;
|
||||
|
@ -44,7 +44,6 @@ public:
|
||||
MessageQueue *getInputMessageQueue() { return &m_inputMessageQueue; }
|
||||
void setMessageQueueToGUI(MessageQueue *queue) { m_guiMessageQueue = queue; }
|
||||
MessageQueue *getMessageQueueToGUI() { return m_guiMessageQueue; }
|
||||
MessageQueue *getOutputMessageQueueToGUI() { return &m_outputMessageQueueToGUI; } // TODO: remove
|
||||
SampleSourceFifo* getSampleFifo() { return &m_sampleSourceFifo; }
|
||||
|
||||
protected slots:
|
||||
@ -54,7 +53,6 @@ protected:
|
||||
SampleSourceFifo m_sampleSourceFifo;
|
||||
MessageQueue m_inputMessageQueue; //!< Input queue to the sink
|
||||
MessageQueue *m_guiMessageQueue; //!< Input message queue to the GUI
|
||||
MessageQueue m_outputMessageQueueToGUI; //!< Output queue specialized for the sink GUI // TODO: remove
|
||||
};
|
||||
|
||||
#endif /* SDRBASE_DSP_DEVICESAMPLESINK_H_ */
|
||||
|
Loading…
Reference in New Issue
Block a user