Преглед на файлове

mac-capture: Add vbcable to whitelist for loopback devices

eightball567 преди 3 години
родител
ревизия
6df5a98534
променени са 1 файла, в които са добавени 2 реда и са изтрити 1 реда
  1. 2 1
      plugins/mac-capture/audio-device-enum.c

+ 2 - 1
plugins/mac-capture/audio-device-enum.c

@@ -15,7 +15,8 @@ static inline bool device_is_input(char *device)
 	       astrstri(device, "ishowu") == NULL &&
 	       astrstri(device, "blackhole") == NULL &&
 	       astrstri(device, "loopback") == NULL &&
-	       astrstri(device, "groundcontrol") == NULL;
+	       astrstri(device, "groundcontrol") == NULL &&
+	       astrstri(device, "vbcable") == NULL;
 }
 
 static inline bool enum_success(OSStatus stat, const char *msg)