aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2019-04-27 08:48:14 -0700
committerChris Robinson <[email protected]>2019-04-27 08:48:14 -0700
commitc724798c85c035da506ccf06dd604654de8a19fb (patch)
treef6a3c19d00b11b9bfa48c8a0cd227b1fb88d7916
parentdd2c43be42f73f69c280febf25b21b8ec0e54114 (diff)
Don't round WASAPI updates to the update size
-rw-r--r--Alc/backends/wasapi.cpp1
1 files changed, 0 insertions, 1 deletions
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);