summaryrefslogtreecommitdiffstats
path: root/waftools/fragments/audiounit.c
blob: e1d32662709ff63e244890fe81116ee187472a4d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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;
}