mirror of
https://github.com/f4exb/sdrangel.git
synced 2025-09-02 13:17:48 -04: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())
|
if (m_perseusThread && m_perseusThread->isRunning())
|
||||||
{
|
{
|
||||||
m_perseusThread->stopWork();
|
stop();
|
||||||
m_perseusThread->startWork();
|
start();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -39,6 +39,7 @@ PerseusThread::~PerseusThread()
|
|||||||
|
|
||||||
void PerseusThread::startWork()
|
void PerseusThread::startWork()
|
||||||
{
|
{
|
||||||
|
qDebug("PerseusThread::startWork");
|
||||||
m_startWaitMutex.lock();
|
m_startWaitMutex.lock();
|
||||||
start();
|
start();
|
||||||
while(!m_running)
|
while(!m_running)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user