http://bugs.winehq.org/show_bug.cgi?id=7336
------- Additional Comments From chris.kcat@gmail.com 2007-09-03 01:14 ------- Created an attachment (id=5285) --> (http://bugs.winehq.org/attachment.cgi?id=5285&action=view) Current patch work
Here's a patch which should apply against a fresh git checkout. After applying, make sure to run make from the base wine dir, then after reinstalling, run wineprefixcreate to have quartz re-registered (otherwise the new filter won't be seen).
As mentioned, this will probably cause crashes if you're not using OSS with full acceleration, although you can modify dsoundrenderer.c to use a 16KB buffer to work around that. It will then likely lock up when trying to stop the music (such as when loading a save game or starting a new game), although on rare occasions, it may clear up after a few moments.