[AFV] Ref T730, reverted fix NOT to start in function CAfvClient::restartWithNewDevices

This commit is contained in:
Klaus Basan
2019-10-10 01:28:25 +02:00
committed by Mat Sutcliffe
parent 98726e4c06
commit 966b261c0d

View File

@@ -170,7 +170,11 @@ namespace BlackCore
bool CAfvClient::restartWithNewDevices(const CAudioDeviceInfo &inputDevice, const CAudioDeviceInfo &outputDevice)
{
if (! m_isStarted) { return true; }
if (!m_isStarted)
{
this->startAudio(inputDevice, outputDevice, allTransceiverIds());
return true;
}
if (QThread::currentThread() != this->thread())
{