Browse Source

mac-capture: Add vbcable to whitelist for loopback devices

eightball567 3 năm trước cách đây
mục cha
commit
0d68aacfb6
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  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)