mirror of
https://github.com/f4exb/sdrangel.git
synced 2025-05-23 18:52:28 -04:00
LimeSDR: reduced delay after LMS_StartStream and LMS_StopStream to 0.1s
This commit is contained in:
parent
46ec8e17d2
commit
83e5dc5951
@ -79,7 +79,7 @@ void LimeSDROutputThread::run()
|
|||||||
if (LMS_StartStream(m_stream) < 0) {
|
if (LMS_StartStream(m_stream) < 0) {
|
||||||
qCritical("LimeSDROutputThread::run: could not start stream");
|
qCritical("LimeSDROutputThread::run: could not start stream");
|
||||||
} else {
|
} else {
|
||||||
usleep(500000);
|
usleep(100000);
|
||||||
qDebug("LimeSDROutputThread::run: stream started");
|
qDebug("LimeSDROutputThread::run: stream started");
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -123,7 +123,7 @@ void LimeSDROutputThread::run()
|
|||||||
if (LMS_StopStream(m_stream) < 0) {
|
if (LMS_StopStream(m_stream) < 0) {
|
||||||
qCritical("LimeSDROutputThread::run: could not stop stream");
|
qCritical("LimeSDROutputThread::run: could not stop stream");
|
||||||
} else {
|
} else {
|
||||||
usleep(500000);
|
usleep(100000);
|
||||||
qDebug("LimeSDROutputThread::run: stream stopped");
|
qDebug("LimeSDROutputThread::run: stream stopped");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -78,7 +78,7 @@ void LimeSDRInputThread::run()
|
|||||||
if (LMS_StartStream(m_stream) < 0) {
|
if (LMS_StartStream(m_stream) < 0) {
|
||||||
qCritical("LimeSDRInputThread::run: could not start stream");
|
qCritical("LimeSDRInputThread::run: could not start stream");
|
||||||
} else {
|
} else {
|
||||||
usleep(500000);
|
usleep(100000);
|
||||||
qDebug("LimeSDRInputThread::run: stream started");
|
qDebug("LimeSDRInputThread::run: stream started");
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -97,7 +97,7 @@ void LimeSDRInputThread::run()
|
|||||||
if (LMS_StopStream(m_stream) < 0) {
|
if (LMS_StopStream(m_stream) < 0) {
|
||||||
qCritical("LimeSDRInputThread::run: could not stop stream");
|
qCritical("LimeSDRInputThread::run: could not stop stream");
|
||||||
} else {
|
} else {
|
||||||
usleep(500000);
|
usleep(100000);
|
||||||
qDebug("LimeSDRInputThread::run: stream stopped");
|
qDebug("LimeSDRInputThread::run: stream stopped");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user