https://bugs.winehq.org/show_bug.cgi?id=42546
Ivan_83 rozhuk.im@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #57448|0 |1 is obsolete| |
--- Comment #11 from Ivan_83 rozhuk.im@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.