mirror of
https://github.com/cjcliffe/CubicSDR.git
synced 2026-06-18 05:38:36 -04:00
cleanup / refactor / profiled
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
#include "CubicSDR.h"
|
||||
|
||||
SDRPostThread::SDRPostThread() :
|
||||
iqDataInQueue(NULL), iqDataOutQueue(NULL), iqVisualQueue(NULL), terminated(false), dcFilter(NULL), sample_rate(SRATE) {
|
||||
sample_rate(SRATE), iqDataOutQueue(NULL), iqDataInQueue(NULL), iqVisualQueue(NULL), terminated(false), dcFilter(NULL) {
|
||||
}
|
||||
|
||||
SDRPostThread::~SDRPostThread() {
|
||||
|
||||
@@ -145,6 +145,8 @@ void SDRThread::threadMain() {
|
||||
freq_changed = true;
|
||||
new_freq = command.int_value;
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -46,7 +46,7 @@ public:
|
||||
}
|
||||
|
||||
SDRThreadIQData(unsigned int bandwidth, unsigned int frequency, std::vector<signed char> *data) :
|
||||
data(data), frequency(frequency), bandwidth(bandwidth) {
|
||||
frequency(frequency), bandwidth(bandwidth), data(data) {
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user