[Bug 12349] DSOUND_MixInBuffer Assertion `dsb->buf_mixpos + len <= dsb-> tmp_buffer_len' failed

wine-bugs at winehq.org wine-bugs at winehq.org
Mon Apr 14 10:01:21 CDT 2008


http://bugs.winehq.org/show_bug.cgi?id=12349





--- Comment #7 from Jörg Höhle <hoehle at users.sourceforge.net>  2008-04-14 10:01:20 ---
Patch submitted to wine-patches.
For the record, Maarten suggested to use "-2" in the second check, because len
is always even. I argue that -3 is always safe and appropriate (for a loop that
writes 4 bytes at a time) and does not require an extra comment to explain that
-2 is good enough in this particular case. So I submitted it with i<len-3.
Feel free to apply any modifications before you git-commit, I won't take
offense.

Given time, I'll try and find out more about the other issue: noise vs.
well-played sound samples.


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
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