delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/06/19/06:56:23

Message-Id: <9706191056.AA26599@sun4nl.NL.net>
Date: Thu, 19 Jun 1997 13:50:00 +0200
From: Rob den Boer <rob DOT den DOT boer AT derijke DOT nl>
Subject: sound, no sound in Allegro
To: "'djgpp AT delorie DOT com'" <djgpp AT delorie DOT com>

Hi all,

I want my Allegro program also to support 'no-sound'.
When using the install_sound routine with the AUTODETECT options, it
doesn't report if there's NO soundcard present.
When using the setup utilty (the sound.cfg file) supplying no-sound, it   
doesn't work.

Also, the program needs to know if there's no-sound, because playing a   
wav or midi without a soundcard causes the system to crash (as   
expected...)
I need something like

if (sound_installed) {
  play_wav()  etc....etc..
}

How can I do this ??

bibi
Rob den Boer

- Raw text -


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