mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-09-28 07:46:37 -04:00
LimeSDR input: increased FIFO and buffer sizes
This commit is contained in:
parent
5a588c6c63
commit
0c62f50bc7
@ -175,7 +175,7 @@ bool LimeSDRInput::openDevice()
|
|||||||
// set up the stream
|
// set up the stream
|
||||||
|
|
||||||
m_streamId.channel = m_deviceShared.m_channel; //channel number
|
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.throughputVsLatency = 1.0; //optimize for max throughput
|
||||||
m_streamId.isTx = false; //RX channel
|
m_streamId.isTx = false; //RX channel
|
||||||
m_streamId.dataFmt = lms_stream_t::LMS_FMT_I12; //12-bit integers
|
m_streamId.dataFmt = lms_stream_t::LMS_FMT_I12; //12-bit integers
|
||||||
|
@ -27,7 +27,7 @@
|
|||||||
#include "dsp/decimators.h"
|
#include "dsp/decimators.h"
|
||||||
#include "limesdr/devicelimesdrshared.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
|
class LimeSDRInputThread : public QThread, public DeviceLimeSDRShared::ThreadInterface
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user