1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-06-02 06:04:39 -04:00

RxTx semantic move: renamed SampleFifo to SampleSinkFifo

This commit is contained in:
f4exb
2016-10-06 19:18:02 +02:00
parent 12ac603741
commit 36aeaa3ea5
28 changed files with 86 additions and 76 deletions
+2 -2
View File
@@ -17,12 +17,12 @@
#include <stdio.h>
#include <errno.h>
#include "dsp/samplefifo.h"
#include "hackrfthread.h"
#include "../../../sdrbase/dsp/samplesinkfifo.h"
HackRFThread *HackRFThread::m_this = 0;
HackRFThread::HackRFThread(hackrf_device* dev, SampleFifo* sampleFifo, QObject* parent) :
HackRFThread::HackRFThread(hackrf_device* dev, SampleSinkFifo* sampleFifo, QObject* parent) :
QThread(parent),
m_running(false),
m_dev(dev),
+4 -3
View File
@@ -21,7 +21,8 @@
#include <QMutex>
#include <QWaitCondition>
#include <libhackrf/hackrf.h>
#include "dsp/samplefifo.h"
#include "../../../sdrbase/dsp/samplesinkfifo.h"
#include "dsp/decimators.h"
#define HACKRF_BLOCKSIZE (1<<17)
@@ -30,7 +31,7 @@ class HackRFThread : public QThread {
Q_OBJECT
public:
HackRFThread(hackrf_device* dev, SampleFifo* sampleFifo, QObject* parent = NULL);
HackRFThread(hackrf_device* dev, SampleSinkFifo* sampleFifo, QObject* parent = NULL);
~HackRFThread();
void startWork();
@@ -47,7 +48,7 @@ private:
hackrf_device* m_dev;
qint16 m_buf[2*HACKRF_BLOCKSIZE];
SampleVector m_convertBuffer;
SampleFifo* m_sampleFifo;
SampleSinkFifo* m_sampleFifo;
int m_samplerate;
unsigned int m_log2Decim;