mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-06-01 21:54:55 -04:00
Tidy.
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user