mac-capture: Add Sound Siphon as a supported audio routing device

Add support for Static Z Software's Sound Siphon audio routing software
(http://staticz.com/soundsiphon/) which provides more advanced audio routing
possibilities.
master
Luke Yelavich 2015-01-09 08:12:51 +11:00
parent 1a53c8ca66
commit 8dbb0cff6b
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)