diff options
Diffstat (limited to 'Servers/AudioServer')
-rw-r--r-- | Servers/AudioServer/ASMixer.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Servers/AudioServer/ASMixer.cpp b/Servers/AudioServer/ASMixer.cpp index a0316f9d12..97c4a19e1f 100644 --- a/Servers/AudioServer/ASMixer.cpp +++ b/Servers/AudioServer/ASMixer.cpp @@ -49,6 +49,8 @@ void ASMixer::mix() continue; } + active_mix_queues.remove_all_matching([&](auto& entry) { return !entry->client(); }); + ASample mixed_buffer[1024]; auto mixed_buffer_length = (int)(sizeof(mixed_buffer) / sizeof(ASample)); |