|
|
Yes, only being able to play a file once is a bug that's fixed in the
pre-release:
http://www.libsdl.org/tmp/SDL_mixer/
Which documentation is incorrect?
The header file states:
If 'loops' is greater than zero, loop the sound that many times.
On Thu, Nov 12, 2009 at 3:17 AM, Christian Knudsen
<webmaster@xxxxxxxxxxxxxxx> wrote:
> 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
>
--
-Sam Lantinga, Founder and President, Galaxy Gameworks LLC
_______________________________________________
SDL mailing list
SDL@xxxxxxxxxxxxxxxx
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
|
|