http://bugs.winehq.org/show_bug.cgi?id=28856
--- Comment #17 from Vítor Ferreira vitor.dominor@gmail.com 2012-02-17 22:04:00 CST --- (In reply to comment #15)
(In reply to comment #14)
To everybody suffering from crackling sound, I'd like you to read bug #28723, comment #128 then perform the interactive render test cd dlls/mmdevapi/tests/ ; rm render.ok WINETEST_INTERACTIVE=1 make render.ok and report what you hear. Crackling or not? Case 1 2 or 3? Then apply attachment #38788 [details] from bug #28723. Repeat. How does it change?
warn:alsa:alsa_read_data
I've not yet looked much at capture.
I'm also affected by this issue in many of my games like Sins of a Solar Empire Trinity, Star Trek Online, Tropico 4, Europa Universalis III and Crusader Kings II. I'm running Fedora 16 with pulseaudio 1.1 and alsa stack 1.0.25 (from drivers to alsa plugins). Compared to the previous versions of alsa and pulseaudio, sound crackling is not so constant. It tends to appear after the computer has been running for a while and I've run a game for some time. Eventually the sound begins to crackle constantly, accompanied sometimes by alsa underruns. Sometimes restarting pulseaudio helps.
I've ran the test you asked with the latest wine 1.4-rc4 and the output is annexed to this bug report. What I heard did not change from before applying the patch to after (I did recompile wine after applying it). First it was a more or less continuous crackling and then it gave out more intermittent and separate crackling sounds, particularly when it outputs in verbose mode something like "Should play 1000ms continuous tone with fragment size (...)"
I forgot to add that I would say then first Case 1 and then Case 2.