kopia lustrzana https://github.com/f4exb/sdrangel
BladeRF plugin: cleanup of useless methods and attributes
rodzic
866b076ac9
commit
0d4426b8f4
|
@ -325,7 +325,6 @@ bool BladerfInput::applySettings(const BladeRFSettings& settings, bool force)
|
|||
else
|
||||
{
|
||||
qDebug() << "bladerf_set_sample_rate(BLADERF_MODULE_RX) actual sample rate is " << actualSamplerate;
|
||||
m_bladerfThread->setSamplerate(m_settings.m_devSampleRate);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
#include <stdio.h>
|
||||
#include <errno.h>
|
||||
#include "bladerfthread.h"
|
||||
#include "../../../sdrbase/dsp/samplesinkfifo.h"
|
||||
#include "dsp/samplesinkfifo.h"
|
||||
|
||||
|
||||
|
||||
|
@ -27,7 +27,6 @@ BladerfThread::BladerfThread(struct bladerf* dev, SampleSinkFifo* sampleFifo, QO
|
|||
m_dev(dev),
|
||||
m_convertBuffer(BLADERF_BLOCKSIZE),
|
||||
m_sampleFifo(sampleFifo),
|
||||
m_samplerate(10),
|
||||
m_log2Decim(0),
|
||||
m_fcPos(0)
|
||||
{
|
||||
|
@ -53,11 +52,6 @@ void BladerfThread::stopWork()
|
|||
wait();
|
||||
}
|
||||
|
||||
void BladerfThread::setSamplerate(int samplerate)
|
||||
{
|
||||
m_samplerate = samplerate;
|
||||
}
|
||||
|
||||
void BladerfThread::setLog2Decimation(unsigned int log2_decim)
|
||||
{
|
||||
m_log2Decim = log2_decim;
|
||||
|
|
|
@ -22,7 +22,6 @@
|
|||
#include <QWaitCondition>
|
||||
#include <libbladeRF.h>
|
||||
#include "dsp/samplesinkfifo.h"
|
||||
//#include "dsp/inthalfbandfilter.h"
|
||||
#include "dsp/decimators.h"
|
||||
|
||||
#define BLADERF_BLOCKSIZE (1<<14)
|
||||
|
@ -36,7 +35,6 @@ public:
|
|||
|
||||
void startWork();
|
||||
void stopWork();
|
||||
void setSamplerate(int samplerate);
|
||||
void setLog2Decimation(unsigned int log2_decim);
|
||||
void setFcPos(int fcPos);
|
||||
|
||||
|
@ -50,7 +48,6 @@ private:
|
|||
SampleVector m_convertBuffer;
|
||||
SampleSinkFifo* m_sampleFifo;
|
||||
|
||||
int m_samplerate;
|
||||
unsigned int m_log2Decim;
|
||||
int m_fcPos;
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue