mirror of https://github.com/mpv-player/mpv
16 lines
457 B
C
16 lines
457 B
C
|
#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;
|
||
|
}
|