summaryrefslogtreecommitdiff
path: root/sys/directsound
diff options
context:
space:
mode:
authorSébastien Moutte <sebastien@moutte.net>2007-02-20 21:34:00 +0000
committerSébastien Moutte <sebastien@moutte.net>2007-02-20 21:34:00 +0000
commitda5144bc04185eff0cf95b8fbc6da347007b8a81 (patch)
treea1dbbdb14b96286ce04243ae78f6e9dc7e7d4cfd /sys/directsound
parentf0ea2ecc06cf39ca528ffb85e8482e6f57b68be7 (diff)
downloadgstreamer-plugins-bad-da5144bc04185eff0cf95b8fbc6da347007b8a81.tar.gz
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.
Diffstat (limited to 'sys/directsound')
-rw-r--r--sys/directsound/gstdirectsoundsink.c16
-rw-r--r--sys/directsound/gstdirectsoundsink.h2
2 files changed, 1 insertions, 17 deletions
diff --git a/sys/directsound/gstdirectsoundsink.c b/sys/directsound/gstdirectsoundsink.c
index 46a57e8bf..94b5579f4 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
*
* <refsect2>
@@ -56,13 +56,6 @@
#include "gstdirectsoundsink.h"
-#include <fcntl.h>
-#include <errno.h>
-#ifdef HAVE_UNISTD_H
-#include <unistd.h>
-#endif
-#include <string.h>
-
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 d1a47aaca..dd0a04f42 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 <dxerr9.h>
#include <dsound.h>
-
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))