1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-06-10 17:58:36 -04:00

FCD Streaming.

This commit is contained in:
John Greb
2014-12-01 16:56:27 +00:00
parent 46dcbe6db7
commit 21578a555e
3 changed files with 20 additions and 7 deletions
+3 -1
View File
@@ -44,9 +44,11 @@ void FCDThread::run()
m_running = true;
if ( !OpenSource("hw:CARD=V20") )
return;
// TODO: fallback to original fcd
while(m_running) {
work(BLOCKSIZE);
if ( work(BLOCKSIZE) < 0)
break;
}
CloseSource();
}