http://bugs.winehq.org/show_bug.cgi?id=28221
--- Comment #6 from LBM knaprigt@gmail.com 2011-09-05 15:02:32 CDT --- (In reply to comment #1)
I tested this against Bioshock 1 (which Google tells me uses OpenAL and/or FMOD) and it worked fine. I'll try to find a copy of Bioshock 2, but in the meantime can you give me the information requested at http://wiki.winehq.org/Sound? Having DirectSound in Emulation mode is preferred.
True, Bioshock 1 is not affected by this and neither is Mafia 1, but for some reason both of their sequels are. As for Emulation vs Full Hardware Acceleration there's no difference. Neither do I notice any difference when tweaking the HelBuflen, SndQueueMax, SndQueueMin, MaxShadowSize, DefaultSampleRate and DefaultBitsPerSample registry keys.
One thing that both applications seem to report from Wine 1.3.19 and onward is however a bunch of the following message:
"fixme:alsa:AudioClient_GetMixFormat Don't know what to do with 6 channels, pretending there's only 2 channels"
I don't know if that's somehow related to the stuttering but that's pretty much the only difference in terminal output that I see between Wine 1.3.18 and 1.3.19, without adding any special debugging levels.
As for my systems specs I'm running a Gentoo system with a 32bit 3.0.1 kernel using Alsa drivers ver. 1.0.24 built into the kernel. Installed OpenAL version is 1.13.
The logs I've added above are the results from running both Mafia 2 and Bioshock 2 with Wine 1.3.18 (working sound) and 1.3.19 (with stuttering) using "WINEDEBUG=+tid,+mmdevapi,+winmm,+dsound,+oss,+alsa,+coreaudio". The logs only cover entering the games main menus where the problem first occurs (moving the mouse over the different menu options).