Mail Archives: djgpp/1997/06/26/03:48:48
Hi Shawn,
install_sound() won't fail in the absence of a soundcard, because I have
provided a special nosound driver for exactly this case, so that there
will always be a dummy device for playing sounds. You should then be
able to test if (digi_driver == &digi_none) and
(midi_driver == &midi_none), to see whether a soundcard was found.
You were right, the no-sound options works. My program crashed because
1) I had a sounds.cfg floating around in my directory, and 2) my program
didn't exit while install_sound returned an error ...
I'll be standing in the corner shaming myself...
bibi
Rob
- Raw text -