This commit is contained in:
16-Bit-Dog
2021-02-06 09:49:43 -05:00
committed by GitHub
parent 5dc02022c5
commit 8b0b7168a0

View File

@@ -322,7 +322,8 @@ void AudioRenderer::ReleaseAndQueueBuffers() {
queue_mixed_multithread.resize(released_buffers.size());
for (const auto& tag : released_buffers) {
queue_mixed_multithread[thread_counter] = std::async(
std::launch::async, [this, tag, voice_context = voice_context, splitter_context = splitter_context,
std::launch::async, [this, tag, voice_context = voice_context,
splitter_context = splitter_context,
mix_context = mix_context] { QueueMixedBuffer(tag); });
thread_counter++;
}