LimeSDR: have still a 1ms delay after start/stop stream as it makes the Tx gain setting a bit more fluid

pull/127/head
f4exb 2017-10-30 03:02:45 +01:00
rodzic c3de895301
commit 2deccbc259
2 zmienionych plików z 4 dodań i 0 usunięć

Wyświetl plik

@ -41,6 +41,7 @@ void LimeSDROutputThread::startWork()
if (LMS_StartStream(m_stream) < 0) {
qCritical("LimeSDROutputThread::startWork: could not start stream");
} else {
usleep(1000);
qDebug("LimeSDROutputThread::startWork: stream started");
}
@ -61,6 +62,7 @@ void LimeSDROutputThread::stopWork()
if (LMS_StopStream(m_stream) < 0) {
qCritical("LimeSDROutputThread::stopWork: could not stop stream");
} else {
usleep(1000);
qDebug("LimeSDROutputThread::stopWork: stream stopped");
}
}

Wyświetl plik

@ -42,6 +42,7 @@ void LimeSDRInputThread::startWork()
if (LMS_StartStream(m_stream) < 0) {
qCritical("LimeSDRInputThread::startWork: could not start stream");
} else {
usleep(1000);
qDebug("LimeSDRInputThread::startWork: stream started");
}
@ -62,6 +63,7 @@ void LimeSDRInputThread::stopWork()
if (LMS_StopStream(m_stream) < 0) {
qCritical("LimeSDRInputThread::stopWork: could not stop stream");
} else {
usleep(1000);
qDebug("LimeSDRInputThread::stopWork: stream stopped");
}
}