浏览代码

mac-capture: Add vbcable to whitelist for loopback devices

eightball567 3 年之前
父节点
当前提交
0d68aacfb6
共有 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, "ishowu") == NULL &&
 	       astrstri(device, "blackhole") == NULL &&
 	       astrstri(device, "blackhole") == NULL &&
 	       astrstri(device, "loopback") == 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)
 static inline bool enum_success(OSStatus stat, const char *msg)