delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/11/21/04:15:47

From: George Foot <mert0407 AT sable DOT ox DOT ac DOT uk>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Playing Midi in allegro
Date: 21 Nov 1997 04:51:40 GMT
Organization: Oxford University, England
Lines: 17
Message-ID: <65340s$qu0$1@news.ox.ac.uk>
References: <34738705 DOT 1F8CB3B4 AT primenet DOT com> <ed3Z7fg98GA DOT 293 AT upnetnews03>
NNTP-Posting-Host: sable.ox.ac.uk
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

On Thu, 20 Nov 1997 18:03:12 -0500 in comp.os.msdos.djgpp Carolyn Kelly-Pajot <dehacked72 AT dung DOT hotmail DOT com> wrote:

: int main(void]
               ^--- typo :)
: {
:     MIDI *the_midi = load_midi("mission.mid");

You should call allegro_init before any other Allegro functions, and
it could be argued that you should also initialise the sound system
before loading MIDI files (although the latter is a weaker argument).

:     read_key(); // pauses utill you hit a key

`readkey' is all one word.

-- 
george DOT foot AT merton DOT oxford DOT ac DOT uk

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019