1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-06-09 01:14:58 -04:00

Clang clean compile

This commit is contained in:
f4exb
2018-03-04 01:47:51 +01:00
parent 98fc93a26b
commit 28e9df5fe8
66 changed files with 184 additions and 207 deletions
@@ -28,7 +28,7 @@
const int SDRdaemonSourceBuffer::m_sampleSize = 2;
const int SDRdaemonSourceBuffer::m_iqSampleSize = 2 * m_sampleSize;
SDRdaemonSourceBuffer::SDRdaemonSourceBuffer(uint32_t throttlems) :
SDRdaemonSourceBuffer::SDRdaemonSourceBuffer() :
m_decoderIndexHead(nbDecoderSlots/2),
m_frameHead(0),
m_curNbBlocks(0),
@@ -39,7 +39,6 @@ SDRdaemonSourceBuffer::SDRdaemonSourceBuffer(uint32_t throttlems) :
m_maxNbRecovery(0),
m_framesDecoded(true),
m_readIndex(0),
m_throttlemsNominal(throttlems),
m_readBuffer(0),
m_readSize(0),
m_bufferLenSec(0.0f),
@@ -83,7 +83,7 @@ public:
};
#pragma pack(pop)
SDRdaemonSourceBuffer(uint32_t throttlems);
SDRdaemonSourceBuffer();
~SDRdaemonSourceBuffer();
// R/W operations
@@ -207,7 +207,6 @@ private:
uint32_t m_tvOut_usec; //!< Estimated returned samples timestamp (microseconds)
int m_readNbBytes; //!< Nominal number of bytes per read (50ms)
uint32_t m_throttlemsNominal; //!< Initial throttle in ms
uint8_t* m_readBuffer; //!< Read buffer to hold samples when looping back to beginning of raw buffer
int m_readSize; //!< Read buffer size
@@ -52,9 +52,7 @@ SDRdaemonSourceInput::SDRdaemonSourceInput(DeviceSourceAPI *deviceAPI) :
m_settings(),
m_SDRdaemonUDPHandler(0),
m_deviceDescription(),
m_startingTimeStamp(0),
m_autoFollowRate(false),
m_autoCorrBuffer(false)
m_startingTimeStamp(0)
{
m_sender = nn_socket(AF_SP, NN_PAIR);
assert(m_sender != -1);
@@ -297,8 +297,6 @@ private:
int m_sender;
QString m_deviceDescription;
std::time_t m_startingTimeStamp;
bool m_autoFollowRate;
bool m_autoCorrBuffer;
FileRecord *m_fileSink; //!< File sink to record device I/Q output
void applySettings(const SDRdaemonSourceSettings& settings, bool force = false);
@@ -32,7 +32,6 @@ SDRdaemonSourceUDPHandler::SDRdaemonSourceUDPHandler(SampleSinkFifo *sampleFifo,
m_masterTimerConnected(false),
m_running(false),
m_rateDivider(1000/SDRDAEMONSOURCE_THROTTLE_MS),
m_sdrDaemonBuffer(m_rateDivider),
m_dataSocket(0),
m_dataAddress(QHostAddress::LocalHost),
m_remoteAddress(QHostAddress::LocalHost),