http://bugs.winehq.org/show_bug.cgi?id=28856
--- Comment #27 from Vítor Ferreira vitor.dominor@gmail.com 2012-02-21 18:44:42 CST --- (In reply to comment #26)
I'm considering closing this bug.
- The OP said in comment #12 that the original issue is fixed.
- Crackling is possible in Wine because of a timer issue, but that should be
dealt with in bug #28723.
- We don't need several bugs open in Wine because PA needs a restart.
- Other people have found the need to restart PA outside Wine:
http://opensource.creative.com/pipermail/openal-devel/2012-February/005861.h... (even with the straight pulse driver, not the ALSA bridge!)
OTOH, this bug is currently the only one to link to 2 of 3 bugs I posted to the PA bugzilla.
Wine is by no means perfect. For instance, I consider the tiny audio buffers that it currently uses because of mmdevapi to be a design bug. I believe wine-1.3.24 worked better specifically thanks to larger buffers.
If you experience crackling sound either without PA or when it's freshly started and that is *not* fixed by the CreateTimerQueue hack, it's time to speak up now!
The tests I did before were with alsa stack 1.0.25 over the in-kernel alsa drivers 1.0.24 (had updated kernel recently). This time I am running over the alsa drivers version 1.0.25 and sound is definitely better. I can't say there is no crackling sound in any circumstance, but there surely isn't after pulseaudio is freshly started or after killing pulseaudio, since it is directly accessing alsa. At this point for me, sound in wine 1.4-rc4 works without crackling just after starting pulseaudio and unlike before it can like that indefinitely. If by any chance I begin to play a game after having started pulseaudio for some time, I just have to restart pulseaudio. Anyway, the likehood of having crackling audio is significantly smaller and when there is crackling audio, sometimes it's in the background. The pulseaudio driver being developed by Maarten shares the same results AFAIK. Thank you and let's hope that with bug #28723 resolution and/or pulseaudio developers addressing the bugs you reported, this situation can be finally resolved in the future.