1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-06-01 21:54:55 -04:00

Perseus: workaround to fix sample rate setting and removal of useless passing to thread

This commit is contained in:
f4exb
2018-02-16 00:04:07 +01:00
parent 34081dd50b
commit 64044e521e
3 changed files with 28 additions and 26 deletions
@@ -25,7 +25,6 @@ PerseusThread::PerseusThread(perseus_descr* dev, SampleSinkFifo* sampleFifo, QOb
m_dev(dev),
m_convertBuffer(PERSEUS_NBSAMPLES),
m_sampleFifo(sampleFifo),
m_samplerate(10),
m_log2Decim(0)
{
m_this = this;
@@ -54,11 +53,6 @@ void PerseusThread::stopWork()
wait();
}
void PerseusThread::setSamplerate(uint32_t samplerate)
{
m_samplerate = samplerate;
}
void PerseusThread::setLog2Decimation(unsigned int log2_decim)
{
m_log2Decim = log2_decim;