From 0c62f50bc7cee8235273ee230eb4884e2d995d06 Mon Sep 17 00:00:00 2001 From: f4exb Date: Mon, 24 Apr 2017 09:57:21 +0200 Subject: [PATCH] LimeSDR input: increased FIFO and buffer sizes --- plugins/samplesource/limesdrinput/limesdrinput.cpp | 2 +- plugins/samplesource/limesdrinput/limesdrinputthread.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/samplesource/limesdrinput/limesdrinput.cpp b/plugins/samplesource/limesdrinput/limesdrinput.cpp index bda8df300..44a67ef3b 100644 --- a/plugins/samplesource/limesdrinput/limesdrinput.cpp +++ b/plugins/samplesource/limesdrinput/limesdrinput.cpp @@ -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 diff --git a/plugins/samplesource/limesdrinput/limesdrinputthread.h b/plugins/samplesource/limesdrinput/limesdrinputthread.h index 8237b5ca9..a0da4fabe 100644 --- a/plugins/samplesource/limesdrinput/limesdrinputthread.h +++ b/plugins/samplesource/limesdrinput/limesdrinputthread.h @@ -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 {