summaryrefslogtreecommitdiffstats
path: root/ext/shout2/gstshout2.h
diff options
context:
space:
mode:
Diffstat (limited to 'ext/shout2/gstshout2.h')
-rw-r--r--ext/shout2/gstshout2.h64
1 files changed, 34 insertions, 30 deletions
diff --git a/ext/shout2/gstshout2.h b/ext/shout2/gstshout2.h
index 70631298..62ff44b9 100644
--- a/ext/shout2/gstshout2.h
+++ b/ext/shout2/gstshout2.h
@@ -25,47 +25,51 @@
#include <shout/shout.h>
#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
+extern "C"
+{
+#endif /* __cplusplus */
/* Protocol type enum */
-typedef enum {
- SHOUT2SEND_PROTOCOL_ICE = 1,
- SHOUT2SEND_PROTOCOL_XAUDIOCAST,
- SHOUT2SEND_PROTOCOL_ICY,
- SHOUT2SEND_PROTOCOL_HTTP
-} GstShout2SendProtocol;
+ typedef enum
+ {
+ SHOUT2SEND_PROTOCOL_ICE = 1,
+ SHOUT2SEND_PROTOCOL_XAUDIOCAST,
+ SHOUT2SEND_PROTOCOL_ICY,
+ SHOUT2SEND_PROTOCOL_HTTP
+ } GstShout2SendProtocol;
/* Definition of structure storing data for this element. */
-typedef struct _GstShout2send GstShout2send;
-struct _GstShout2send {
- GstElement element;
+ typedef struct _GstShout2send GstShout2send;
+ struct _GstShout2send
+ {
+ GstElement element;
- GstPad *sinkpad,*srcpad;
+ GstPad *sinkpad, *srcpad;
- GstShout2SendProtocol protocol;
+ GstShout2SendProtocol protocol;
- shout_t *conn;
+ shout_t *conn;
- gchar *ip;
- guint port;
- gchar *password;
- gchar *name;
- gchar *description;
- gchar *genre;
- gchar *mount;
- gchar *url;
+ gchar *ip;
+ guint port;
+ gchar *password;
+ gchar *name;
+ gchar *description;
+ gchar *genre;
+ gchar *mount;
+ gchar *url;
-};
+ };
/* Standard definition defining a class for this element. */
-typedef struct _GstShout2sendClass GstShout2sendClass;
-struct _GstShout2sendClass {
- GstElementClass parent_class;
-};
+ typedef struct _GstShout2sendClass GstShout2sendClass;
+ struct _GstShout2sendClass
+ {
+ GstElementClass parent_class;
+ };
/* Standard macros for defining types for this element. */
#define GST_TYPE_SHOUT2SEND \
@@ -80,12 +84,12 @@ struct _GstShout2sendClass {
(G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_SHOUT2SEND))
/* Standard function returning type information. */
-GType gst_shout2send_get_type(void);
+ GType gst_shout2send_get_type (void);
#ifdef __cplusplus
}
-#endif /* __cplusplus */
+#endif /* __cplusplus */
-#endif /* __GST_SHOUT2SEND_H__ */
+#endif /* __GST_SHOUT2SEND_H__ */