0
0

A MOD/IT music track keeps looping for me even if I specify no loops, 0 loops or use callbacks to try and cut it off when it reaches the "end" (which apparently isn’t happening).

What do I do to prevent the looping?

  • You must to post comments
0
0

mod/s3m/xm/it are supposed to loop. The musician could have even forced it to loop by putting a pattern jump at the end of the song, this means the length is infinite, and the song would only stop if the length was a real value.

If you use FMOD_ACCURATETIME fmod can scan the song and find out the actual length of the song, and therefore give you the ability to play the song once by stopping playback when it hits that calculated length.

  • You must to post comments
0
0

On 4.4.49, using that flag seems to consistently crash certain computers, and taking it out immediately solves the problem. Is this my fault or something that a version upgrade would solve? I would go ahead and upgrade, but it’s non-trivial since I don’t have any access to pre-compiled binaries for OS X or Linux for the latest versions unfortunately.

  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.