type updates

This commit is contained in:
Charles J. Cliffe 2015-07-19 23:19:10 -04:00
parent 6beeb70549
commit 57e988572f
6 changed files with 15 additions and 15 deletions

View File

@ -53,5 +53,5 @@ public:
return refCount.load();
}
protected:
std::atomic<int> refCount;
std::atomic_int refCount;
};

View File

@ -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);

View File

@ -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;

View File

@ -93,5 +93,5 @@ protected:
DemodulatorThreadWorkerCommandQueue *commandQueue;
DemodulatorThreadWorkerResultQueue *resultQueue;
std::atomic<bool> terminated;
std::atomic_bool terminated;
};

View File

@ -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;

View File

@ -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;
};