1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-10 10:33:29 -05:00

Remote Sink: fixed center frequency in meta data

This commit is contained in:
f4exb 2019-12-13 01:44:51 +01:00
parent 14a21b10cb
commit 5d1d455a90
2 changed files with 2 additions and 0 deletions

View File

@ -117,6 +117,7 @@ bool RemoteSinkBaseband::handleMessage(const Message& cmd)
qDebug() << "RemoteSinkBaseband::handleMessage: DSPSignalNotification: basebandSampleRate:" << m_basebandSampleRate;
m_channelizer->setBasebandSampleRate(m_basebandSampleRate);
m_sink.applyBasebandSampleRate(m_basebandSampleRate);
m_sink.setDeviceCenterFrequency(notif.getCenterFrequency());
return true;
}

View File

@ -43,6 +43,7 @@ public:
void applySettings(const RemoteSinkSettings& settings, bool force = false);
void applyBasebandSampleRate(uint32_t sampleRate);
void setDeviceCenterFrequency(uint64_t frequency) { m_deviceCenterFrequency = frequency; }
private:
RemoteSinkSettings m_settings;