I recently tried to play mod and xm musics made with MilkyTracker.
The problem is that I can’t unset the loop mode for these formats. I usually works with mp3 or wav format and I never encountered this problem.
Is there an other way to play mod files ?
- arc525 asked 5 years ago
well mod/xm/s3m/it are looping formats. the musician usually has to set and endless loop in the last pattern to stop it repeating.
That being said we do support FMOD_LOOP_OFF – but you have to create the sound with FMOD_ACCURATETIME. That makes it scan the whole xm file first and calculate the proper length up front. This might take a few seconds depending on the song. That should solve your problem.
The time taken can be hidden using FMOD_NONBLOCKING and it lets you do something else in the meantime (ie update your interface rather than freezing).
Please login first to submit.