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
parent
1a53c8ca66
commit
8dbb0cff6b
|
@ -5,11 +5,12 @@
|
||||||
#include "audio-device-enum.h"
|
#include "audio-device-enum.h"
|
||||||
|
|
||||||
/* ugh, because mac has no means of capturing output, we have to basically
|
/* 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)
|
static inline bool device_is_input(char *device)
|
||||||
{
|
{
|
||||||
return astrstri(device, "soundflower") == NULL &&
|
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)
|
static inline bool enum_success(OSStatus stat, const char *msg)
|
||||||
|
|
Loading…
Reference in New Issue