summaryrefslogtreecommitdiff
path: root/sys/osxaudio/gstosxaudioelement.h
diff options
context:
space:
mode:
authorAndoni Morales Alastruey <ylatuya@gmail.com>2013-03-05 21:22:18 +0100
committerSebastian Dröge <sebastian.droege@collabora.co.uk>2013-03-08 12:13:09 +0100
commitb4ed433e145612547ff91dd14e5e87bca27d90fc (patch)
tree4fd24171fb8556144fa79ff230839a3e2481b416 /sys/osxaudio/gstosxaudioelement.h
parent89e4fb894f16d3fb04c1d3220bc953776fa65e22 (diff)
osxaudio: add support for iOS using the RemoteIO AudioUnit
Diffstat (limited to 'sys/osxaudio/gstosxaudioelement.h')
-rw-r--r--sys/osxaudio/gstosxaudioelement.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/sys/osxaudio/gstosxaudioelement.h b/sys/osxaudio/gstosxaudioelement.h
index b5d90c0c6..198dc1e4e 100644
--- a/sys/osxaudio/gstosxaudioelement.h
+++ b/sys/osxaudio/gstosxaudioelement.h
@@ -49,8 +49,16 @@
#ifndef __GST_OSX_AUDIO_ELEMENT_H__
#define __GST_OSX_AUDIO_ELEMENT_H__
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
#include <gst/gst.h>
+#ifdef HAVE_IOS
+#include <CoreAudio/CoreAudioTypes.h>
+#else
#include <CoreAudio/CoreAudio.h>
+#endif
#include <AudioUnit/AudioUnit.h>
G_BEGIN_DECLS