diff options
author | Sebastian Dröge <slomo@circular-chaos.org> | 2007-08-09 17:39:47 +0000 |
---|---|---|
committer | Sebastian Dröge <slomo@circular-chaos.org> | 2007-08-09 17:39:47 +0000 |
commit | cf74a6136d5b03386d7326757479b9ac59cca162 (patch) | |
tree | be515cc893d7cb5c9a781073652d1c5b4f97ab33 /gst/stereo/gststereo.h | |
parent | 227f1e3965c2b536fd792af9af20a9aaa4232ed9 (diff) | |
download | gst-plugins-bad-cf74a6136d5b03386d7326757479b9ac59cca162.tar.gz gst-plugins-bad-cf74a6136d5b03386d7326757479b9ac59cca162.tar.bz2 gst-plugins-bad-cf74a6136d5b03386d7326757479b9ac59cca162.zip |
Port the stereo element to GStreamer 0.10.
Original commit message from CVS:
* configure.ac:
* gst/stereo/Makefile.am:
* gst/stereo/gststereo.c: (gst_stereo_base_init),
(gst_stereo_class_init), (gst_stereo_init),
(gst_stereo_transform_ip), (gst_stereo_set_property),
(gst_stereo_get_property):
* gst/stereo/gststereo.h:
Port the stereo element to GStreamer 0.10.
Diffstat (limited to 'gst/stereo/gststereo.h')
-rw-r--r-- | gst/stereo/gststereo.h | 20 |
1 files changed, 4 insertions, 16 deletions
diff --git a/gst/stereo/gststereo.h b/gst/stereo/gststereo.h index 6c4954dd..27724646 100644 --- a/gst/stereo/gststereo.h +++ b/gst/stereo/gststereo.h @@ -23,12 +23,7 @@ #include <gst/gst.h> - - -#ifdef __cplusplus -extern "C" { -#endif /* __cplusplus */ - +#include <gst/audio/gstaudiofilter.h> #define GST_TYPE_STEREO \ (gst_stereo_get_type()) @@ -45,23 +40,16 @@ typedef struct _GstStereo GstStereo; typedef struct _GstStereoClass GstStereoClass; struct _GstStereo { - GstElement element; + GstAudioFilter element; - GstPad *sinkpad,*srcpad; - - gint8 active; + gboolean active; gfloat stereo; }; struct _GstStereoClass { - GstElementClass parent_class; + GstAudioFilterClass parent_class; }; GType gst_stereo_get_type(void); -#ifdef __cplusplus -} -#endif /* __cplusplus */ - - #endif /* __GST_STEREO_H__ */ |