diff options
author | Aman Gupta <aman@tmm1.net> | 2016-10-19 15:08:48 -0700 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2016-11-01 16:25:40 +0100 |
commit | 3f5b41dfa30ca282fd99176bf879493dd72b3119 (patch) | |
tree | b6684cc9b2406f3bc26e0b9e43950cc97fb030f9 /waftools/fragments | |
parent | 0dc1fe32696f9b53f21da598efe1aa1e3be2f24e (diff) | |
download | mpv-3f5b41dfa30ca282fd99176bf879493dd72b3119.tar.bz2 mpv-3f5b41dfa30ca282fd99176bf879493dd72b3119.tar.xz |
audio/out: add AudioUnit output driver for iOS
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; +} |