diff options
Diffstat (limited to 'alc/alu.cpp')
-rw-r--r-- | alc/alu.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/alc/alu.cpp b/alc/alu.cpp index 168f0112..d7f4410f 100644 --- a/alc/alu.cpp +++ b/alc/alu.cpp @@ -2030,6 +2030,12 @@ void DeviceBase::handleDisconnect(const char *msg, ...) } } + if(!ctx->mStopVoicesOnDisconnect) + { + ProcessVoiceChanges(ctx); + continue; + } + auto voicelist = ctx->getVoicesSpanAcquired(); auto stop_voice = [](Voice *voice) -> void { |