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.
This commit is contained in:
pkviet committed 2020-06-26 08:46:19 +02:00
1 parent 381960a7bc
commit 77fa8aef0e
1 file changed
+4 -1
+4 -1
View File
@@ -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)