diff options
author | Vincent Torri <vtorri@univ-evry.fr> | 2007-01-04 09:44:57 +0000 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.net> | 2007-01-04 09:44:57 +0000 |
commit | e2117c6c678ae18f7cb5f6dd24b1b8d9b0fa84bf (patch) | |
tree | 2cfcee35a9c1b524102a9316e9d7370d3a59232f /sys/directsound | |
parent | e163953b0e1c80aab8622cc0ec5ed567da8097c1 (diff) | |
download | gstreamer-plugins-bad-e2117c6c678ae18f7cb5f6dd24b1b8d9b0fa84bf.tar.gz |
Add directsoundsink to build and dist it, so it gets built when compiling with MingW on win32 and the required header...
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.
Diffstat (limited to 'sys/directsound')
-rw-r--r-- | sys/directsound/Makefile.am | 9 | ||||
-rw-r--r-- | sys/directsound/gstdirectsoundsink.c | 2 |
2 files changed, 10 insertions, 1 deletions
diff --git a/sys/directsound/Makefile.am b/sys/directsound/Makefile.am new file mode 100644 index 000000000..b8b26469c --- /dev/null +++ b/sys/directsound/Makefile.am @@ -0,0 +1,9 @@ +plugin_LTLIBRARIES = libgstdirectsoundsink.la
+
+libgstdirectsoundsink_la_SOURCES = gstdirectsoundsink.c gstdirectsoundplugin.c
+libgstdirectsoundsink_la_CFLAGS = $(GST_CFLAGS) $(GST_BASE_CFLAGS) \
+ $(GST_PLUGINS_BASE_CFLAGS)
+libgstdirectsoundsink_la_LIBADD = $(DIRECTSOUND_LIBS) \
+ $(GST_BASE_LIBS) $(GST_PLUGINS_BASE_LIBS) \
+ -lgstaudio-$(GST_MAJORMINOR) -lgstinterfaces-$(GST_MAJORMINOR)
+libgstdirectsoundsink_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
diff --git a/sys/directsound/gstdirectsoundsink.c b/sys/directsound/gstdirectsoundsink.c index 8676238a6..a159a9ee0 100644 --- a/sys/directsound/gstdirectsoundsink.c +++ b/sys/directsound/gstdirectsoundsink.c @@ -485,7 +485,7 @@ gst_directsoundsink_reset (GstAudioSink * asink) { /*not tested for seeking */ GstDirectSoundSink *dsoundsink; - LPBYTE pLockedBuffer = NULL; + LPVOID pLockedBuffer = NULL; DWORD dwSizeBuffer = 0; dsoundsink = GST_DIRECTSOUND_SINK (asink); |