diff options
author | Johan Dahlin <johan@gnome.org> | 2004-03-15 16:32:54 +0000 |
---|---|---|
committer | Johan Dahlin <johan@gnome.org> | 2004-03-15 16:32:54 +0000 |
commit | 5acffea623eaa95469a8fb77260c85240c6c0a41 (patch) | |
tree | 5d1eb5b3c6cbe7ff7888cfe0b2f972f7e509e99d /ext/flac | |
parent | f878cc16402dcc70f31861bb120f435f3157c518 (diff) |
*.h: Revert indenting
Original commit message from CVS:
* *.h: Revert indenting
Diffstat (limited to 'ext/flac')
-rw-r--r-- | ext/flac/flac_compat.h | 2 | ||||
-rw-r--r-- | ext/flac/gstflacdec.h | 55 | ||||
-rw-r--r-- | ext/flac/gstflacenc.h | 57 |
3 files changed, 54 insertions, 60 deletions
diff --git a/ext/flac/flac_compat.h b/ext/flac/flac_compat.h index defa969d..87b5b864 100644 --- a/ext/flac/flac_compat.h +++ b/ext/flac/flac_compat.h @@ -16,7 +16,7 @@ /* FIXME when there's a autoconf symbol */ #ifndef FLAC_VERSION -#ifndef FLAC__VERSION_STRING /* removed in 1.0.4 */ +#ifndef FLAC__VERSION_STRING /* removed in 1.0.4 */ #define FLAC_VERSION 0x010004 #else #ifdef FLAC__REFERENCE_CODEC_MAX_BITS_PER_SAMPLE diff --git a/ext/flac/gstflacdec.h b/ext/flac/gstflacdec.h index c525c3a2..5b5fd110 100644 --- a/ext/flac/gstflacdec.h +++ b/ext/flac/gstflacdec.h @@ -28,9 +28,8 @@ #include <FLAC/all.h> #ifdef __cplusplus -extern "C" -{ -#endif /* __cplusplus */ +extern "C" { +#endif /* __cplusplus */ #define GST_TYPE_FLACDEC flacdec_get_type() @@ -39,42 +38,40 @@ 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__ */ diff --git a/ext/flac/gstflacenc.h b/ext/flac/gstflacenc.h index 1337a6fe..27dbb3b0 100644 --- a/ext/flac/gstflacenc.h +++ b/ext/flac/gstflacenc.h @@ -27,9 +27,8 @@ #include <FLAC/all.h> #ifdef __cplusplus -extern "C" -{ -#endif /* __cplusplus */ +extern "C" { +#endif /* __cplusplus */ #define GST_TYPE_FLACENC flacenc_get_type() #define GST_FLACENC(obj) G_TYPE_CHECK_INSTANCE_CAST(obj, GST_TYPE_FLACENC, FlacEnc) @@ -37,42 +36,40 @@ extern "C" #define GST_IS_FLACENC(obj) G_TYPE_CHECK_INSTANCE_TYPE(obj, GST_TYPE_FLACENC) #define GST_IS_FLACENC_CLASS(obj) G_TYPE_CHECK_CLASS_TYPE(klass, GST_TYPE_FLACENC) - typedef struct _FlacEnc FlacEnc; - typedef struct _FlacEncClass FlacEncClass; +typedef struct _FlacEnc FlacEnc; +typedef struct _FlacEncClass FlacEncClass; - struct _FlacEnc - { - GstElement element; +struct _FlacEnc { + GstElement element; - GstPad *sinkpad, *srcpad; + GstPad *sinkpad,*srcpad; - gboolean first; - GstBuffer *first_buf; - gboolean eos; - gint channels; - gint depth; - gint sample_rate; - gboolean negotiated; - gint quality; - gboolean stopped; - FLAC__int32 *data; + gboolean first; + GstBuffer *first_buf; + gboolean eos; + gint channels; + gint depth; + gint sample_rate; + gboolean negotiated; + gint quality; + gboolean stopped; + FLAC__int32 *data; - FLAC__SeekableStreamEncoder *encoder; - FLAC__StreamMetadata **meta; + FLAC__SeekableStreamEncoder *encoder; + FLAC__StreamMetadata **meta; - GstTagList *tags; - }; + GstTagList * tags; +}; - struct _FlacEncClass - { - GstElementClass parent_class; - }; +struct _FlacEncClass { + GstElementClass parent_class; +}; - GType flacenc_get_type (void); +GType flacenc_get_type(void); #ifdef __cplusplus } -#endif /* __cplusplus */ +#endif /* __cplusplus */ -#endif /* __FLACENC_H__ */ +#endif /* __FLACENC_H__ */ |