1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-09-28 15:56:33 -04:00

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

This commit is contained in:
f4exb 2017-10-30 03:02:45 +01:00
parent c3de895301
commit 2deccbc259
2 changed files with 4 additions and 0 deletions

View File

@ -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");
}
}

View File

@ -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");
}
}