Yes, only being able to play a file once is a bug that's fixed in the
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
> 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
> it once even though I call it again. I didn't have any problem with this
> 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
-Sam Lantinga, Founder and President, Galaxy Gameworks LLC
SDL mailing list