I’m making a small game,and need some sound(midi)
I want
“when i press enter button,then a short midi sound play immediately”
BUT,it make the game lag about 0.5second………
How can I slove this problem???

my code is
void gameinit()
midhand[1]=FMUSIC_LoadSong (“sound/go.mid”);

void pressenter()
FMUSIC_SetLooping (midhand[1], false);
FMUSIC_PlaySong (midhand[1]);

  • You must to post comments
Showing 0 results
Your Answer

Please first to submit.