1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-07-28 13:04:17 -04:00

Fallback of sample sink vector in test MI source and device MIMO engine

This commit is contained in:
f4exb
2019-09-10 18:44:43 +02:00
parent 7a1fa085c5
commit 0a03c5d587
7 changed files with 78 additions and 21 deletions
+4 -3
View File
@@ -25,7 +25,6 @@
#include <QElapsedTimer>
#include <QDebug>
#include "dsp/samplesinkvector.h"
#include "dsp/decimators.h"
#include "dsp/ncof.h"
#include "util/message.h"
@@ -35,6 +34,8 @@
#define TESTMI_THROTTLE_MS 50
class SampleSinkFifo;
class TestMIThread : public QThread {
Q_OBJECT
@@ -58,7 +59,7 @@ public:
{ }
};
TestMIThread(SampleSinkVector* sampleFifo, int streamIndex, QObject* parent = 0);
TestMIThread(SampleSinkFifo* sampleFifo, int streamIndex, QObject* parent = 0);
~TestMIThread();
void startStop(bool start);
@@ -89,7 +90,7 @@ private:
quint32 m_bufsize;
quint32 m_chunksize;
SampleVector m_convertBuffer;
SampleSinkVector* m_sampleFifo;
SampleSinkFifo* m_sampleFifo;
int m_streamIndex;
NCOF m_nco;
NCOF m_toneNco;