1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-06-01 13:47:01 -04:00

XTRX: fixes for better stability

This commit is contained in:
f4exb
2019-01-03 13:08:11 +01:00
parent 3b648609db
commit bbec66c662
4 changed files with 25 additions and 13 deletions
@@ -95,6 +95,7 @@ void XTRXInputThread::run()
params.rx.wfmt = XTRX_WF_16;
params.rx.hfmt = XTRX_IQ_INT16;
params.rx_stream_start = 2*DeviceXTRX::blockSize; // was 2*8192
params.rx.paketsize = 2*DeviceXTRX::blockSize;
if (m_nbChannels == 1)
{
@@ -144,6 +145,10 @@ void XTRXInputThread::run()
break;
}
if (nfo.out_events & RCVEX_EVENT_OVERFLOW) {
qDebug("XTRXInputThread::run: overflow");
}
if (m_nbChannels > 1) {
callbackMI((const qint16*) buffs[0], (const qint16*) buffs[1], 2 * nfo.out_samples);
} else {