1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-06-01 21:54:55 -04:00
This commit is contained in:
John Greb
2014-11-12 18:22:49 +00:00
parent f78b2eebaf
commit 80a9d30fc3
7 changed files with 17 additions and 102 deletions
+5 -5
View File
@@ -23,29 +23,29 @@
V4LThread::V4LThread(SampleFifo* sampleFifo, QObject* parent) :
QThread(parent),
m_running(false),
m_dev(1),
m_convertBuffer(BLOCKSIZE),
m_sampleFifo(sampleFifo)
{
}
V4LThread::~V4LThread()
{
}
void V4LThread::stopWork()
{
m_running = false;
}
void V4LThread::run()
{
m_running = true;
if (! Init() )
return;
m_running = true;
while(m_running) {
work(BLOCKSIZE);
}
m_running = false;
CloseSource();
}