ATTENTION: You are viewing a page formatted for mobile devices; to view the full web page, click HERE.

DonationCoder.com Software > Finished Programs

SOLVED: I would love a hotkey or desktop icon to disable/enable my default audio device

(1/1)

HankFriedman:
Hi! I have a DAC connected to my computer that sometimes doesn't wake up after my PC awakens after sleep.

If I go to Control Panel --> Sound and disable and re-enable it, it works again.

I don't want to use AutoHotkey, but if anyone reading this could create a tiny program that enables me to disable and then enable my default sound playback device, that would be really, really great.

Thanks!

Nod5:
NirSoft's SoundVolumeView seems to do what you want.

You can switch between disabled and enabled state by using the /DisableEnable command, for example:
SoundVolumeView.exe /DisableEnable "Realtek High Definition Audio\Device\Speakers\Render"
--- End quote ---

If working then you can simply make a shortcut with such parameters and run it twice to disable and re-enable the DAC.

HankFriedman:
Nod5:

You did it!

It works like a charm!

Thank you so much.

I am really grateful.

Nod5:
Happy to help  :)

Additional note to myself: it seems also possible to disable/reenable devices from Powershell https://stackoverflow.com/a/47262639

skwire:
Thanks, Nod5.  I'll mark this thread as solved and move it.

Navigation

[0] Message Index

Go to full version