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/speex | |
parent | f878cc16402dcc70f31861bb120f435f3157c518 (diff) |
*.h: Revert indenting
Original commit message from CVS:
* *.h: Revert indenting
Diffstat (limited to 'ext/speex')
-rw-r--r-- | ext/speex/gstspeexdec.h | 33 | ||||
-rw-r--r-- | ext/speex/gstspeexenc.h | 60 |
2 files changed, 44 insertions, 49 deletions
diff --git a/ext/speex/gstspeexdec.h b/ext/speex/gstspeexdec.h index 6723742c..c679dc18 100644 --- a/ext/speex/gstspeexdec.h +++ b/ext/speex/gstspeexdec.h @@ -26,9 +26,8 @@ #include <speex.h> #ifdef __cplusplus -extern "C" -{ -#endif /* __cplusplus */ +extern "C" { +#endif /* __cplusplus */ #define GST_TYPE_SPEEXDEC \ @@ -42,28 +41,26 @@ extern "C" #define GST_IS_SPEEXDEC_CLASS(obj) \ (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_SPEEXDEC)) - typedef struct _GstSpeexDec GstSpeexDec; - typedef struct _GstSpeexDecClass GstSpeexDecClass; +typedef struct _GstSpeexDec GstSpeexDec; +typedef struct _GstSpeexDecClass GstSpeexDecClass; - struct _GstSpeexDec - { - GstElement element; +struct _GstSpeexDec { + GstElement element; - /* pads */ - GstPad *sinkpad, *srcpad; - }; + /* pads */ + GstPad *sinkpad,*srcpad; +}; - struct _GstSpeexDecClass - { - GstElementClass parent_class; - }; +struct _GstSpeexDecClass { + GstElementClass parent_class; +}; - GType gst_speexdec_get_type (void); +GType gst_speexdec_get_type(void); #ifdef __cplusplus } -#endif /* __cplusplus */ +#endif /* __cplusplus */ -#endif /* __GST_SPEEXDEC_H__ */ +#endif /* __GST_SPEEXDEC_H__ */ diff --git a/ext/speex/gstspeexenc.h b/ext/speex/gstspeexenc.h index 4da1e787..4677f6a1 100644 --- a/ext/speex/gstspeexenc.h +++ b/ext/speex/gstspeexenc.h @@ -28,9 +28,8 @@ #include <speex_header.h> #ifdef __cplusplus -extern "C" -{ -#endif /* __cplusplus */ +extern "C" { +#endif /* __cplusplus */ #define GST_TYPE_SPEEXENC \ @@ -44,45 +43,44 @@ extern "C" #define GST_IS_SPEEXENC_CLASS(obj) \ (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_SPEEXENC)) - typedef struct _GstSpeexEnc GstSpeexEnc; - typedef struct _GstSpeexEncClass GstSpeexEncClass; +typedef struct _GstSpeexEnc GstSpeexEnc; +typedef struct _GstSpeexEncClass GstSpeexEncClass; - struct _GstSpeexEnc - { - GstElement element; +struct _GstSpeexEnc { + GstElement element; - /* pads */ - GstPad *sinkpad, *srcpad; + /* pads */ + GstPad *sinkpad, + *srcpad; - gint packet_count; - gint n_packets; + gint packet_count; + gint n_packets; - SpeexBits bits; - SpeexHeader header; - SpeexMode *mode; - void *state; - gint frame_size; - gint16 buffer[2000]; - gint bufsize; - guint64 next_ts; + SpeexBits bits; + SpeexHeader header; + SpeexMode *mode; + void *state; + gint frame_size; + gint16 buffer[2000]; + gint bufsize; + guint64 next_ts; - gint rate; - }; + gint rate; +}; - struct _GstSpeexEncClass - { - GstElementClass parent_class; +struct _GstSpeexEncClass { + GstElementClass parent_class; - /* signals */ - void (*frame_encoded) (GstElement * element); - }; + /* signals */ + void (*frame_encoded) (GstElement *element); +}; - GType gst_speexenc_get_type (void); +GType gst_speexenc_get_type(void); #ifdef __cplusplus } -#endif /* __cplusplus */ +#endif /* __cplusplus */ -#endif /* __GST_SPEEXENC_H__ */ +#endif /* __GST_SPEEXENC_H__ */ |