SDL_mixer 1.2.11 PRE-RELEASE!

Please try this pre-release out today and let me know if there are any issues!
http://www.libsdl.org/tmp/SDL_mixer/

Changes:

  • Fixed bug loading multiple music files

See ya!–
-Sam Lantinga, Founder and President, Galaxy Gameworks LLC

Quick pre-release update:

  • Fixed initialization error and crashes if MikMod library isn’t availableOn Sat, Nov 14, 2009 at 12:19 PM, Sam Lantinga <@slouken> wrote:

Please try this pre-release out today and let me know if there are any issues!
http://www.libsdl.org/tmp/SDL_mixer/

Changes:

  • Fixed bug loading multiple music files

See ya!

? ? ? ?-Sam Lantinga, Founder and President, Galaxy Gameworks LLC


-Sam Lantinga, Founder and President, Galaxy Gameworks LLC

The new constants MIX_INIT_FLAC, MIX_INIT_MOD, MIX_INIT_MP3,
MIX_INIT_OGG are not listed in the documentation in chapter 6 (Defines).

Greets,

Ronald

Sam Lantinga <slouken libsdl.org> writes:

Please try this pre-release out today and let me know if there are any issues!
http://www.libsdl.org/tmp/SDL_mixer/

Changes:

  • Fixed bug loading multiple music files

See ya!

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.

I’m not sure how the crackling could have changed. There’s been no
change in the audio playback or ogg loading code.On Sat, Nov 14, 2009 at 4:51 PM, Christian Knudsen wrote:

Sam Lantinga <slouken libsdl.org> writes:

Please try this pre-release out today and let me know if there are any issues!
http://www.libsdl.org/tmp/SDL_mixer/

Changes:

  • Fixed bug loading multiple music files

See ya!

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.


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

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

I’m getting the crackling under Windows XP, though, and only when setting the
music to automatically repeat.

What frequency are you playing back at? Make sure you’ve tried 44100 to be sure as 22050 can sometimes sound like there’s crackling depending on the music choice.

I’ve just tried both of these revisions with no changes on Windows 7 x64 and receive no crackling with looped music:

v1.2.10 r5241
v1.2.11 r5253

I’m playing ogg’s at 11025 Hz, since all my sound effect wav’s are 11025 Hz. And there definitely is crackling, but like I said, it’s only when the music is looped. Playing it once is fine.------------------------
Privateer: Ascii Sector (www.asciisector.net)

Hmm, I’m still not getting the issue with oggs at that frequency. I have access to XP machines on Tuesday, I’ll give it a try if I get the time, but something tells me it may be a more than an OS specific issue.

So is this good to go today?On Sat, Nov 14, 2009 at 12:19 PM, Sam Lantinga <@slouken> wrote:

Please try this pre-release out today and let me know if there are any issues!
http://www.libsdl.org/tmp/SDL_mixer/

Changes:

  • Fixed bug loading multiple music files

See ya!

? ? ? ?-Sam Lantinga, Founder and President, Galaxy Gameworks LLC


-Sam Lantinga, Founder and President, Galaxy Gameworks LLC

Ok to go from me! I’m using it for the next release of my game. :)------------------------
Privateer: Ascii Sector (www.asciisector.net)