Need help with sound volume

BlitzPlus Forums/BlitzPlus Programming/Need help with sound volume

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.

Actually, that doesn't work semar.

;here is my code

voices=true
If LoadSound(c:\Sounds\move.wav") = 0
voices=False
EndIf

This bit of code works OK, if the sound is found then voices remains True.
But, if you disable your sound card from Device Manager (or use a computer with no s/card), you get the 'Error starting module bbaudiodriver' message.

I think this error occurs even before any code is translated.

If anyone has any Ideas then please help. Otherwise I will have to not use sound in my app which would be a shame 'cos I spent two weeks doing the sounds.