From c724798c85c035da506ccf06dd604654de8a19fb Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Sat, 27 Apr 2019 08:48:14 -0700 Subject: [PATCH] Don't round WASAPI updates to the update size --- Alc/backends/wasapi.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/Alc/backends/wasapi.cpp b/Alc/backends/wasapi.cpp index e361b7bc..f4448621 100644 --- a/Alc/backends/wasapi.cpp +++ b/Alc/backends/wasapi.cpp @@ -582,7 +582,6 @@ FORCE_ALIGN int WasapiPlayback::mixerProc() ERR("WaitForSingleObjectEx error: 0x%lx\n", res); continue; } - len -= len%update_size; BYTE *buffer; hr = mRender->GetBuffer(len, &buffer);