BladeRF plugin: cleanup of useless methods and attributes

pull/27/head
f4exb 2016-11-12 22:57:25 +01:00
rodzic 866b076ac9
commit 0d4426b8f4
3 zmienionych plików z 1 dodań i 11 usunięć

Wyświetl plik

@ -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);
}
}
}

Wyświetl plik

@ -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;

Wyświetl plik

@ -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;