Merge pull request #327 from TheMuso/master

mac-capture: Add Sound Siphon as a supported audio routing device
master
Jim 2015-01-09 23:47:41 -08:00
commit 59dc77446c
1 changed files with 3 additions and 2 deletions

View File

@ -5,11 +5,12 @@
#include "audio-device-enum.h"
/* ugh, because mac has no means of capturing output, we have to basically
* mark soundflower and wavtap as output devices. */
* mark soundflower, wavtap and sound siphon as output devices. */
static inline bool device_is_input(char *device)
{
return astrstri(device, "soundflower") == NULL &&
astrstri(device, "wavtap") == NULL;
astrstri(device, "wavtap") == NULL &&
astrstri(device, "soundsiphon") == NULL;
}
static inline bool enum_success(OSStatus stat, const char *msg)