delorie.com/archives/browse.cgi | search |
Message-ID: | <3A388C91.A1855820@home.com> |
From: | Tom Fjellstrom <tfjellstrom AT home DOT com> |
X-Mailer: | Mozilla 4.75 [en] (X11; U; Linux 2.4.0-test10 i686) |
X-Accept-Language: | en |
MIME-Version: | 1.0 |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: sound |
References: | <917oou$12g$1 AT wanadoo DOT fr> |
Lines: | 28 |
Date: | Thu, 14 Dec 2000 09:02:00 GMT |
NNTP-Posting-Host: | 24.70.88.73 |
X-Complaints-To: | abuse AT home DOT net |
X-Trace: | news1.rdc1.ab.home.com 976784520 24.70.88.73 (Thu, 14 Dec 2000 01:02:00 PST) |
NNTP-Posting-Date: | Thu, 14 Dec 2000 01:02:00 PST |
Organization: | Excite AT Home - The Leader in Broadband http://home.com/faster |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
"michael.heuer" wrote: > > hello > I use djgpp with allegro > I would to paly a sound in my programm > thank > mike after calling allegro_init() and install_sound() try something like this: SAMPLE *music = load_wav("somewav.wav"); play_sample(music, ...); or MIDI *song = load_midi("somemidi.mid"); play_midi(song); but deffinitly check Allegro's documentation to get every thing correct. -- Tom Fjellstrom tfjellstrom AT home DOT com http://strangesoft.net/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |