summaryrefslogtreecommitdiffstats
path: root/ext/esd
diff options
context:
space:
mode:
authorJohan Dahlin <johan@gnome.org>2004-03-15 16:32:54 +0000
committerJohan Dahlin <johan@gnome.org>2004-03-15 16:32:54 +0000
commit5acffea623eaa95469a8fb77260c85240c6c0a41 (patch)
tree5d1eb5b3c6cbe7ff7888cfe0b2f972f7e509e99d /ext/esd
parentf878cc16402dcc70f31861bb120f435f3157c518 (diff)
*.h: Revert indenting
Original commit message from CVS: * *.h: Revert indenting
Diffstat (limited to 'ext/esd')
-rw-r--r--ext/esd/esdmon.h23
-rw-r--r--ext/esd/esdsink.h47
2 files changed, 36 insertions, 34 deletions
diff --git a/ext/esd/esdmon.h b/ext/esd/esdmon.h
index 5b8c7e49..f50e6544 100644
--- a/ext/esd/esdmon.h
+++ b/ext/esd/esdmon.h
@@ -26,6 +26,7 @@
#include <gst/gst.h>
G_BEGIN_DECLS
+
#define GST_TYPE_ESDMON \
(gst_esdmon_get_type())
#define GST_ESDMON(obj) \
@@ -36,22 +37,21 @@ G_BEGIN_DECLS
(G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_ESDMON))
#define GST_IS_ESDMON_CLASS(obj) \
(G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_ESDMON))
- typedef enum
-{
- GST_ESDMON_OPEN = GST_ELEMENT_FLAG_LAST,
- GST_ESDMON_FLAG_LAST = GST_ELEMENT_FLAG_LAST + 2,
+
+typedef enum {
+ GST_ESDMON_OPEN = GST_ELEMENT_FLAG_LAST,
+ GST_ESDMON_FLAG_LAST = GST_ELEMENT_FLAG_LAST+2,
} GstEsdSrcFlags;
typedef struct _GstEsdmon GstEsdmon;
typedef struct _GstEsdmonClass GstEsdmonClass;
-struct _GstEsdmon
-{
+struct _GstEsdmon {
GstElement element;
GstPad *srcpad;
- gchar *host;
+ gchar* host;
int fd;
@@ -65,13 +65,14 @@ struct _GstEsdmon
guint64 bytes_per_read;
};
-struct _GstEsdmonClass
-{
+struct _GstEsdmonClass {
GstElementClass parent_class;
};
-GType gst_esdmon_get_type (void);
-gboolean gst_esdmon_factory_init (GstPlugin * plugin);
+GType gst_esdmon_get_type(void);
+gboolean gst_esdmon_factory_init(GstPlugin *plugin);
G_END_DECLS
+
#endif /* __GST_ESDMON_H__ */
+
diff --git a/ext/esd/esdsink.h b/ext/esd/esdsink.h
index f88f29b1..9bf81641 100644
--- a/ext/esd/esdsink.h
+++ b/ext/esd/esdsink.h
@@ -25,6 +25,7 @@
#include <gst/audio/audioclock.h>
G_BEGIN_DECLS
+
#define GST_TYPE_ESDSINK \
(gst_esdsink_get_type())
#define GST_ESDSINK(obj) \
@@ -35,41 +36,41 @@ G_BEGIN_DECLS
(G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_ESDSINK))
#define GST_IS_ESDSINK_CLASS(obj) \
(G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_ESDSINK))
+
typedef struct _GstEsdsink GstEsdsink;
typedef struct _GstEsdsinkClass GstEsdsinkClass;
-struct _GstEsdsink
-{
- GstElement element;
+struct _GstEsdsink {
+ GstElement element;
- GstPad *sinkpad;
+ GstPad *sinkpad;
- GstClock *provided_clock;
- GstClock *clock;
+ GstClock *provided_clock;
+ GstClock *clock;
- gboolean mute;
- int fd;
- gint format;
- gint depth;
- gint channels;
- gint frequency;
- gboolean negotiated;
- gchar *host;
- int handled;
- int bytes_per_sample;
- gboolean sync;
- gboolean resync;
- gboolean fallback;
+ gboolean mute;
+ int fd;
+ gint format;
+ gint depth;
+ gint channels;
+ gint frequency;
+ gboolean negotiated;
+ gchar *host;
+ int handled;
+ int bytes_per_sample;
+ gboolean sync;
+ gboolean resync;
+ gboolean fallback;
};
-struct _GstEsdsinkClass
-{
+struct _GstEsdsinkClass {
GstElementClass parent_class;
};
-GType gst_esdsink_get_type (void);
-gboolean gst_esdsink_factory_init (GstPlugin * plugin);
+GType gst_esdsink_get_type(void);
+gboolean gst_esdsink_factory_init (GstPlugin *plugin);
G_END_DECLS
+
#endif /* __GST_ESDSINK_H__ */