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

Re: [SDL] SDL_Mixer: "Divide by zero" error after updating to 1.2.10

Subject: Re: [SDL] SDL_Mixer: "Divide by zero" error after updating to 1.2.10
From: Christian Knudsen
Date: Thu, 12 Nov 2009 11:17:57 +0000 UTC
Argh, I didn't have mikmod. I didn't need that before, though?

But now I have another problem. I can only play a music file once. If I set it
playing, then set it playing again, there's silence. I can get it to loop
continuously with Mix_PlayMusic(MusicNumber, -1), but if I do
Mix_PlayMusic(MusicNumber, 0) or Mix_PlayMusic(MusicNumber, 1) it will only play
it once even though I call it again. I didn't have any problem with this before.

Also, the documentation says that if you set the play times to zero, it will
play zero times. It doesn't; it plays it one time.

_______________________________________________
SDL mailing list
SDL@xxxxxxxxxxxxxxxx
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

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