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

LimeSDR input: increased FIFO and buffer sizes

This commit is contained in:
f4exb 2017-04-24 09:57:21 +02:00
parent 5a588c6c63
commit 0c62f50bc7
2 changed files with 2 additions and 2 deletions

View File

@ -175,7 +175,7 @@ bool LimeSDRInput::openDevice()
// set up the stream
m_streamId.channel = m_deviceShared.m_channel; //channel number
m_streamId.fifoSize = 1024 * 128; //fifo size in samples
m_streamId.fifoSize = 1024 * 1024; //fifo size in samples
m_streamId.throughputVsLatency = 1.0; //optimize for max throughput
m_streamId.isTx = false; //RX channel
m_streamId.dataFmt = lms_stream_t::LMS_FMT_I12; //12-bit integers

View File

@ -27,7 +27,7 @@
#include "dsp/decimators.h"
#include "limesdr/devicelimesdrshared.h"
#define LIMESDR_BLOCKSIZE (1<<14) //complex samples per buffer ~10k (16k)
#define LIMESDR_BLOCKSIZE (1<<15) //complex samples per buffer
class LimeSDRInputThread : public QThread, public DeviceLimeSDRShared::ThreadInterface
{