The MASM Forum Archive 2004 to 2012

Miscellaneous Forums => The Orphanage => Topic started by: Magnum on August 05, 2011, 12:06:29 AM

Title: Turn off all sound
Post by: Magnum on August 05, 2011, 12:06:29 AM
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


Title: Re: Turn off all sound
Post by: Tedd on August 07, 2011, 07:00:07 PM
Is mute not quiet enough for you?
Title: Re: Turn off all sound
Post by: Magnum on August 07, 2011, 08:39:08 PM
Mute does not turn off computer speaker.