From 296687a398ba315f40fb1ead0de97ae4727162b0 Mon Sep 17 00:00:00 2001 From: Sébastien Moutte Date: Tue, 20 Feb 2007 21:34:00 +0000 Subject: sys/directsound/gstdirectsoundsink.*: Remove include of unused headers. Original commit message from CVS: * sys/directsound/gstdirectsoundsink.c: * sys/directsound/gstdirectsoundsink.h: Remove include of unused headers. * sys/waveform/gstwaveformplugin.c: * sys/waveform/gstwaveformsink.c: * sys/waveform/gstwaveformsink.h: * win32/vs6/libgstwaveform.dsp: Add a new waveform plugin which includes an audio sink element using the WaveForm win32 API. * win32/MANIFEST: Add the new project file form waveform plugin. --- sys/directsound/gstdirectsoundsink.c | 16 +--------------- sys/directsound/gstdirectsoundsink.h | 2 -- 2 files changed, 1 insertion(+), 17 deletions(-) (limited to 'sys/directsound') diff --git a/sys/directsound/gstdirectsoundsink.c b/sys/directsound/gstdirectsoundsink.c index 46a57e8b..94b5579f 100644 --- a/sys/directsound/gstdirectsoundsink.c +++ b/sys/directsound/gstdirectsoundsink.c @@ -20,7 +20,7 @@ */ /** - * SECTION:element-directsound + * SECTION:element-directsoundsink * @short_description: output sound using Directsound API * * @@ -56,13 +56,6 @@ #include "gstdirectsoundsink.h" -#include -#include -#ifdef HAVE_UNISTD_H -#include -#endif -#include - GST_DEBUG_CATEGORY_STATIC (directsoundsink_debug); /* elementfactory information */ @@ -76,7 +69,6 @@ static void gst_directsound_sink_base_init (gpointer g_class); static void gst_directsound_sink_class_init (GstDirectSoundSinkClass * klass); static void gst_directsound_sink_init (GstDirectSoundSink * dsoundsink, GstDirectSoundSinkClass * g_class); -static void gst_directsound_sink_dispose (GObject * object); static void gst_directsound_sink_finalise (GObject * object); static void gst_directsound_sink_set_property (GObject * object, guint prop_id, const GValue * value, GParamSpec * pspec); @@ -128,11 +120,6 @@ _do_init (GType directsoundsink_type) GST_BOILERPLATE_FULL (GstDirectSoundSink, gst_directsound_sink, GstAudioSink, GST_TYPE_AUDIO_SINK, _do_init); -static void -gst_directsound_sink_dispose (GObject * object) -{ - G_OBJECT_CLASS (parent_class)->dispose (object); -} static void gst_directsound_sink_finalise (GObject * object) @@ -171,7 +158,6 @@ gst_directsound_sink_class_init (GstDirectSoundSinkClass * klass) parent_class = g_type_class_peek_parent (klass); - gobject_class->dispose = GST_DEBUG_FUNCPTR (gst_directsound_sink_dispose); gobject_class->finalize = GST_DEBUG_FUNCPTR (gst_directsound_sink_finalise); gobject_class->get_property = GST_DEBUG_FUNCPTR (gst_directsound_sink_get_property); diff --git a/sys/directsound/gstdirectsoundsink.h b/sys/directsound/gstdirectsoundsink.h index d1a47aac..dd0a04f4 100644 --- a/sys/directsound/gstdirectsoundsink.h +++ b/sys/directsound/gstdirectsoundsink.h @@ -19,7 +19,6 @@ * Boston, MA 02111-1307, USA. */ - #ifndef __GST_DIRECTSOUNDSINK_H__ #define __GST_DIRECTSOUNDSINK_H__ @@ -30,7 +29,6 @@ #include #include - G_BEGIN_DECLS #define GST_TYPE_DIRECTSOUND_SINK (gst_directsound_sink_get_type()) #define GST_DIRECTSOUND_SINK(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_DIRECTSOUND_SINK,GstDirectSoundSink)) -- cgit