From: "Al Morgan" Newsgroups: comp.os.msdos.djgpp Subject: Re: Sound with allegro Date: Mon, 16 Aug 1999 00:10:58 -0700 Organization: Posted via Supernews, http://www.supernews.com Lines: 39 Message-ID: References: <37B76C37 DOT 43A AT ns DOT sympatico DOT ca> X-Complaints-To: newsabuse AT supernews DOT com X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com My soundcard is a Soundblaster16. Your suggestion didn't work, still nothing. Is there some working allegro sound example source or something I can look at out there? I've slightly altered my program: #include #include void main() { allegro_init(); detect_digi_driver(DIGI_AUTODETECT); detect_midi_driver(MIDI_AUTODETECT); install_sound(DIGI_AUTODETECT, MIDI_AUTODETECT, NULL); SAMPLE *amazing = load_wav("c:\\amazing.wav"); play_sample(amazing, 255, 128, 1000, 0); allegro_exit(); } Klaas wrote in message news:37B76C37 DOT 43A AT ns DOT sympatico DOT ca... > > allegro_init(); > > detect_digi_driver(DIGI_SB16); > > detect_midi_driver(MIDI_AWE32); // i guessed that, beacuse it > [...] > > 1. What is your soundcard? > > 2. Try install_sound(DIGI_AUTODETECT,MIDI_AUTODETECT,NULL); instead/ > > -Mike