public static bool SetCommDeviceByName(this CoreAudioController controller, string idOrName)
        {
            Console.WriteLine("Setting communication device...");
            var device = controller.GetDeviceByName(idOrName);

            if (device == null)
            {
                Console.WriteLine($"Failed to set communication device, could not find device with Id or Name {idOrName}");
                return(false);
            }

            if (!controller.SetDefaultCommunicationsDevice(device))
            {
                Console.WriteLine($"Failed to set communication device");
                return(false);
            }

            Console.WriteLine($"{device.DeviceType} communication device set to {device.InterfaceName}|{device.Name}");
            return(true);
        }