sdl@lists.libsdl.org
[Top] [All Lists]

Re: [SDL] SDL_Mixer: Can't call Mix_PlayMusic more than once.

Subject: Re: [SDL] SDL_Mixer: Can't call Mix_PlayMusic more than once.
From: Sam Lantinga
Date: Sat, 14 Nov 2009 11:24:11 -0800
This is actually related to the SDL_image bug where you can't load
more than one image.  I'm fixing it in both libraries and putting
together a new release.

Thanks!

On Thu, Nov 12, 2009 at 11:59 PM, Christian Knudsen
<webmaster@xxxxxxxxxxxxxxx> wrote:
> I'm really at a loss as to what's going on with this. I've done some tests and
> it seems that whenever I call Mix_PlayMusic more than once, it won't play any
> music. This means I can't switch to another music number. I thought maybe it 
> was
> the volume being set to zero for some reason when I called Mix_PlayMusic 
> again,
> but checking with Mix_PlayingMusic it seems that it just isn't playing the 
> music
> at all. I'm not getting any errors from Mix_GetError either. Is anybody else
> getting this?
>
> _______________________________________________
> SDL mailing list
> SDL@xxxxxxxxxxxxxxxx
> http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
>



-- 
        -Sam Lantinga, Founder and President, Galaxy Gameworks LLC
_______________________________________________
SDL mailing list
SDL@xxxxxxxxxxxxxxxx
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

<Prev in Thread] Current Thread [Next in Thread>