summaryrefslogtreecommitdiffstats
path: root/ext/mikmod
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/mikmod
parentf878cc16402dcc70f31861bb120f435f3157c518 (diff)
*.h: Revert indenting
Original commit message from CVS: * *.h: Revert indenting
Diffstat (limited to 'ext/mikmod')
-rw-r--r--ext/mikmod/gstmikmod.h115
-rw-r--r--ext/mikmod/mikmod_types.h35
2 files changed, 73 insertions, 77 deletions
diff --git a/ext/mikmod/gstmikmod.h b/ext/mikmod/gstmikmod.h
index ce65f8e8..208fc5b9 100644
--- a/ext/mikmod/gstmikmod.h
+++ b/ext/mikmod/gstmikmod.h
@@ -25,14 +25,13 @@
#include <gst/gst.h>
#ifdef __cplusplus
-extern "C"
-{
-#endif /* __cplusplus */
+extern "C" {
+#endif /* __cplusplus */
#define GST_TYPE_MIKMOD \
(gst_mikmod_get_type())
-
+
#define GST_MIKMOD(obj) \
(G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_MIKMOD,GstMikMod))
#define GST_MIKMOD_CLASS(klass) \
@@ -41,70 +40,68 @@ extern "C"
(G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_MIKMOD))
#define GST_IS_MIKMOD_CLASS(obj) \
(G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_MIKMOD))
-
- struct _GstMikMod
- {
- GstElement element;
- GstPad *sinkpad, *srcpad;
- GstBuffer *Buffer;
-
- gchar *songname;
- gchar *modtype;
- gint musicvolume;
- gint pansep;
- gint reverb;
- gint sndfxvolume;
- gint volume;
- gint mixfreq;
- gint mode;
- gboolean interp;
- gboolean reverse;
- gboolean surround;
- gboolean _16bit;
- gboolean hqmixer;
- gboolean soft_music;
- gboolean soft_sndfx;
- gboolean stereo;
-
- gboolean initialized;
- };
-
- struct _GstMikModClass
- {
- GstElementClass parent_class;
- };
-
- typedef struct _GstMikMod GstMikMod;
- typedef struct _GstMikModClass GstMikModClass;
-
- extern MODULE *module;
- extern MREADER *reader;
- extern GstPad *srcpad;
- extern GstClockTime timestamp;
- extern int need_sync;
-
- GType gst_mikmod_get_type (void);
+
+struct _GstMikMod {
+ GstElement element;
+ GstPad *sinkpad, *srcpad;
+ GstBuffer *Buffer;
+
+ gchar *songname;
+ gchar *modtype;
+ gint musicvolume;
+ gint pansep;
+ gint reverb;
+ gint sndfxvolume;
+ gint volume;
+ gint mixfreq;
+ gint mode;
+ gboolean interp;
+ gboolean reverse;
+ gboolean surround;
+ gboolean _16bit;
+ gboolean hqmixer;
+ gboolean soft_music;
+ gboolean soft_sndfx;
+ gboolean stereo;
+
+ gboolean initialized;
+};
+
+struct _GstMikModClass {
+ GstElementClass parent_class;
+};
+
+typedef struct _GstMikMod GstMikMod;
+typedef struct _GstMikModClass GstMikModClass;
+
+extern MODULE *module;
+extern MREADER *reader;
+extern GstPad *srcpad;
+extern GstClockTime timestamp;
+extern int need_sync;
+
+GType gst_mikmod_get_type(void);
/* symbols for mikmod_reader.h */
- struct _GST_READER
- {
- MREADER core;
- GstMikMod *mik;
- guint64 offset;
- gshort eof;
- };
+struct _GST_READER
+{
+ MREADER core;
+ GstMikMod *mik;
+ guint64 offset;
+ gshort eof;
+};
- typedef struct _GST_READER GST_READER;
+typedef struct _GST_READER GST_READER;
- MREADER *GST_READER_new (GstMikMod * mik);
+MREADER *GST_READER_new( GstMikMod *mik );
/* symbols for drv_gst.c */
- extern MDRIVER drv_gst;
+extern MDRIVER drv_gst;
#ifdef __cplusplus
}
-#endif /* __cplusplus */
+#endif /* __cplusplus */
-#endif /* __GST_MIKMOD_H__ */
+#endif /* __GST_MIKMOD_H__ */
diff --git a/ext/mikmod/mikmod_types.h b/ext/mikmod/mikmod_types.h
index 8559455c..c431faf9 100644
--- a/ext/mikmod/mikmod_types.h
+++ b/ext/mikmod/mikmod_types.h
@@ -20,26 +20,25 @@
#define __MIKMOD_TYPES_H__
#ifdef __cplusplus
-extern "C"
-{
-#endif /* __cplusplus */
+extern "C" {
+#endif /* __cplusplus */
- gboolean MOD_CheckType (GstBuffer * buf);
- gboolean Mod_669_CheckType (GstBuffer * buf);
- gboolean Amf_CheckType (GstBuffer * buf);
- gboolean Dsm_CheckType (GstBuffer * buf);
- gboolean Fam_CheckType (GstBuffer * buf);
- gboolean Gdm_CheckType (GstBuffer * buf);
- gboolean Imf_CheckType (GstBuffer * buf);
- gboolean It_CheckType (GstBuffer * buf);
- gboolean M15_CheckType (GstBuffer * buf);
- gboolean Mtm_CheckType (GstBuffer * buf);
- gboolean Okt_CheckType (GstBuffer * buf);
- gboolean S3m_CheckType (GstBuffer * buf);
- gboolean Xm_CheckType (GstBuffer * buf);
+gboolean MOD_CheckType (GstBuffer *buf);
+gboolean Mod_669_CheckType (GstBuffer *buf);
+gboolean Amf_CheckType (GstBuffer *buf);
+gboolean Dsm_CheckType (GstBuffer *buf);
+gboolean Fam_CheckType (GstBuffer *buf);
+gboolean Gdm_CheckType (GstBuffer *buf);
+gboolean Imf_CheckType (GstBuffer *buf);
+gboolean It_CheckType (GstBuffer *buf);
+gboolean M15_CheckType (GstBuffer *buf);
+gboolean Mtm_CheckType (GstBuffer *buf);
+gboolean Okt_CheckType (GstBuffer *buf);
+gboolean S3m_CheckType (GstBuffer *buf);
+gboolean Xm_CheckType (GstBuffer *buf);
#ifdef __cplusplus
}
-#endif /* __cplusplus */
+#endif /* __cplusplus */
-#endif /* __MIKMOD_TYPES_H__ */
+#endif /* __MIKMOD_TYPES_H__ */