diff options
author | Chris Robinson <[email protected]> | 2019-04-27 08:48:14 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2019-04-27 08:48:14 -0700 |
commit | c724798c85c035da506ccf06dd604654de8a19fb (patch) | |
tree | f6a3c19d00b11b9bfa48c8a0cd227b1fb88d7916 /Alc/backends | |
parent | dd2c43be42f73f69c280febf25b21b8ec0e54114 (diff) |
Don't round WASAPI updates to the update size
Diffstat (limited to 'Alc/backends')
-rw-r--r-- | Alc/backends/wasapi.cpp | 1 |
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); |