Original commit message from CVS:
Patch by: Vincent Torri <vtorri at univ-evry fr>
* configure.ac:
* sys/Makefile.am:
* sys/directsound/Makefile.am:
* sys/directsound/gstdirectsoundsink.c:
(gst_directsoundsink_reset):
Add directsoundsink to build and dist it, so it gets built when
compiling with MingW on win32 and the required headers and libraries
are available (fixes: #392638). Also simplify DirectDraw check a bit.
* tests/check/elements/.cvsignore:
Fix CVS ignore for neonhttpsrc test binary.
--- /dev/null
+plugin_LTLIBRARIES = libgstdirectsoundsink.la\r
+\r
+libgstdirectsoundsink_la_SOURCES = gstdirectsoundsink.c gstdirectsoundplugin.c\r
+libgstdirectsoundsink_la_CFLAGS = $(GST_CFLAGS) $(GST_BASE_CFLAGS) \\r
+ $(GST_PLUGINS_BASE_CFLAGS)\r
+libgstdirectsoundsink_la_LIBADD = $(DIRECTSOUND_LIBS) \\r
+ $(GST_BASE_LIBS) $(GST_PLUGINS_BASE_LIBS) \\r
+ -lgstaudio-$(GST_MAJORMINOR) -lgstinterfaces-$(GST_MAJORMINOR)\r
+libgstdirectsoundsink_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)\r
{
/*not tested for seeking */
GstDirectSoundSink *dsoundsink;
- LPBYTE pLockedBuffer = NULL;
+ LPVOID pLockedBuffer = NULL;
DWORD dwSizeBuffer = 0;
dsoundsink = GST_DIRECTSOUND_SINK (asink);