mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-05-06 02:16:04 +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)
|
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())
|
if (QThread::currentThread() != this->thread())
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user