diff options
author | Sébastien Moutte <sebastien@moutte.net> | 2007-02-21 00:34:00 +0300 |
---|---|---|
committer | Sébastien Moutte <sebastien@moutte.net> | 2007-02-21 00:34:00 +0300 |
commit | 296687a398ba315f40fb1ead0de97ae4727162b0 (patch) | |
tree | 6cc66cdba1652af7290b20650ee43b8479ff2937 /sys/directsound | |
parent | 2d1b42029af8c75e3539c11314f818b61c6e6a8e (diff) |
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.c | 16 | ||||
-rw-r--r-- | sys/directsound/gstdirectsoundsink.h | 2 |
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)) |