2

I have 2 audio output devices:

  1. 5.1 Speaker System attached via Toslink
  2. Gaming Headset attached via USB

Is there a simple way to change which device is the default output device, from the command-line? I'm interested in scripting it.

0

1 Answer 1

3

Perhaps take a look at the AudioSwitch project, it has also command-line options.

Examples:

  1. AudioSwitch.exe -i 1 -- will change 1'th device as default and run AudioSwitch.
  2. AudioSwitch.exe -i 0 -x -- will change 0'th device as default and exit.
  3. AudioSwitch.exe -l -i 0 -x -- will show device list, set 0'th device as default and exit.
1
  • After using this for a while, AudioSwitch is perfect! I can highly recommend it. Very easy to use and nothing to miss.
    – jawo
    Commented Dec 18, 2014 at 14:08

Not the answer you're looking for? Browse other questions tagged .