ALSA crackling issues (was: SDL_mixer 1.2.11 PRE-RELEASE!)

Have you tried with SDL 1.2.14? That released fixed a bunch of
crackling ALSA issues.On Sun, Nov 15, 2009 at 6:13 AM, pk wrote:

Christian Knudsen wrote:

1.2.11 has fixed the issue I had with no mikmod crashing the program as well as
only being able to call Mix_PlayMusic once. However, the crackling when an ogg
file is set to loop has returned (I didn’t get it in 1.2.10). It’s not a big
problem, as I can just set music to only play once and set it to play again when
it’s finished, but it would be nice if the crackling wasn’t there, so you didn’t
have to check for when music finished and restart it manually in the code.

Don’t know if this is relevant or not but (some, not all) programs using
SDL under linux I get a crackling sound (sometimes more like static)
when using alsa. When using oss it disappears. I run gentoo and when I
compile in alsa support instead of oss for example in xrick and
abuse-sdl I get a really annoying static noise… When I instead compile
in oss support the noise is gone. It’s only SDL programs that suffer
from this, at least judging from what I have noticed.

Best regards

Peter K


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


-Sam Lantinga, Founder and President, Galaxy Gameworks LLC

Sam Lantinga wrote:

Have you tried with SDL 1.2.14? That released fixed a bunch of
crackling ALSA issues.

Hi,

Not yet, 1.2.14 is in line to become stabilized in gentoo (I’m using
1.2.13-r1 at the moment, r1 adds these patches: 1). It’s not a big
problem for me (since alsa oss emulation works fine) but I can upgrade
to see what happens…

-sdl-config.patch
-xinerama-head-0.patch
-pulseaudio.patch
-cld.patch

Best regards

Peter K

SDL 1.2.14 actually includes some of these patches, FYI.On Sun, Nov 15, 2009 at 1:06 PM, pk wrote:

Sam Lantinga wrote:

Have you tried with SDL 1.2.14? ?That released fixed a bunch of
crackling ALSA issues.

Hi,

Not yet, 1.2.14 is in line to become stabilized in gentoo (I’m using
1.2.13-r1 at the moment, r1 adds these patches: 1). It’s not a big
problem for me (since alsa oss emulation works fine) but I can upgrade
to see what happens…

-sdl-config.patch
-xinerama-head-0.patch
-pulseaudio.patch
-cld.patch

Best regards

Peter K


-Sam Lantinga, Founder and President, Galaxy Gameworks LLC