1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-07-23 10:34:12 -04:00

Set frequency before first capture.

This commit is contained in:
John Greb
2014-12-03 00:13:18 +00:00
parent 6704651786
commit acdc87ccc5
5 changed files with 24 additions and 15 deletions
+2 -1
View File
@@ -20,12 +20,13 @@
#include "v4lthread.h"
#include "dsp/samplefifo.h"
V4LThread::V4LThread(SampleFifo* sampleFifo, QObject* parent) :
V4LThread::V4LThread(SampleFifo* sampleFifo, double frequency, QObject* parent) :
QThread(parent),
m_running(false),
m_convertBuffer(BLOCKSIZE),
m_sampleFifo(sampleFifo)
{
centerFreq = frequency;
start();
}