using System; using System.Drawing; public static class DisplayFusionFunction { public static void Run(IntPtr windowHandle) { string[] audioDevices = BFS.Audio.GetPlaybackDevices(); foreach (string device in audioDevices) { if (device.Contains("Corsair")){ BFS.Audio.SetDefaultPlaybackSounds(device); BFS.Dialog.ShowTrayMessage("Audio set to Corsair Headset"); } } } }