1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-06-03 06:24:48 -04:00

Fixed DSP device source/sink run command

This commit is contained in:
f4exb
2018-02-14 17:33:08 +01:00
parent 8f3ef9e76d
commit e9c8dad663
4 changed files with 3 additions and 26 deletions
+2 -11
View File
@@ -59,11 +59,8 @@ DSPDeviceSourceEngine::~DSPDeviceSourceEngine()
void DSPDeviceSourceEngine::run()
{
qDebug() << "DSPDeviceSourceEngine::run";
m_state = StIdle;
m_syncMessenger.done(); // Release start() that is waiting in main thread
exec();
exec();
}
void DSPDeviceSourceEngine::start()
@@ -612,13 +609,7 @@ void DSPDeviceSourceEngine::handleSynchronousMessages()
Message *message = m_syncMessenger.getMessage();
qDebug() << "DSPDeviceSourceEngine::handleSynchronousMessages: " << message->getIdentifier();
if (DSPExit::match(*message))
{
gotoIdle();
m_state = StNotStarted;
exit();
}
else if (DSPAcquisitionInit::match(*message))
if (DSPAcquisitionInit::match(*message))
{
m_state = gotoIdle();