From 77fa8aef0e9cc89994ce4e929fa5482ba2a141b6 Mon Sep 17 00:00:00 2001 From: pkviet Date: Fri, 26 Jun 2020 08:46:12 +0200 Subject: [PATCH] mac-capture: Add several virtual audio drivers to Desktop audio This allows the following virtual audio devices to be listed as Desktop Audio devices: - loopback; - iShowU; - BlackHole. --- plugins/mac-capture/audio-device-enum.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/plugins/mac-capture/audio-device-enum.c b/plugins/mac-capture/audio-device-enum.c index ea12e6d29..61f183789 100644 --- a/plugins/mac-capture/audio-device-enum.c +++ b/plugins/mac-capture/audio-device-enum.c @@ -11,7 +11,10 @@ static inline bool device_is_input(char *device) { return astrstri(device, "soundflower") == NULL && astrstri(device, "wavtap") == NULL && - astrstri(device, "soundsiphon") == NULL; + astrstri(device, "soundsiphon") == NULL && + astrstri(device, "ishowu") == NULL && + astrstri(device, "blackhole") == NULL && + astrstri(device, "loopback") == NULL; } static inline bool enum_success(OSStatus stat, const char *msg)