mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-24 02:31:03 +00:00
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.
This commit is contained in:
parent
2ae3fda5fa
commit
40de57f68f
2 changed files with 10 additions and 1 deletions
9
sys/directsound/Makefile.am
Normal file
9
sys/directsound/Makefile.am
Normal file
|
@ -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)
|
|
@ -485,7 +485,7 @@ gst_directsoundsink_reset (GstAudioSink * asink)
|
||||||
{
|
{
|
||||||
/*not tested for seeking */
|
/*not tested for seeking */
|
||||||
GstDirectSoundSink *dsoundsink;
|
GstDirectSoundSink *dsoundsink;
|
||||||
LPBYTE pLockedBuffer = NULL;
|
LPVOID pLockedBuffer = NULL;
|
||||||
DWORD dwSizeBuffer = 0;
|
DWORD dwSizeBuffer = 0;
|
||||||
|
|
||||||
dsoundsink = GST_DIRECTSOUND_SINK (asink);
|
dsoundsink = GST_DIRECTSOUND_SINK (asink);
|
||||||
|
|
Loading…
Reference in a new issue