Open tklevenz opened 9 years ago
v2.1.1 on Windows 10 (Pro 64Bit, Clean Install):
I got the exact same issue and can replicate it:
Log Entry: 07.08.2015 18:03:12
System.ArgumentOutOfRangeException: InvalidArgument=Value mit dem Wert 0 ist für index ungültig.
Parametername: index
bei System.Windows.Forms.ListView.SelectedListViewItemCollection.get_Item(Int32 index)
bei AudioSwitch.Forms.FormSwitcher.<SetTrayIcons>b__14(CDevice x)
bei System.Collections.Generic.List`1.Find(Predicate`1 match)
bei AudioSwitch.Forms.FormSwitcher.SetTrayIcons()
bei AudioSwitch.Forms.FormSwitcher..ctor()
bei AudioSwitch.Classes.Program.Main(String[] args)
-------------------------------
When ever I hide the device from list what is the current default device and restart the application the error appears on start.
Fixes by removing
Addition: The Hotkey "NextPlaybackDevice" doesn't skip hidden devices (I think it did in previous versions?), that way you may acivate a hidden playback device (the tray icon doesn't change). When restarting windows or audioswitch, the error appears next time. (Temporary Solution: Disable Playback Device in Windows)
I removed one of my devices, after I rebooted I got the following error:
Reinstalling audioswitch fixed the Problem.