1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-26 09:48:45 -05:00

Perseus: do a full start/stop when changing sample rate

This commit is contained in:
f4exb 2018-02-15 00:48:51 +01:00
parent db6cfe2257
commit 5f91db13da
2 changed files with 3 additions and 2 deletions

View File

@ -381,8 +381,8 @@ bool PerseusInput::applySettings(const PerseusSettings& settings, bool force)
{
if (m_perseusThread && m_perseusThread->isRunning())
{
m_perseusThread->stopWork();
m_perseusThread->startWork();
stop();
start();
}
}

View File

@ -39,6 +39,7 @@ PerseusThread::~PerseusThread()
void PerseusThread::startWork()
{
qDebug("PerseusThread::startWork");
m_startWaitMutex.lock();
start();
while(!m_running)