aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/backends/wasapi.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/backends/wasapi.cpp')
-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);