Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/GStreamer/gst-plugins-good.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndoni Morales Alastruey <ylatuya@gmail.com>2013-03-06 00:22:18 +0400
committerSebastian Dröge <sebastian.droege@collabora.co.uk>2013-03-08 15:13:56 +0400
commitc853d8dac0585b43ae6d2a559bf5306deb080047 (patch)
tree3b47fd9b68f8f86a37d7d319b522e144c34fdd71 /configure.ac
parent9621074006488753486dbe037975dd282c088aec (diff)
osxaudio: add support for iOS using the RemoteIO AudioUnit
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac12
1 files changed, 11 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 9817ab76b..352b0c81a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -444,9 +444,19 @@ AG_GST_CHECK_FEATURE(SUNAUDIO, [Sun Audio], sunaudio, [
dnl *** OSX Audio ***
translit(dnm, m, l) AM_CONDITIONAL(USE_OSX_AUDIO, true)
+have_ios="no"
AG_GST_CHECK_FEATURE(OSX_AUDIO, [OSX audio], osxaudio, [
- AC_CHECK_HEADER(CoreAudio/CoreAudio.h, HAVE_OSX_AUDIO="yes", HAVE_OSX_AUDIO="no")
+ AC_CHECK_HEADER(CoreAudio/CoreAudio.h,
+ HAVE_OSX_AUDIO="yes",
+ dnl *** Check for the iOS headers ***
+ [AC_CHECK_HEADER(CoreAudio/CoreAudioTypes.h,
+ [HAVE_OSX_AUDIO="YES";have_ios="yes"], HAVE_OSX_AUDIO="no"
+ )])
])
+if test "x$have_ios" = "xyes"; then
+ AC_DEFINE(HAVE_IOS, 1, [building for iOS platofrm])
+fi
+AM_CONDITIONAL(HAVE_IOS, test "x$have_ios" = "xyes")
dnl *** OS X video ***
translit(dnm, m, l) AM_CONDITIONAL(USE_OSX_VIDEO, true)