We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f62447d commit f354698Copy full SHA for f354698
SoundSwitch/Framework/Profile/UI/ProfileTrayIconBuilder.cs
@@ -51,7 +51,7 @@ private ProfileToolStripMenuItem BuildMenuItem(Profile profile)
51
52
try
53
{
54
- var device = AudioDeviceLister.GetDevices(DataFlow.Render, DeviceState.Active).FirstOrDefault(info => info.Equals(wrapper.DeviceInfo));
+ var device = AudioDeviceLister.GetDevices(wrapper.DeviceInfo.Type, DeviceState.Active).FirstOrDefault(info => info.Equals(wrapper.DeviceInfo));
55
image = device?.SmallIcon.ToBitmap();
56
}
57
catch (Exception)
0 commit comments