1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-06-20 06:38:36 -04:00

Removed destroy method leftovers and Sonar lint

This commit is contained in:
f4exb
2024-08-25 23:36:46 +02:00
parent a014491e61
commit b3215ce3d6
131 changed files with 518 additions and 621 deletions
@@ -47,21 +47,8 @@ MESSAGE_CLASS_DEFINITION(RemoteOutput::MsgRequestFixedData, Message)
RemoteOutput::RemoteOutput(DeviceAPI *deviceAPI) :
m_deviceAPI(deviceAPI),
m_running(false),
m_settings(),
m_centerFrequency(435000000),
m_sampleRate(48000),
m_remoteOutputWorker(nullptr),
m_deviceDescription("RemoteOutput"),
m_startingTimeStamp(0),
m_masterTimer(deviceAPI->getMasterTimer()),
m_tickCount(0),
m_greaterTickCount(0),
m_tickMultiplier(1),
m_queueLength(0),
m_queueSize(0),
m_recoverableCount(0),
m_unrecoverableCount(0)
m_masterTimer(deviceAPI->getMasterTimer())
{
m_deviceAPI->setNbSinkStreams(1);
m_networkManager = new QNetworkAccessManager();
+13 -13
View File
@@ -259,22 +259,22 @@ public:
private:
DeviceAPI *m_deviceAPI;
QRecursiveMutex m_mutex;
bool m_running;
bool m_running = false;
RemoteOutputSettings m_settings;
uint64_t m_centerFrequency;
int m_sampleRate;
RemoteOutputWorker* m_remoteOutputWorker;
uint64_t m_centerFrequency = 435000000;
int m_sampleRate = 48000;
RemoteOutputWorker* m_remoteOutputWorker = nullptr;
QThread m_remoteOutputWorkerThread;
QString m_deviceDescription;
std::time_t m_startingTimeStamp;
QString m_deviceDescription = "RemoteOutput";
std::time_t m_startingTimeStamp = 0;
const QTimer& m_masterTimer;
uint32_t m_tickCount; // for 50 ms timer
uint32_t m_greaterTickCount; // for 1 s derived timer
uint32_t m_tickMultiplier; // for greater tick count
int m_queueLength;
int m_queueSize;
int m_recoverableCount;
int m_unrecoverableCount;
uint32_t m_tickCount = 0; // for 50 ms timer
uint32_t m_greaterTickCount = 0; // for 1 s derived timer
uint32_t m_tickMultiplier = 1; // for greater tick count
int m_queueLength = 0;
int m_queueSize = 0;
int m_recoverableCount = 0;
int m_unrecoverableCount = 0;
QNetworkAccessManager *m_networkManager;
QNetworkRequest m_networkRequest;