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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user