www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/06/07/22:02:59

From: mert0407 AT sable DOT ox DOT ac DOT uk (George Foot)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Allegro, sound
Date: 31 May 1997 11:10:51 GMT
Organization: Oxford University, England
Lines: 18
Message-ID: <5mp0vr$54i@news.ox.ac.uk>
References: <01bc6c7d$bdebf2c0$9f3f64c3 AT oemcomputer> <01bc6d5c$2ab11b40$LocalHost AT vpoulain>
NNTP-Posting-Host: sable.ox.ac.uk
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

POULAIN Vincent (vpoulain AT club-internet DOT fr) wrote:

: > Hello! How can I play a midi file in allegro? I only get errors, please
: > help!
: > 

: There's a chance that you misinitialized Allegro's soud features.
: Did you used install_sound()?
: Are the params corrects ?
: Is your midi file correct ?

Also note that you need to install_timer() before playing MIDI files. See
ex16.c in the examples subdirectory of Allegro for a pretty minimal
example. 

-- 
George Foot <mert0407 AT sable DOT ox DOT ac DOT uk>
Merton College, Oxford

- Raw text -


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