summaryrefslogtreecommitdiffstats
path: root/ext/flac/gstflacdec.h
diff options
context:
space:
mode:
authorThomas Vander Stichele <thomas@apestaart.org>2004-03-14 22:34:33 +0000
committerThomas Vander Stichele <thomas@apestaart.org>2004-03-14 22:34:33 +0000
commit5d25c00e4b613b9cdf2c04fa3a68dffa03834a68 (patch)
tree74a5b1eaf3a324b520e64e87404fd0b3018a7829 /ext/flac/gstflacdec.h
parent1e83b097f7b732ae49e294a5a398bdc3e88854a8 (diff)
gst-indent
Original commit message from CVS: gst-indent
Diffstat (limited to 'ext/flac/gstflacdec.h')
-rw-r--r--ext/flac/gstflacdec.h55
1 files changed, 29 insertions, 26 deletions
diff --git a/ext/flac/gstflacdec.h b/ext/flac/gstflacdec.h
index 5b5fd110..c525c3a2 100644
--- a/ext/flac/gstflacdec.h
+++ b/ext/flac/gstflacdec.h
@@ -28,8 +28,9 @@
#include <FLAC/all.h>
#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
+extern "C"
+{
+#endif /* __cplusplus */
#define GST_TYPE_FLACDEC flacdec_get_type()
@@ -38,40 +39,42 @@ extern "C" {
#define GST_IS_FLACDEC(obj) G_TYPE_CHECK_INSTANCE_TYPE(obj, GST_TYPE_FLACDEC)
#define GST_IS_FLACDEC_CLASS(obj) G_TYPE_CHECK_CLASS_TYPE(klass, GST_TYPE_FLACDEC)
-typedef struct _FlacDec FlacDec;
-typedef struct _FlacDecClass FlacDecClass;
+ typedef struct _FlacDec FlacDec;
+ typedef struct _FlacDecClass FlacDecClass;
-struct _FlacDec {
- GstElement element;
+ struct _FlacDec
+ {
+ GstElement element;
- GstPad *sinkpad,*srcpad;
- GstByteStream *bs;
+ GstPad *sinkpad, *srcpad;
+ GstByteStream *bs;
- FLAC__SeekableStreamDecoder *decoder;
- gint channels;
- gint depth;
- gint frequency;
+ FLAC__SeekableStreamDecoder *decoder;
+ gint channels;
+ gint depth;
+ gint frequency;
- gboolean need_discont;
- gboolean seek_pending;
- gint64 seek_value;
+ gboolean need_discont;
+ gboolean seek_pending;
+ gint64 seek_value;
- gboolean init;
- guint64 total_samples;
- guint64 stream_samples;
+ gboolean init;
+ guint64 total_samples;
+ guint64 stream_samples;
- gboolean eos;
-};
+ gboolean eos;
+ };
-struct _FlacDecClass {
- GstElementClass parent_class;
-};
+ struct _FlacDecClass
+ {
+ GstElementClass parent_class;
+ };
-GType flacdec_get_type(void);
+ GType flacdec_get_type (void);
#ifdef __cplusplus
}
-#endif /* __cplusplus */
+#endif /* __cplusplus */
-#endif /* __FLACDEC_H__ */
+#endif /* __FLACDEC_H__ */