summaryrefslogtreecommitdiffstats
path: root/ext/sndfile/gstsf.h
diff options
context:
space:
mode:
Diffstat (limited to 'ext/sndfile/gstsf.h')
-rw-r--r--ext/sndfile/gstsf.h29
1 files changed, 13 insertions, 16 deletions
diff --git a/ext/sndfile/gstsf.h b/ext/sndfile/gstsf.h
index a2531112..13517625 100644
--- a/ext/sndfile/gstsf.h
+++ b/ext/sndfile/gstsf.h
@@ -27,8 +27,6 @@
G_BEGIN_DECLS
-
-
#define GST_TYPE_SF \
(gst_sf_get_type())
#define GST_SF(obj) \
@@ -39,7 +37,6 @@ G_BEGIN_DECLS
(G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_SF))
#define GST_IS_SF_CLASS(obj) \
(G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_SF))
-
#define GST_TYPE_SFSRC \
(gst_sfsrc_get_type())
#define GST_SFSRC(obj) \
@@ -50,7 +47,6 @@ G_BEGIN_DECLS
(G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_SFSRC))
#define GST_IS_SFSRC_CLASS(obj) \
(G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_SFSRC))
-
#define GST_TYPE_SFSINK \
(gst_sfsink_get_type())
#define GST_SFSINK(obj) \
@@ -61,16 +57,17 @@ G_BEGIN_DECLS
(G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_SFSINK))
#define GST_IS_SFSINK_CLASS(obj) \
(G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_SFSINK))
-
typedef struct _GstSF GstSF;
typedef struct _GstSFClass GstSFClass;
-typedef enum {
- GST_SF_OPEN = GST_ELEMENT_FLAG_LAST,
- GST_SF_FLAG_LAST = GST_ELEMENT_FLAG_LAST + 2,
+typedef enum
+{
+ GST_SF_OPEN = GST_ELEMENT_FLAG_LAST,
+ GST_SF_FLAG_LAST = GST_ELEMENT_FLAG_LAST + 2,
} GstSFlags;
-typedef struct {
+typedef struct
+{
GstPad *pad;
gint num;
gboolean caps_set;
@@ -78,7 +75,8 @@ typedef struct {
#define GST_SF_CHANNEL(l) ((GstSFChannel*)l->data)
-struct _GstSF {
+struct _GstSF
+{
GstElement element;
GList *channels;
@@ -102,16 +100,15 @@ struct _GstSF {
guint64 time;
};
-struct _GstSFClass {
+struct _GstSFClass
+{
GstElementClass parent_class;
};
-GType gst_sf_get_type (void);
-GType gst_sfsrc_get_type (void);
-GType gst_sfsink_get_type (void);
+GType gst_sf_get_type (void);
+GType gst_sfsrc_get_type (void);
+GType gst_sfsink_get_type (void);
G_END_DECLS
-
-
#endif /* __GST_SFSINK_H__ */