diff --git a/src/audio/AudioThread.cpp b/src/audio/AudioThread.cpp index 1c55bc9..9a4cbf2 100644 --- a/src/audio/AudioThread.cpp +++ b/src/audio/AudioThread.cpp @@ -10,7 +10,7 @@ std::map AudioThread::deviceThread; #endif AudioThread::AudioThread(AudioThreadInputQueue *inputQueue, DemodulatorThreadCommandQueue* threadQueueNotify) : -inputQueue(inputQueue), audio_queue_ptr(0), underflow_count(0), terminated(false), active(false), gain(1.0), threadQueueNotify(threadQueueNotify) { +currentInput(NULL), inputQueue(inputQueue), audio_queue_ptr(0), underflow_count(0), terminated(false), active(false), gain(1.0), threadQueueNotify(threadQueueNotify) { #ifdef __APPLE__ boundThreads = new std::vector; #endif diff --git a/src/sdr/SDRThread.h b/src/sdr/SDRThread.h index b917160..b2a59ed 100644 --- a/src/sdr/SDRThread.h +++ b/src/sdr/SDRThread.h @@ -41,7 +41,7 @@ public: std::vector data; SDRThreadIQData() : - frequency(0), bandwidth(0), data(NULL) { + frequency(0), bandwidth(0) { }