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

LimeSDR: use constant instead of define for buffer size

This commit is contained in:
f4exb
2020-04-09 06:45:12 +02:00
parent f528347fd5
commit 03d39f8483
5 changed files with 14 additions and 14 deletions
@@ -27,8 +27,7 @@
#include "dsp/samplesinkfifo.h"
#include "dsp/decimators.h"
#include "limesdr/devicelimesdrshared.h"
#define LIMESDR_BLOCKSIZE (1<<15) //complex samples per buffer
#include "limesdr/devicelimesdr.h"
class LimeSDRInputThread : public QThread, public DeviceLimeSDRShared::ThreadInterface
{
@@ -50,7 +49,7 @@ private:
bool m_running;
lms_stream_t* m_stream;
qint16 m_buf[2*LIMESDR_BLOCKSIZE]; //must hold I+Q values of each sample hence 2xcomplex size
qint16 m_buf[2*DeviceLimeSDR::blockSize]; //must hold I+Q values of each sample hence 2xcomplex size
SampleVector m_convertBuffer;
SampleSinkFifo* m_sampleFifo;