[Bug 42546] DSOUND_PrimaryOpen() incorrect set buf size
wine-bugs at winehq.org
wine-bugs at winehq.org
Tue Feb 28 18:50:24 CST 2017
https://bugs.winehq.org/show_bug.cgi?id=42546
Ivan_83 <rozhuk.im at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #57448|0 |1
is obsolete| |
--- Comment #11 from Ivan_83 <rozhuk.im at gmail.com> ---
Created attachment 57472
--> https://bugs.winehq.org/attachment.cgi?id=57472
Crash fix + refactoring
Well, DSOUND_PrimaryOpen() is done.
All works fine.
Please review and merge it.
But mixer module need more checks.
I m move up check in DSOUND_PerformMix()
if (maxq > device->buflen)
maxq = device->buflen;
and then make a test: set
new_buflen = sizeof(float) * (max(aclen, (3 * fraglen)) /
wfx->nBlockAlign);
and got small noises and crash on exit.
--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.
More information about the wine-bugs
mailing list