mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 02:17:11 +02:00
addressing comment
This commit is contained in:
parent
0de812b7b5
commit
168e85b26a
1 changed files with 3 additions and 3 deletions
|
@ -2065,7 +2065,7 @@ bool AudioClient::switchOutputToAudioDevice(const HifiAudioDeviceInfo outputDevi
|
|||
_localSamplesAvailable.exchange(0, std::memory_order_release);
|
||||
|
||||
//wait on local injectors prep to finish running
|
||||
if (_localPrepInjectorFuture.isStarted() || _localPrepInjectorFuture.isRunning()) {
|
||||
if ( !_localPrepInjectorFuture.isFinished()) {
|
||||
_localPrepInjectorFuture.waitForFinished();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue