[Bug 42546] DSOUND_PrimaryOpen() incorrect set buf size

wine-bugs at winehq.org wine-bugs at winehq.org
Sun Feb 26 18:36:41 CST 2017


https://bugs.winehq.org/show_bug.cgi?id=42546

--- Comment #3 from Ivan_83 <rozhuk.im at gmail.com> ---
(In reply to Bruno Jesus from comment #1)
> Not sure if it is related but today earlier a patch related to this function
> was sent to the list.
> http://source.winehq.org/patches/data/130782

new_buflen = frames * sizeof(float);
as I write before - crash after a little time of work, sound with noise - looks
like this is not enough and some little mem peace after buf used in this case.

new_buflen = ((frames + 1) * wfx->nBlockAlign * sizeof(float));
My version - ok.

-- 
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