Bingo.. DemodulatorInstance deltaLock atomic_bool was uninitialized.. :)

This commit is contained in:
Charles J. Cliffe 2016-06-02 22:28:17 -04:00
parent 423c83f500
commit 5a6d97e480

View File

@ -11,17 +11,19 @@ DemodulatorInstance::DemodulatorInstance() :
#if ENABLE_DIGITAL_LAB #if ENABLE_DIGITAL_LAB
activeOutput = nullptr; activeOutput = nullptr;
#endif #endif
terminated.store(true); terminated.store(true);
audioTerminated.store(true);
demodTerminated.store(true); demodTerminated.store(true);
audioTerminated.store(true);
preDemodTerminated.store(true); preDemodTerminated.store(true);
active.store(false); active.store(false);
squelch.store(false); squelch.store(false);
muted.store(false); muted.store(false);
tracking.store(false); deltaLock.store(false);
follow.store(false); deltaLockOfs.store(0);
currentOutputDevice.store(-1); currentOutputDevice.store(-1);
currentAudioGain.store(1.0); currentAudioGain.store(1.0);
follow.store(false);
tracking.store(false);
label = new std::string("Unnamed"); label = new std::string("Unnamed");
pipeIQInputData = new DemodulatorThreadInputQueue; pipeIQInputData = new DemodulatorThreadInputQueue;