AC_MSG_NOTICE([Checking libraries for plugins in sys/])
echo
+dnl DirectDraw
+translit(dnm, m, l) AM_CONDITIONAL(USE_DIRECTDRAW, true)
+AG_GST_CHECK_FEATURE(DIRECTDRAW, [DirectDraw plug-in], directdrawsink, [
+ HAVE_DIRECTDRAW="no"
+ save_CFLAGS="$CFLAGS"
+ save_LDFLAGS="$LDFLAGS"
+ save_LIBS="$LIBS"
+ CFLAGS="$CFLAGS $DIRECTDRAW_CFLAGS"
+ LDFLAGS="$LDFLAGS $DIRECTDRAW_LDFLAGS"
+ LIBS="$LIBS -lddraw -lgdi32"
+ AC_MSG_CHECKING(for DirectDraw LDFLAGS)
+ AC_LINK_IFELSE([
+#include <windows.h>
+#include <ddraw.h>
+
+int main ()
+{
+ GetStockObject(0);
+ DirectDrawCreate(NULL, NULL, NULL);
+
+ return 0;
+}
+],
+ [HAVE_DIRECTDRAW="yes"],
+ [HAVE_DIRECTDRAW="no"])
+ AC_MSG_RESULT($HAVE_DIRECTDRAW)
+ CFLAGS=$save_CFLAGS
+ LDFLAGS=$save_LDFLAGS
+ LIBS=$save_LIBS
+
+ if test "x$HAVE_DIRECTDRAW" = "xyes"; then
+ dnl this is much more than we want
+ DIRECTDRAW_LIBS="-lddraw -ldxguid -lgdi32"
+ AC_SUBST(DIRECTDRAW_CFLAGS)
+ AC_SUBST(DIRECTDRAW_LDFLAGS)
+ AC_SUBST(DIRECTDRAW_LIBS)
+ fi
+ AC_SUBST(HAVE_DIRECTDRAW)
+])
+
+dnl DirectSound
+translit(dnm, m, l) AM_CONDITIONAL(USE_DIRECTSOUND, true)
+AG_GST_CHECK_FEATURE(DIRECTSOUND, [DirectSound plug-in], directsoundsink, [
+ HAVE_DIRECTSOUND="no"
+ save_CFLAGS="$CFLAGS"
+ save_LDFLAGS="$LDFLAGS"
+ save_LIBS="$LIBS"
+ CFLAGS="$CFLAGS $DIRECTSOUND_CFLAGS"
+ LDFLAGS="$LDFLAGS $DIRECTSOUND_LDFLAGS"
+ LIBS="$LIBS -ldsound -ldxerr9"
+ AC_MSG_CHECKING(for DirectSound LDFLAGS)
+ AC_LINK_IFELSE([
+#include <windows.h>
+#include <dxerr9.h>
+#include <dsound.h>
+
+int main ()
+{
+ DXGetErrorString9 (0);
+ DirectSoundCreate(NULL, NULL, NULL);
+
+ return 0;
+}
+],
+ [HAVE_DIRECTSOUND="yes"],
+ [HAVE_DIRECTSOUND="no"])
+ AC_MSG_RESULT($HAVE_DIRECTSOUND)
+ CFLAGS=$save_CFLAGS
+ LDFLAGS=$save_LDFLAGS
+ LIBS=$save_LIBS
+
+ if test "x$HAVE_DIRECTSOUND" = "xyes"; then
+ dnl this is much more than we want
+ DIRECTSOUND_LIBS="-ldsound -ldxerr9"
+ AC_SUBST(DIRECTSOUND_CFLAGS)
+ AC_SUBST(DIRECTSOUND_LDFLAGS)
+ AC_SUBST(DIRECTSOUND_LIBS)
+ fi
+ AC_SUBST(HAVE_DIRECTSOUND)
+])
+
dnl *** OSS audio *** (Linux, *BSD)
translit(dnm, m, l) AM_CONDITIONAL(USE_OSS, true)
AG_GST_CHECK_FEATURE(OSS, [OSS audio], ossaudio, [
dnl not building plugins with external dependencies,
dnl but we still need to set the conditionals
AM_CONDITIONAL(USE_GCONFTOOL, false)
+AM_CONDITIONAL(USE_DIRECTDRAW, false)
+AM_CONDITIONAL(USE_DIRECTSOUND, false)
AM_CONDITIONAL(USE_OSS, false)
AM_CONDITIONAL(USE_SUNAUDIO, false)
AM_CONDITIONAL(USE_OSX_AUDIO, false)
ext/speex/Makefile
ext/taglib/Makefile
sys/Makefile
+sys/directdraw/Makefile
+sys/directsound/Makefile
sys/oss/Makefile
sys/sunaudio/Makefile
sys/osxaudio/Makefile
<xi:include href="xml/element-cdiocddasrc.xml" />
<xi:include href="xml/element-cmmldec.xml" />
<xi:include href="xml/element-cmmlenc.xml" />
+ <xi:include href="xml/element-directdrawsink.xml" />
+ <xi:include href="xml/element-directsoundsink.xml" />
<xi:include href="xml/element-dvdec.xml" />
<xi:include href="xml/element-dvdemux.xml" />
<xi:include href="xml/element-esdsink.xml" />
<xi:include href="xml/plugin-cdio.xml" />
<xi:include href="xml/plugin-cutter.xml" />
<xi:include href="xml/plugin-debug.xml" />
+ <xi:include href="xml/plugin-directdraw.xml" />
+ <xi:include href="xml/plugin-directsound.xml" />
<xi:include href="xml/plugin-dv.xml" />
<xi:include href="xml/plugin-efence.xml" />
<xi:include href="xml/plugin-effectv.xml" />
win32/vs6/libgstautodetect.dsp
win32/vs6/libgstavi.dsp
win32/vs6/libgstcutter.dsp
+win32/vs6/libgstdirectdraw.dsp
+win32/vs6/libgstdirectsound.dsp
win32/vs6/libgsteffectv.dsp
win32/vs6/libgstflx.dsp
win32/vs6/libgstgoom.dsp
win32/vs6/libgstvideomixer.dsp
win32/vs6/libgstwavenc.dsp
win32/vs6/libgstwavparse.dsp
+win32/vs7/libgstdirectdraw.vcproj
+win32/vs7/libgstdirectsound.vcproj
win32/vs8/gst-plugins-good.sln
win32/vs8/libgst1394.vcproj
win32/vs8/libgstaasink.vcproj
win32/vs8/libgstcacasink.vcproj
win32/vs8/libgstcdio.vcproj
win32/vs8/libgstcutter.vcproj
+win32/vs8/libgstdirectdraw.vcproj
+win32/vs8/libgstdirectsound.vcproj
win32/vs8/libgstdv.vcproj
win32/vs8/libgsteffectv.vcproj
win32/vs8/libgstflac.vcproj