From 48e27d30f95a153145d69d38b3067de1ad1b6b43 Mon Sep 17 00:00:00 2001 From: Terry MacDonald Date: Wed, 22 Sep 2021 09:05:33 +1200 Subject: [PATCH] Slightly speed up audio device swapping --- DisplayMagician/ShortcutRepository.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/DisplayMagician/ShortcutRepository.cs b/DisplayMagician/ShortcutRepository.cs index d8bc37a..1b6898f 100644 --- a/DisplayMagician/ShortcutRepository.cs +++ b/DisplayMagician/ShortcutRepository.cs @@ -675,6 +675,7 @@ namespace DisplayMagician { // use the Audio Device audioDevice.SetAsDefault(); + break; } } } @@ -746,6 +747,7 @@ namespace DisplayMagician { // use the Audio Device captureDevice.SetAsDefault(); + break; } } }