private static void displayHelpMessage()
{
Console.WriteLine("Audio Changer written by Stephan Desmoulin AKA aifdsc");
Console.WriteLine("For more information, please visit http://aifdsc.blogspot.com/");
Console.WriteLine("");
Console.WriteLine("Allows a command-line method of switching system default audio devices. Tested and found working on Windows 7 x64. Should also work on Windows 7 x86. In both cases, this program must be run as an administrator or with UAC disabled.");
Console.WriteLine("");
Console.WriteLine("Parameters:");
Console.WriteLine(" /? Brings up this help message");
Console.WriteLine(" /list Display a list of currently enabled audio devices and the defaults");
Console.WriteLine(" /cro Returns the ID of the current default output audio device");
Console.WriteLine(" /cri Returns the ID of the current default input audio device");
Console.WriteLine(" /so {guid} Sets the default output audio device based on a GUID");
Console.WriteLine(" /so devicename busname Sets the default output audio device based on the device");
Console.WriteLine(" name and device bus name (like Speakers, Creative SB X-Fi)");
Console.WriteLine(" /si {guid} Sets the default input audio device based on a GUID");
Console.WriteLine(" /si devicename busname Sets the default input audio device based on the device");
Console.WriteLine(" name and device bus name (like Speakers, Creative SB X-Fi)");
Console.WriteLine(" /so devicename busname [devicename] [busname] ... Switches between default output audio devices");
Console.WriteLine(" in the list of pairs; once it reaches the last one, it cycles back to the first item");
Console.WriteLine(" /si devicename busname [devicename] [busname] ... Switches between default input audio devices");
Console.WriteLine(" in the list of pairs; once it reaches the last one, it cycles back to the first item");
}