Message-Id: <9706191056.AA26599@sun4nl.NL.net> Date: Thu, 19 Jun 1997 13:50:00 +0200 From: Rob den Boer Subject: sound, no sound in Allegro To: "'djgpp AT delorie DOT com'" Precedence: bulk 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