Don't round WASAPI updates to the update size
This commit is contained in:
parent
dd2c43be42
commit
c724798c85
@ -582,7 +582,6 @@ FORCE_ALIGN int WasapiPlayback::mixerProc()
|
|||||||
ERR("WaitForSingleObjectEx error: 0x%lx\n", res);
|
ERR("WaitForSingleObjectEx error: 0x%lx\n", res);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
len -= len%update_size;
|
|
||||||
|
|
||||||
BYTE *buffer;
|
BYTE *buffer;
|
||||||
hr = mRender->GetBuffer(len, &buffer);
|
hr = mRender->GetBuffer(len, &buffer);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user