Don't round WASAPI updates to the update size

This commit is contained in:
Chris Robinson 2019-04-27 08:48:14 -07:00
parent dd2c43be42
commit c724798c85

View File

@ -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);