Tell me more ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I want an easier way to change my default sound device from my sound card to my usb headset.

Currently it takes a very precise right click, a left click, another right click, and two more left clicks.

Ideally i could just have it swap with a shortcut key. (it was a little easier in XP but not by much.)

A software solution is preferred, but I am open to suggestions that use hardware.

I am running Windows 7 currently.

share|improve this question
Tell me about it! And Windows is supposed to be designed for ease-of-use. Pfft – Will Sheppard Jul 25 '12 at 14:06

2 Answers

up vote 7 down vote accepted

This app should work for Windows 7:

http://coastalrocket.blogspot.com/2009/12/switching-audio-devices-in-windows-7.html

share|improve this answer
i ended up using the trial of this app and then buying it. It was a little buggy at first, but then the author released a new version in April 2011 and now I love it. it's perfect and totally worth the 5 bucks. :) – robertpateii Jul 27 '11 at 20:26
1  
Using this now because it's simpler, works better, and is open source: soundswitch.codeplex.com – robertpateii Mar 10 at 6:40

One Click Solution

Download your corresponding .exe which is compiled with AutoIt.
Place a shortcut on your desktop and assign a keyboard combination to your shortcut

enter image description here

Downloads


Create your own toggle .exe

If none of the above files work for you, you have to edit the code and compile it on your own.
Don't be scared. Its very easy!

  1. Copy & paste the code below in a new text file

    Run("c:\windows\system32\control.exe mmsys.cpl")
    WinWaitActive("Sound")
    WinSetOnTop ("Sound","Sound", 1 )
    send("{DOWN}")
    if ControlCommand("Sound", "", 1002, 'IsEnabled') Then
        ControlClick("Sound", "Set Default", 1002)
        $message = "Speakers"
    else
        send("{DOWN}")
        ControlClick("Sound", "Set Default", 1002)
        $message = "Headset"
    EndIf
    WinClose("Sound")
    TrayTip("", $message, 5)
    Sleep(2000)

  2. edit line 4 e.g. {DOWN 3} means toggle between your third device and ...
  3. edit line 8 e.g. {DOWN 2} your fifth device (cause 3+2=5)
  4. replace "Speakers" and "Headset" with your correspondig device name or something similar
    This text will be shown in a tray balloon tip for 5 seconds
  5. save the text file as toggle-sound.au3
  6. Download the .zip file of AutoIt. The subfolder Aut2Exe will contain the compiler
  7. convert your .au3 script whit Aut2exe.exe. Don't forget to choose a nice icon!

    Note: On a localized Windows (German, Spanish, French),
    you have to replace "Set Default" twice with your localized button text.

    enter image description here

Here you can read more about all used commands.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.