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