diff options
Diffstat (limited to 'waftools/fragments')
-rw-r--r-- | waftools/fragments/audiounit.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/waftools/fragments/audiounit.c b/waftools/fragments/audiounit.c new file mode 100644 index 0000000000..e1d3266270 --- /dev/null +++ b/waftools/fragments/audiounit.c @@ -0,0 +1,15 @@ +#include <AudioToolbox/AudioToolbox.h> +#include <AudioUnit/AudioUnit.h> +#include <CoreAudio/CoreAudioTypes.h> + +int main(int argc, char **argv) +{ + AudioComponentDescription desc = (AudioComponentDescription) { + .componentType = kAudioUnitType_Output, + .componentSubType = kAudioUnitSubType_RemoteIO, + .componentManufacturer = kAudioUnitManufacturer_Apple, + }; + + AudioComponentFindNext(NULL, &desc); + return 0; +} |