mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-26 09:48:45 -05:00
Tx: new handling of multiple channel sources. Fixed segfault
This commit is contained in:
parent
df1e09fdb7
commit
f30edc983d
@ -621,9 +621,7 @@ void DSPDeviceSinkEngine::checkNumberOfBasebandSources()
|
|||||||
m_multipleSourcesDivisionFactor = 1<<nbSources;
|
m_multipleSourcesDivisionFactor = 1<<nbSources;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (nbSources == 0) {
|
if (nbSources > 1) {
|
||||||
disconnect(sampleFifo, SIGNAL(dataWrite(int)), this, SLOT(handleData(int)));
|
|
||||||
} else if (nbSources > 1) {
|
|
||||||
connect(sampleFifo, SIGNAL(dataWrite(int)), this, SLOT(handleData(int)), Qt::QueuedConnection);
|
connect(sampleFifo, SIGNAL(dataWrite(int)), this, SLOT(handleData(int)), Qt::QueuedConnection);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user