Check out Amazon.com!

BlitzCoder Code Archives PageMain Codes Page
"Sound Card Test", by semar
This simple test, that uses the return code of loadsound against a .WAV file, can check if there's a working sound card on the pc where your Blitz program is running on.

This is useful on system with low specs, because if your Blitz program attempts to play a sound on a system with no sound card, the program will crash badly..

Note that the test works only with a WAV file; if you try LoadSound against another kind of sound file, the test itself will crash !

Hope you find this snippet useful,
Sergio.
Code
Copyright(c) 2000-2004, BlitzCoder. All Rights Reserved.

Code software created by Krylar's Kreations