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 2020-06-26 08:46:12 +02:00
parent 381960a7bc
commit 77fa8aef0e

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)