LimeSDR: increased start/stop stream wait time to 50ms to fixed possible stability issues when changes are applied

This commit is contained in:
f4exb 2017-11-11 06:02:09 +01:00
parent be91456670
commit b226c594df
5 changed files with 7 additions and 6 deletions

1
debian/changelog vendored
View File

@ -2,6 +2,7 @@ sdrangel (3.8.3-1) unstable; urgency=medium
* ChannelAnalyzerNG: fixed GUI displays when channel sample rate changes
* SSB demod: fixed low cutoff channel marker display
* LimeSDR: increased start/stop stream wait time to 50ms
-- Edouard Griffiths, F4EXB <f4exb06@gmail.com> Sun, 12 Nov 2017 18:14:18 +0100

View File

@ -31,7 +31,7 @@
const PluginDescriptor LimeSDROutputPlugin::m_pluginDescriptor = {
QString("LimeSDR Output"),
QString("3.8.0"),
QString("3.8.3"),
QString("(c) Edouard Griffiths, F4EXB"),
QString("https://github.com/f4exb/sdrangel"),
true,

View File

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

View File

@ -31,7 +31,7 @@
const PluginDescriptor LimeSDRInputPlugin::m_pluginDescriptor = {
QString("LimeSDR Input"),
QString("3.8.0"),
QString("3.8.3"),
QString("(c) Edouard Griffiths, F4EXB"),
QString("https://github.com/f4exb/sdrangel"),
true,

View File

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