Skip to content

Commit 777d5a8

Browse files
committed
fix(AudioSwitcher): Add missing return type
1 parent c3cda41 commit 777d5a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

SoundSwitch.Audio.Manager/AudioSwitcher.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ public string GetUsedDevice(EDataFlow flow, ERole role, uint processId)
190190
/// <param name="device"></param>
191191
/// <param name="interaction"></param>
192192
/// <typeparam name="T"></typeparam>
193-
public void InteractWithMmDevice<T>(MMDevice device, Func<MMDevice, T> interaction) => ComThread.Invoke(() => interaction(device));
193+
public T InteractWithMmDevice<T>(MMDevice device, Func<MMDevice, T> interaction) => ComThread.Invoke(() => interaction(device));
194194

195195
/// <summary>
196196
/// Get the current default endpoint

0 commit comments

Comments
 (0)