News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

Turn off all sound

Started by Magnum, August 05, 2011, 12:06:29 AM

Previous topic - Next topic

Magnum

I found an easy way to turn on/off all sound.

Just replace disable with enable to turn it back on.

The tricky part is in getting a unique string that just returns the device you want off.

Use devcon find *<string values> to make sure you have the right device.

During testing, I ended up turning off my mouse. :-)

:: off_noise.bat Turn off computer speaker and sound board
::
devcon disable *ACPI\PNP0800
devcon disable *3059


Have a great day,
                         Andy

Tedd

Is mute not quiet enough for you?
No snowflake in an avalanche feels responsible.

Magnum

Mute does not turn off computer speaker.

Have a great day,
                         Andy