I made a game and it's music is in an MIDI file because that's the only format it supports (well it supports mp3, but i don't want to deal with that), i can play the file with microsoft media player, but the game won't play the file, I know it's loading the file, and it says it's playing the music, but i don't hear anything.
I am using C++ with an Allegro library

CODE

if(allow_music && !music_loaded)
    {
          music=load_midi("main_music.mid");
          if(!music) alert("Error","Couldn't load","music","&Okay",NULL,0,0);
          else
          {
               if(play_midi(music,1)!=0) alert("Cannot play music",NULL,NULL,"&Okay",NULL,0,0);
               music_loaded=true;
          }
    }