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:
parent
df1e09fdb7
commit
f30edc983d
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user