LimeSDR: reduced delay after LMS_StartStream and LMS_StopStream to 0.1s

pull/85/head
f4exb 2017-10-27 01:10:22 +02:00
rodzic 46ec8e17d2
commit 83e5dc5951
2 zmienionych plików z 4 dodań i 4 usunięć

Wyświetl plik

@ -79,7 +79,7 @@ void LimeSDROutputThread::run()
if (LMS_StartStream(m_stream) < 0) {
qCritical("LimeSDROutputThread::run: could not start stream");
} else {
usleep(500000);
usleep(100000);
qDebug("LimeSDROutputThread::run: stream started");
}
@ -123,7 +123,7 @@ void LimeSDROutputThread::run()
if (LMS_StopStream(m_stream) < 0) {
qCritical("LimeSDROutputThread::run: could not stop stream");
} else {
usleep(500000);
usleep(100000);
qDebug("LimeSDROutputThread::run: stream stopped");
}

Wyświetl plik

@ -78,7 +78,7 @@ void LimeSDRInputThread::run()
if (LMS_StartStream(m_stream) < 0) {
qCritical("LimeSDRInputThread::run: could not start stream");
} else {
usleep(500000);
usleep(100000);
qDebug("LimeSDRInputThread::run: stream started");
}
@ -97,7 +97,7 @@ void LimeSDRInputThread::run()
if (LMS_StopStream(m_stream) < 0) {
qCritical("LimeSDRInputThread::run: could not stop stream");
} else {
usleep(500000);
usleep(100000);
qDebug("LimeSDRInputThread::run: stream stopped");
}