Checking for sound cards

Blitz3D Forums/Blitz3D Programming/Checking for sound cards

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Yes, if a sound doesn't load (the LoadSound() function returns 0), it means that no sound card is present (assuming the file you are trying to load does exist).

The sound functions are not meant to cause an error, even if you pass 0 to them instead of a valid loaded sound, so you shouldn't really have to detect whether a card is present or not.