A tiny command-line windows app for switching between two favorite playback devices
AudioDeviceToggle.exe "My favorite headphones" "My awesome speakers"
- Programmatically (or Command Line) change the default sound playback device in Windows 7: http://www.daveamenta.com/2011-05/programmatically-or-command-line-change-the-default-sound-playback-device-in-windows-7/
- Core Audio Api (MSDN): https://msdn.microsoft.com/en-us/library/windows/desktop/dd370802%28v=vs.85%29.aspx?f=255&MSPPError=-2147217396
- Audio Switcher: https://github.com/xenolightning/AudioSwitcher