From 5cf060f4d68239d35edad0817d9b64665d3263ce Mon Sep 17 00:00:00 2001 From: f4exb Date: Tue, 4 Sep 2018 14:00:42 +0200 Subject: [PATCH] SDRdaemonSinkOutput: removed unused attributes --- plugins/samplesink/sdrdaemonsink/sdrdaemonsinkoutput.cpp | 4 ---- plugins/samplesink/sdrdaemonsink/sdrdaemonsinkoutput.h | 2 -- 2 files changed, 6 deletions(-) diff --git a/plugins/samplesink/sdrdaemonsink/sdrdaemonsinkoutput.cpp b/plugins/samplesink/sdrdaemonsink/sdrdaemonsinkoutput.cpp index d30838339..0a4525a4b 100644 --- a/plugins/samplesink/sdrdaemonsink/sdrdaemonsinkoutput.cpp +++ b/plugins/samplesink/sdrdaemonsink/sdrdaemonsinkoutput.cpp @@ -55,8 +55,6 @@ SDRdaemonSinkOutput::SDRdaemonSinkOutput(DeviceSinkAPI *deviceAPI) : m_tickMultiplier(20), m_lastRemoteSampleCount(0), m_lastSampleCount(0), - m_lastRemoteTimestampUs(0), - m_lastTimestampUs(0), m_lastRemoteTimestampRateCorrection(0), m_lastTimestampRateCorrection(0), m_nbRemoteSamplesSinceRateCorrection(0), @@ -569,8 +567,6 @@ void SDRdaemonSinkOutput::analyzeApiReply(const QJsonObject& jsonObject) m_lastRemoteSampleCount = remoteSampleCount; m_lastSampleCount = sampleCount; - m_lastRemoteTimestampUs = remoteTimestampUs; // TODO: remove - m_lastTimestampUs = timestampUs; // TODO: remove } } diff --git a/plugins/samplesink/sdrdaemonsink/sdrdaemonsinkoutput.h b/plugins/samplesink/sdrdaemonsink/sdrdaemonsinkoutput.h index 6dc29df94..30fc4ee2e 100644 --- a/plugins/samplesink/sdrdaemonsink/sdrdaemonsinkoutput.h +++ b/plugins/samplesink/sdrdaemonsink/sdrdaemonsinkoutput.h @@ -180,8 +180,6 @@ private: uint32_t m_lastRemoteSampleCount; uint32_t m_lastSampleCount; - uint64_t m_lastRemoteTimestampUs; - uint64_t m_lastTimestampUs; uint64_t m_lastRemoteTimestampRateCorrection; uint64_t m_lastTimestampRateCorrection; uint32_t m_nbRemoteSamplesSinceRateCorrection;