I can confirm the crackling sound. It's like you are listening to a vinyl record. It pops, cracks and jumps a little bit.
It appear both when you leave the machine alone and when you stress the processor.
Machine is an Acer Aspire One 722-G with LMDE 2014-04 with some parts updated to sid, audio chip is reported by lspci as "Advanced Micro Devices, Inc. [AMD/ATI] SBx00 Azalia (Intel HDA) (rev 40)". Also tried using an external USB adapter with separate sound card(!), also reported as the device above, also with noise.
Previously I've used Mint 15-16 on this machine, also tried latest Ubuntu 14.04 on live USB without this noise.
I've found the noise when playing up music (mostly) and video in VLC and Wine->Winamp.
Things I've tried is:
- add tsched=, model= /etc/modprobe.d/alsa-base.conf, like options snd-hda-intel model=acer-aspire, did nothing
- run winecfg and selecting the exact sound card - got rid of the worst noise in Winamp, still pops, clicks and skips
- run Winamp in Alsa-direct(?)-mode, winetricks -- gui -> Select the default wineprefix->sound=alsa, did nothing
- fake-raise buffer for alsa, echo 32768 > /proc/asound/cardX/pcmXp/subX/prealloc (X is your card path), did nothing
- fiddling with /etc/pulse/default.pa with no luck
When I run Wine->Winamp through a console (wine winamp.exe), a buffer underrun is printed when the noise appear, especially if I do not select the proper card in winecfg. The error is the following:
ALSA lib pcm.c:7843:(snd_pcm_recover) underrun occurred
Regarding this buffer, I've found differencies between a working Ubuntu 14.04 / Mint 16 and LMDE.
If I start VLC playback on a "healty" machine and do cat /proc/asound/cardX/pcmXp/subX/hw_param I get a large buffer_size (+16000).
If I do the same on a popping LMDE buffer_size is as low as ~896-1920. I think this is related, buffer is too low making the noise.
Maybe this already been partly fixed in sid, made an update today which refreshed some packages.
I started playback of a track now in VLC and got a non-popping experience and a buffer_size of 88000+(!). Good.
Warmed up Wine->Winamp and the pops are back, buffer_size is only 1920. Too small.I guess my question is: how do I tell Wine to raise the buffer_size ?
(Version if Wine is currently sid, eg 1.6+)