Просмотр исходного кода

mac-capture: Add another virtual output loopback device

Adds "GroundControl" fake output device for audio loopback on macOS.
GingerAudio 4 лет назад
Родитель
Сommit
ec0bf68e4a
1 измененных файлов с 2 добавлено и 1 удалено
  1. 2 1
      plugins/mac-capture/audio-device-enum.c

+ 2 - 1
plugins/mac-capture/audio-device-enum.c

@@ -14,7 +14,8 @@ static inline bool device_is_input(char *device)
 	       astrstri(device, "soundsiphon") == NULL &&
 	       astrstri(device, "soundsiphon") == NULL &&
 	       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;
 }
 }
 
 
 static inline bool enum_success(OSStatus stat, const char *msg)
 static inline bool enum_success(OSStatus stat, const char *msg)