https://bugs.winehq.org/show_bug.cgi?id=45502
Alistair Leslie-Hughes leslie_alistair@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED
--- Comment #5 from Alistair Leslie-Hughes leslie_alistair@hotmail.com --- (In reply to Maciej Stanczew from comment #3)
Additionally, the game crashes on two occasions after this commit: a) when changing sound device output in the Options menu, and b) when exiting the game.
Cause of the problem seems to be modification of usage of pa_stream_peek():
} else {
pa_stream_peek(This->stream, (const void**)&src, &src_len);
} else if (pa_stream_peek(This->stream, (const void**)&src,
&src_len) && src_len) {
Thanks.
Fixed by staging commit f0d3ae8cf201128497ddb5c3d89e1c8778726ac2.