kopia lustrzana https://github.com/f4exb/sdrangel
Perseus: do a full start/stop when changing sample rate
rodzic
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)
|
||||
|
|
Ładowanie…
Reference in New Issue