Dummy data bump shouldn't be needed now; racing with small bandwidths?

This commit is contained in:
Charles J. Cliffe 2016-07-10 20:29:31 -04:00
parent 9436f99dd5
commit 4783ae5be1

View File

@ -105,12 +105,12 @@ void SDRPostThread::updateActiveDemodulators() {
// deactivate if active
if (demod->isActive() && !demod->isFollow() && !demod->isTracking()) {
demod->setActive(false);
DemodulatorThreadIQData *dummyDataOut = new DemodulatorThreadIQData;
dummyDataOut->frequency = frequency;
dummyDataOut->sampleRate = sampleRate;
if (!demodQueue->push(dummyDataOut)) {
delete dummyDataOut;
}
// DemodulatorThreadIQData *dummyDataOut = new DemodulatorThreadIQData;
// dummyDataOut->frequency = frequency;
// dummyDataOut->sampleRate = sampleRate;
// if (!demodQueue->push(dummyDataOut)) {
// delete dummyDataOut;
// }
}
// follow if follow mode