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:
parent
db6cfe2257
commit
5f91db13da
@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -39,6 +39,7 @@ PerseusThread::~PerseusThread()
|
||||
|
||||
void PerseusThread::startWork()
|
||||
{
|
||||
qDebug("PerseusThread::startWork");
|
||||
m_startWaitMutex.lock();
|
||||
start();
|
||||
while(!m_running)
|
||||
|
Loading…
Reference in New Issue
Block a user