What is the best way to play a midi file in a loop?
(I’m using C)
cuurently i’m using this code:
FMOD_System_CreateSound(fmodSystem, "sound.mid", FMOD_SOFTWARE | FMOD_LOOP_NORMAL, 0, &sound_background);
FMOD_System_PlaySound(fmodSystem, FMOD_CHANNEL_FREE, sound_background, 0, &fmodChannel);
I’m having problems that the sound stops somewhere in the middle of the song (maybe it’s related that i’m playing other wav sounds as well?)
- kellogg asked 12 years ago
- You must login to post comments