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

Remote Sink: methods cleanup

This commit is contained in:
f4exb 2019-12-12 18:23:22 +01:00
parent 923ac7695a
commit 18f833c650
2 changed files with 3 additions and 11 deletions

View File

@ -117,7 +117,6 @@ 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

@ -44,16 +44,6 @@ public:
void applySettings(const RemoteSinkSettings& settings, bool force = false);
void applyBasebandSampleRate(uint32_t sampleRate);
/** Set device center frequency given in Hz */
void setDeviceCenterFrequency(uint64_t centerFrequency) { m_deviceCenterFrequency = centerFrequency; }
/** Set sample rate given in Hz */
void setNbBlocksFEC(int nbBlocksFEC);
void setTxDelay(int txDelay, int nbBlocksFEC, int log2Decim);
void setDataAddress(const QString& address) { m_dataAddress = address; }
void setDataPort(uint16_t port) { m_dataPort = port; }
private:
RemoteSinkSettings m_settings;
QThread *m_senderThread;
@ -73,6 +63,9 @@ private:
int m_txDelay;
QString m_dataAddress;
uint16_t m_dataPort;
void setNbBlocksFEC(int nbBlocksFEC);
void setTxDelay(int txDelay, int nbBlocksFEC, int log2Decim);
};
#endif // INCLUDE_REMOTESINKSINK_H_