Sign in to follow this  
Followers 0
dufran3

If not muted, mute sound

22 posts in this topic

Anyone know the best way to do this? Check if the sound is muted, if not, mute the sound? I know you can use {Send} to change % of volume, but is there a way to mute, if not muted.

If $ismuted == 0 Then
               Mutesound()
            EndIf

????

Share this post


Link to post
Share on other sites



Anyone know the best way to do this? Check if the sound is muted, if not, mute the sound? I know you can use {Send} to change % of volume, but is there a way to mute, if not muted.

If $ismuted == 0 Then
               Mutesound()
            EndIf

????

i use

_SoundStatus ( $sSnd_id )

Share this post


Link to post
Share on other sites

Parameter(s): $sSnd_id - Sound ID returned by _SoundOpen or sound file

I'm not opening a sound file, just trying to mute the computer sound. Not sure what to pass that function, since i am not opening a sound file.

Share this post


Link to post
Share on other sites

SoundSetWaveVolume(0)

???

8)


NEWHeader1.png

Share this post


Link to post
Share on other sites

neg. I need the master volume muted...:-(

Share this post


Link to post
Share on other sites

neg. I need the master volume muted...:-(

Maybe...

DisconnectSpeakers(2)

???

8)


NEWHeader1.png

Share this post


Link to post
Share on other sites

hahahA!

Share this post


Link to post
Share on other sites

Maybe...

DisconnectSpeakers(2)

???

8)

Hate to sound dumb, but I can't find this anywhere. A forum search only returned this topic...

Share this post


Link to post
Share on other sites

Hate to sound dumb, but I can't find this anywhere. A forum search only returned this topic...

Someone want to get that hook back, he took it hook, line and sinker.....


SciTE for AutoItDirections for Submitting Standard UDFs

 

Don't argue with an idiot; people watching may not be able to tell the difference.

 

Share this post


Link to post
Share on other sites

Someone want to get that hook back, he took it hook, line and sinker.....

:)

8)


NEWHeader1.png

Share this post


Link to post
Share on other sites

#15 ·  Posted (edited)

Don't have any to worry about....lol

I should be from back east.... I still have a few ( thats where-ever red-necks come from... lol )

8)

Edited by Valuater

NEWHeader1.png

Share this post


Link to post
Share on other sites

I'm suprised there isn't an easy function like....

_SoundVol()

10 - 100 is volume level. You could also pass it "mute" or "0". Which would mute the volume...hrmm...seems so simple...guess not

Share this post


Link to post
Share on other sites

I'm suprised there isn't an easy function like....

_SoundVol()

10 - 100 is volume level. You could also pass it "mute" or "0". Which would mute the volume...hrmm...seems so simple...guess not

Well.... there ya go!!!

Here's your chance to make a UDF!!!

8)


NEWHeader1.png

Share this post


Link to post
Share on other sites

Don't forget...I am n00b dude...

Share this post


Link to post
Share on other sites

Try Wizmo from grc.com. This is by the guy who made Spinrite a few years back. I use Wizmo to shut down students' noisemaking...


...by the way, it's pronounced: "JIF"... Bob Berry --- inventor of the GIF format

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0