Mail Archives: djgpp/1997/11/19/23:18:23
Mike McLean wrote:
>
> I'm using the WIP Nov 16th version of allegro and I am trying to play a
> midi file, the source compiles fine, but I don't get the file to play.
[snip]
> int main(void)
> {
> load_midi("mission.mid");
> play_midi(load_midi("mission.mid"),1);
> }
I'm not certain (I haven't done any sound programming with allegro yet),
but I suspect you have to do an 'install midi' or some such first (timer
might be needed as well, though I don't know). Also 'init_allegro' (sp?
my computer with allegro installed is currently unavailable) is also a
good idea (so is `return 0' at the end of main ;).
HTH
Bill
--
Leave others their otherness
- Raw text -