diff --git a/sys/directsound/Makefile.am b/sys/directsound/Makefile.am new file mode 100644 index 0000000000..b8b26469cd --- /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 8676238a6e..a159a9ee0b 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);