osxaudio: build fixes

Enable the osxaudio plugin build in configure.ac and fix some
include directive order issues.
This commit is contained in:
Philippe Normand 2013-04-05 10:02:38 +02:00 committed by Sebastian Dröge
parent d5d53ec611
commit ab64837bf2
5 changed files with 5 additions and 7 deletions

View file

@ -322,11 +322,6 @@ AG_GST_DEFAULT_ELEMENTS
dnl *** plug-ins to include ***
dnl Non ported plugins (non-dependant, then dependant)
dnl Make sure you have a space before and after all plugins
GST_PLUGINS_NONPORTED="osx_audio "
AC_SUBST(GST_PLUGINS_NONPORTED)
dnl these are all the gst plug-ins, compilable without additional libs
dnl videofilter is at the top because others depend on it
AG_GST_CHECK_PLUGIN(alpha)
@ -473,7 +468,7 @@ AG_GST_CHECK_FEATURE(OSX_AUDIO, [OSX audio], osxaudio, [
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"
[HAVE_OSX_AUDIO="YES";have_ios="yes"], [HAVE_OSX_AUDIO="yes";have_ios="no"]
)])
])
if test "x$have_ios" = "xyes"; then

View file

@ -50,7 +50,7 @@
#endif
#include <gst/gst.h>
#include <gst/audio/gstaudioringbuffer.h>
#include <gst/audio/audio.h>
#include <gstosxcoreaudio.h>

View file

@ -67,6 +67,7 @@
#endif
#include <gst/gst.h>
#include <gst/audio/audio.h>
#include <gst/audio/audio-channels.h>
#include <gst/audio/gstaudioiec61937.h>

View file

@ -51,6 +51,7 @@
#define __GST_OSXAUDIOSINK_H__
#include <gst/gst.h>
#include <gst/audio/audio.h>
#include <gst/audio/gstaudiobasesink.h>
#include "gstosxaudioringbuffer.h"

View file

@ -45,6 +45,7 @@
#define __GST_OSXAUDIOSRC_H__
#include <gst/gst.h>
#include <gst/audio/audio.h>
#include <gst/audio/gstaudiobasesrc.h>
#include "gstosxaudioringbuffer.h"