mirror of
https://github.com/f4exb/sdrangel.git
synced 2025-09-03 05:37:50 -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:
parent
c3de895301
commit
2deccbc259
@ -41,6 +41,7 @@ void LimeSDROutputThread::startWork()
|
|||||||
if (LMS_StartStream(m_stream) < 0) {
|
if (LMS_StartStream(m_stream) < 0) {
|
||||||
qCritical("LimeSDROutputThread::startWork: could not start stream");
|
qCritical("LimeSDROutputThread::startWork: could not start stream");
|
||||||
} else {
|
} else {
|
||||||
|
usleep(1000);
|
||||||
qDebug("LimeSDROutputThread::startWork: stream started");
|
qDebug("LimeSDROutputThread::startWork: stream started");
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -61,6 +62,7 @@ void LimeSDROutputThread::stopWork()
|
|||||||
if (LMS_StopStream(m_stream) < 0) {
|
if (LMS_StopStream(m_stream) < 0) {
|
||||||
qCritical("LimeSDROutputThread::stopWork: could not stop stream");
|
qCritical("LimeSDROutputThread::stopWork: could not stop stream");
|
||||||
} else {
|
} else {
|
||||||
|
usleep(1000);
|
||||||
qDebug("LimeSDROutputThread::stopWork: stream stopped");
|
qDebug("LimeSDROutputThread::stopWork: stream stopped");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -42,6 +42,7 @@ void LimeSDRInputThread::startWork()
|
|||||||
if (LMS_StartStream(m_stream) < 0) {
|
if (LMS_StartStream(m_stream) < 0) {
|
||||||
qCritical("LimeSDRInputThread::startWork: could not start stream");
|
qCritical("LimeSDRInputThread::startWork: could not start stream");
|
||||||
} else {
|
} else {
|
||||||
|
usleep(1000);
|
||||||
qDebug("LimeSDRInputThread::startWork: stream started");
|
qDebug("LimeSDRInputThread::startWork: stream started");
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -62,6 +63,7 @@ void LimeSDRInputThread::stopWork()
|
|||||||
if (LMS_StopStream(m_stream) < 0) {
|
if (LMS_StopStream(m_stream) < 0) {
|
||||||
qCritical("LimeSDRInputThread::stopWork: could not stop stream");
|
qCritical("LimeSDRInputThread::stopWork: could not stop stream");
|
||||||
} else {
|
} else {
|
||||||
|
usleep(1000);
|
||||||
qDebug("LimeSDRInputThread::stopWork: stream stopped");
|
qDebug("LimeSDRInputThread::stopWork: stream stopped");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user