[futurebasic] Re: sounds off

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : May 1998 : Group Archive : Group : All Groups

From: BMichael <BMichael@...>
Date: Fri, 22 May 1998 09:16:39 EDT
>Is there a simple command that lets my program check whether the user's 
>sounds (as set in sound control panel) are off or on? I don't need to 
>_change_ the sound settings, just find out what they are. (I'm starting
>to work on an unusually sf/x-oriented game. There are always those who for
>one reason or another ;-) have to mute themselves, so I need to know when
>to give them alternative information.)

gSoundOn% = PEEK(&260)                        'sound volume

If it's 0, they're "mute". I use "if less than two, warn they may not be 
able to hear", and "if zero, go visual instead of audible".

Bill