1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-12-23 01:55:48 -05:00

SigMF file sink: fixed spectrum GUI center frequency setting (baseband to GUI communication)

This commit is contained in:
f4exb 2021-01-30 18:54:21 +01:00
parent 02378b132f
commit a0ee89243c
2 changed files with 7 additions and 0 deletions

View File

@ -84,6 +84,12 @@ SigMFFileSink::~SigMFFileSink()
delete m_basebandSink;
}
void SigMFFileSink::setMessageQueueToGUI(MessageQueue* queue)
{
BasebandSampleSink::setMessageQueueToGUI(queue);
m_basebandSink->setMessageQueueToGUI(queue);
}
uint32_t SigMFFileSink::getNumberOfDeviceStreams() const
{
return m_deviceAPI->getNbSourceStreams();

View File

@ -117,6 +117,7 @@ public:
const QStringList& channelSettingsKeys,
SWGSDRangel::SWGChannelSettings& response);
void setMessageQueueToGUI(MessageQueue* queue) override;
void getLocalDevices(std::vector<uint32_t>& indexes);
uint32_t getNumberOfDeviceStreams() const;
SpectrumVis *getSpectrumVis() { return &m_spectrumVis; }