summaryrefslogtreecommitdiffstats
path: root/gst/audiofx/audiowsincband.h
diff options
context:
space:
mode:
authorJan Schmidt <thaytan@mad.scientist.com>2008-02-07 21:57:54 +0000
committerJan Schmidt <thaytan@mad.scientist.com>2008-02-07 21:57:54 +0000
commit6fe3c141d711f0796a893369b3d715b7ef11c00b (patch)
treeee4df2692acc61cde72a07e1fde68969e521d620 /gst/audiofx/audiowsincband.h
parent6d166987a0cce4e56faa888c4bbb7929e7866faf (diff)
Move the lpwsinc and bpwsinc elements from gst-plugins-bad into the audiofx plugin, and rename to audiowsinclimit and...
Original commit message from CVS: * docs/plugins/Makefile.am: * docs/plugins/gst-plugins-good-plugins-docs.sgml: * docs/plugins/gst-plugins-good-plugins-sections.txt: * docs/plugins/gst-plugins-good-plugins.args: * docs/plugins/inspect/plugin-audiofx.xml: * gst/audiofx/Makefile.am: * gst/audiofx/audiofx.c: * gst/audiofx/audiowsincband.c: * gst/audiofx/audiowsincband.h: * gst/audiofx/audiowsinclimit.c: * gst/audiofx/audiowsinclimit.h: * tests/check/Makefile.am: * tests/check/elements/audiowsincband.c: * tests/check/elements/audiowsinclimit.c: Move the lpwsinc and bpwsinc elements from gst-plugins-bad into the audiofx plugin, and rename to audiowsinclimit and audiowsincband respectively. Fixes: #467666
Diffstat (limited to 'gst/audiofx/audiowsincband.h')
-rw-r--r--gst/audiofx/audiowsincband.h43
1 files changed, 21 insertions, 22 deletions
diff --git a/gst/audiofx/audiowsincband.h b/gst/audiofx/audiowsincband.h
index 24a4d2da..d99c788d 100644
--- a/gst/audiofx/audiowsincband.h
+++ b/gst/audiofx/audiowsincband.h
@@ -27,41 +27,40 @@
*
*/
-#ifndef __GST_BPWSINC_H__
-#define __GST_BPWSINC_H__
+#ifndef __GST_AUDIO_WSINC_BAND_H__
+#define __GST_AUDIO_WSINC_BAND_H__
-#include "gstfilter.h"
#include <gst/gst.h>
#include <gst/audio/gstaudiofilter.h>
G_BEGIN_DECLS
-#define GST_TYPE_BPWSINC \
- (gst_bpwsinc_get_type())
-#define GST_BPWSINC(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_BPWSINC,GstBPWSinc))
-#define GST_BPWSINC_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_BPWSINC,GstBPWSincClass))
-#define GST_IS_BPWSINC(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_BPWSINC))
-#define GST_IS_BPWSINC_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_BPWSINC))
+#define GST_TYPE_AUDIO_WSINC_BAND \
+ (audio_wsincband_get_type())
+#define GST_AUDIO_WSINC_BAND(obj) \
+ (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_AUDIO_WSINC_BAND,GstAudioWSincBand))
+#define GST_AUDIO_WSINC_BAND_CLASS(klass) \
+ (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_AUDIO_WSINC_BAND,GstAudioWSincBandClass))
+#define GST_IS_AUDIO_WSINC_BAND(obj) \
+ (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_AUDIO_WSINC_BAND))
+#define GST_IS_AUDIO_WSINC_BAND_CLASS(klass) \
+ (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_AUDIO_WSINC_BAND))
-typedef struct _GstBPWSinc GstBPWSinc;
-typedef struct _GstBPWSincClass GstBPWSincClass;
+typedef struct _GstAudioWSincBand GstAudioWSincBand;
+typedef struct _GstAudioWSincBandClass GstAudioWSincBandClass;
-typedef void (*GstBPWSincProcessFunc) (GstBPWSinc *, guint8 *, guint8 *, guint);
+typedef void (*GstAudioWSincBandProcessFunc) (GstAudioWSincBand *, guint8 *, guint8 *, guint);
/**
- * GstBPWSinc:
+ * GstAudioWSincBand:
*
* Opaque data structure.
*/
-struct _GstBPWSinc {
+struct _GstAudioWSincBand {
GstAudioFilter element;
/* < private > */
- GstBPWSincProcessFunc process;
+ GstAudioWSincBandProcessFunc process;
gint mode;
gint window;
@@ -77,12 +76,12 @@ struct _GstBPWSinc {
guint64 next_off;
};
-struct _GstBPWSincClass {
+struct _GstAudioWSincBandClass {
GstAudioFilterClass parent_class;
};
-GType gst_bpwsinc_get_type (void);
+GType audio_wsincband_get_type (void);
G_END_DECLS
-#endif /* __GST_BPWSINC_H__ */
+#endif /* __GST_AUDIO_WSINC_BAND_H__ */