mirror of
https://github.com/f4exb/sdrangel.git
synced 2025-09-05 14:47:50 -04:00
Remote Sink: fixed center frequency in meta data
This commit is contained in:
parent
14a21b10cb
commit
5d1d455a90
@ -117,6 +117,7 @@ bool RemoteSinkBaseband::handleMessage(const Message& cmd)
|
|||||||
qDebug() << "RemoteSinkBaseband::handleMessage: DSPSignalNotification: basebandSampleRate:" << m_basebandSampleRate;
|
qDebug() << "RemoteSinkBaseband::handleMessage: DSPSignalNotification: basebandSampleRate:" << m_basebandSampleRate;
|
||||||
m_channelizer->setBasebandSampleRate(m_basebandSampleRate);
|
m_channelizer->setBasebandSampleRate(m_basebandSampleRate);
|
||||||
m_sink.applyBasebandSampleRate(m_basebandSampleRate);
|
m_sink.applyBasebandSampleRate(m_basebandSampleRate);
|
||||||
|
m_sink.setDeviceCenterFrequency(notif.getCenterFrequency());
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
@ -43,6 +43,7 @@ public:
|
|||||||
|
|
||||||
void applySettings(const RemoteSinkSettings& settings, bool force = false);
|
void applySettings(const RemoteSinkSettings& settings, bool force = false);
|
||||||
void applyBasebandSampleRate(uint32_t sampleRate);
|
void applyBasebandSampleRate(uint32_t sampleRate);
|
||||||
|
void setDeviceCenterFrequency(uint64_t frequency) { m_deviceCenterFrequency = frequency; }
|
||||||
|
|
||||||
private:
|
private:
|
||||||
RemoteSinkSettings m_settings;
|
RemoteSinkSettings m_settings;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user