type updates
This commit is contained in:
parent
6beeb70549
commit
57e988572f
|
@ -53,5 +53,5 @@ public:
|
|||
return refCount.load();
|
||||
}
|
||||
protected:
|
||||
std::atomic<int> refCount;
|
||||
std::atomic_int refCount;
|
||||
};
|
||||
|
|
|
@ -52,12 +52,12 @@ public:
|
|||
|
||||
AudioThreadInput *currentInput;
|
||||
AudioThreadInputQueue *inputQueue;
|
||||
std::atomic<unsigned int> audioQueuePtr;
|
||||
std::atomic<unsigned int> underflowCount;
|
||||
std::atomic<bool> terminated;
|
||||
std::atomic<bool> initialized;
|
||||
std::atomic<bool> active;
|
||||
std::atomic<int> outputDevice;
|
||||
std::atomic_uint audioQueuePtr;
|
||||
std::atomic_uint underflowCount;
|
||||
std::atomic_bool terminated;
|
||||
std::atomic_bool initialized;
|
||||
std::atomic_bool active;
|
||||
std::atomic_int outputDevice;
|
||||
std::atomic<float> gain;
|
||||
|
||||
AudioThread(AudioThreadInputQueue *inputQueue, DemodulatorThreadCommandQueue* threadQueueNotify);
|
||||
|
|
|
@ -68,8 +68,8 @@ protected:
|
|||
nco_crcf freqShifter;
|
||||
int shiftFrequency;
|
||||
|
||||
std::atomic<bool> terminated;
|
||||
std::atomic<bool> initialized;
|
||||
std::atomic_bool terminated;
|
||||
std::atomic_bool initialized;
|
||||
|
||||
DemodulatorWorkerThread *workerThread;
|
||||
std::thread *t_Worker;
|
||||
|
|
|
@ -93,5 +93,5 @@ protected:
|
|||
DemodulatorThreadWorkerCommandQueue *commandQueue;
|
||||
DemodulatorThreadWorkerResultQueue *resultQueue;
|
||||
|
||||
std::atomic<bool> terminated;
|
||||
std::atomic_bool terminated;
|
||||
};
|
||||
|
|
|
@ -31,10 +31,10 @@ protected:
|
|||
|
||||
std::mutex busy_demod;
|
||||
std::vector<DemodulatorInstance *> demodulators;
|
||||
std::atomic<bool> terminated;
|
||||
std::atomic_bool terminated;
|
||||
iirfilt_crcf dcFilter;
|
||||
int num_vis_samples;
|
||||
std::atomic<bool> swapIQ;
|
||||
std::atomic_bool swapIQ;
|
||||
|
||||
private:
|
||||
std::vector<liquid_float_complex> _lut;
|
||||
|
|
|
@ -149,10 +149,10 @@ public:
|
|||
|
||||
protected:
|
||||
std::atomic<uint32_t> sampleRate;
|
||||
std::atomic<long long> offset;
|
||||
std::atomic_llong offset;
|
||||
std::atomic<SDRThreadCommandQueue*> commandQueue;
|
||||
std::atomic<SDRThreadIQDataQueue*> iqDataOutQueue;
|
||||
|
||||
std::atomic<bool> terminated;
|
||||
std::atomic<int> deviceId;
|
||||
std::atomic_bool terminated;
|
||||
std::atomic_int deviceId;
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue