From f30edc983d700fa2d62a60d9e1e479d11f84c53a Mon Sep 17 00:00:00 2001 From: f4exb Date: Tue, 2 Jan 2018 04:01:01 +0100 Subject: [PATCH] Tx: new handling of multiple channel sources. Fixed segfault --- sdrbase/dsp/dspdevicesinkengine.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/sdrbase/dsp/dspdevicesinkengine.cpp b/sdrbase/dsp/dspdevicesinkengine.cpp index 714698f44..31662fbc8 100644 --- a/sdrbase/dsp/dspdevicesinkengine.cpp +++ b/sdrbase/dsp/dspdevicesinkengine.cpp @@ -621,9 +621,7 @@ void DSPDeviceSinkEngine::checkNumberOfBasebandSources() m_multipleSourcesDivisionFactor = 1< 1) { + if (nbSources > 1) { connect(sampleFifo, SIGNAL(dataWrite(int)), this, SLOT(handleData(int)), Qt::QueuedConnection); }