Xavier, the problem may very well be the SDL mixer, since the sample app you used may have has its volume set to 100%, which is a workaround.
** Description changed: After an upgrade from Dapper to Edgy, sound in certain applications and games starts to crackle. A few affected apps are Wesnoth, Neverball, and Neverputt. When playing the OGG files seperately, they sound fine. http://ubuntuforums.org/showthread.php?p=1624910 The problem so far seems to only be affecting integrated Intel sound cards. Types are snd-hda and snd-intel8x0. A possible (unconfirmed) workaround was posted: http://ubuntuforums.org/showpost.php?p=1624910&postcount=12 + + UPDATE: Setting in-game music and sound levels to 100% stops the + crackling. Anything other than 100% volume, the sound will crackle. -- Sound (OGG) in certain applications crackles & snaps https://launchpad.net/bugs/66483 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs