early-access version 3938

This commit is contained in:
pineappleEA
2023-10-19 17:53:53 +02:00
parent 4d49e282ae
commit ec28817fce
36 changed files with 376 additions and 144 deletions
+4
View File
@@ -204,6 +204,10 @@ void SinkStream::ProcessAudioOutAndRender(std::span<s16> output_buffer, std::siz
// paused and we'll desync, so just play silence.
if (system.IsPaused() || system.IsShuttingDown()) {
if (system.IsShuttingDown()) {
{
std::scoped_lock lk{release_mutex};
queued_buffers.store(0);
}
release_cv.notify_one();
}