1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-22 16:08:39 -05:00

Tx: new handling of multiple channel sources. Fixed segfault

This commit is contained in:
f4exb 2018-01-02 04:01:01 +01:00
parent df1e09fdb7
commit f30edc983d

View File

@ -621,9 +621,7 @@ void DSPDeviceSinkEngine::checkNumberOfBasebandSources()
m_multipleSourcesDivisionFactor = 1<<nbSources;
}
if (nbSources == 0) {
disconnect(sampleFifo, SIGNAL(dataWrite(int)), this, SLOT(handleData(int)));
} else if (nbSources > 1) {
if (nbSources > 1) {
connect(sampleFifo, SIGNAL(dataWrite(int)), this, SLOT(handleData(int)), Qt::QueuedConnection);
}