summaryrefslogtreecommitdiff
path: root/gst/audioresample/gstaudioresample.h
diff options
context:
space:
mode:
authorThomas Vander Stichele <thomas@apestaart.org>2005-08-24 14:08:58 +0000
committerThomas Vander Stichele <thomas@apestaart.org>2005-08-24 14:08:58 +0000
commit752a59192cb69c7fdd3bf7f5c708c902f3e0afd8 (patch)
tree0d37bea2625a3f4400cca5603fb7af95bb981de1 /gst/audioresample/gstaudioresample.h
parent41a43b86a826e8057864f735950b8a43ce52cdf6 (diff)
port audioresample to basetransform
Original commit message from CVS: port audioresample to basetransform
Diffstat (limited to 'gst/audioresample/gstaudioresample.h')
-rw-r--r--gst/audioresample/gstaudioresample.h23
1 files changed, 12 insertions, 11 deletions
diff --git a/gst/audioresample/gstaudioresample.h b/gst/audioresample/gstaudioresample.h
index fc5115da1..99d937bb5 100644
--- a/gst/audioresample/gstaudioresample.h
+++ b/gst/audioresample/gstaudioresample.h
@@ -23,31 +23,32 @@
#include <gst/gst.h>
+#include <gst/base/gstbasetransform.h>
-#include <audioresample/resample.h>
+#include "resample.h"
G_BEGIN_DECLS
#define GST_TYPE_AUDIORESAMPLE \
- (audioresample_get_type())
+ (gst_audioresample_get_type())
#define GST_AUDIORESAMPLE(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_AUDIORESAMPLE,Audioresample))
+ (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_AUDIORESAMPLE,GstAudioresample))
#define GST_AUDIORESAMPLE_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_AUDIORESAMPLE,Audioresample))
+ (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_AUDIORESAMPLE,GstAudioresample))
#define GST_IS_AUDIORESAMPLE(obj) \
(G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_AUDIORESAMPLE))
#define GST_IS_AUDIORESAMPLE_CLASS(obj) \
(G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_AUDIORESAMPLE))
-typedef struct _Audioresample Audioresample;
-typedef struct _AudioresampleClass AudioresampleClass;
+typedef struct _GstAudioresample GstAudioresample;
+typedef struct _GstAudioresampleClass GstAudioresampleClass;
-struct _Audioresample {
- GstElement element;
+struct _GstAudioresample {
+ GstBaseTransform element;
- GstPad *sinkpad,*srcpad;
+ GstCaps *srccaps, *sinkcaps;
gboolean passthru;
@@ -61,8 +62,8 @@ struct _Audioresample {
ResampleState * resample;
};
-struct _AudioresampleClass {
- GstElementClass parent_class;
+struct _GstAudioresampleClass {
+ GstBaseTransformClass parent_class;
};
GType gst_audioresample_get_type(void);