https://bugs.winehq.org/show_bug.cgi?id=55797
Béla Gyebrószki gyebro69@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Regression SHA1| |e1f0318ec4fe83fdc86407303d5 | |5f4ee5ba3d2e7 CC| |ahiler@codeweavers.com Version|8.18 |8.16 Component|-unknown |dsound
--- Comment #2 from Béla Gyebrószki gyebro69@gmail.com --- I did the bisect myself because this bug affects multiple titles. In addition to Max Payne 1 and 2, lots if not all the games made with Adventure Game Studio also have no audio (e.g. King's Quest 1 Remake, Whispers of a Machine).
Bisecting resulted in commit e1f0318ec4fe83fdc86407303d55f4ee5ba3d2e7 dsound: Get rid of the global device GUID arrays.
They are not used for anything anymore and just impose limit of 10 devices of a given type (capturer / renderer) without doing bound checking.
Reverting the patch on top of current git fixes the problem for me.
See also bug #55608 with the same commit ID.
Tested with wine-8.18-155-g9afcf7c8e0c