mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-30 11:55:35 +08:00
[AFV] Ref T730, reverted fix NOT to start in function CAfvClient::restartWithNewDevices
This commit is contained in:
committed by
Mat Sutcliffe
parent
98726e4c06
commit
966b261c0d
@@ -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())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user