1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-26 17:58:43 -05:00

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

This commit is contained in:
f4exb 2021-02-19 14:10:31 +01:00
parent 043a76faf8
commit ecc27467c1
2 changed files with 7 additions and 0 deletions

View File

@ -84,6 +84,12 @@ FileSink::~FileSink()
delete m_basebandSink;
}
void FileSink::setMessageQueueToGUI(MessageQueue* queue)
{
ChannelAPI::setMessageQueueToGUI(queue);
m_basebandSink->setMessageQueueToGUI(queue);
}
uint32_t FileSink::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; }