diff options
author | Thomas Vander Stichele <thomas@apestaart.org> | 2004-03-14 22:34:33 +0000 |
---|---|---|
committer | Thomas Vander Stichele <thomas@apestaart.org> | 2004-03-14 22:34:33 +0000 |
commit | 5d25c00e4b613b9cdf2c04fa3a68dffa03834a68 (patch) | |
tree | 74a5b1eaf3a324b520e64e87404fd0b3018a7829 /ext/speex/gstspeexenc.h | |
parent | 1e83b097f7b732ae49e294a5a398bdc3e88854a8 (diff) |
gst-indent
Original commit message from CVS:
gst-indent
Diffstat (limited to 'ext/speex/gstspeexenc.h')
-rw-r--r-- | ext/speex/gstspeexenc.h | 60 |
1 files changed, 31 insertions, 29 deletions
diff --git a/ext/speex/gstspeexenc.h b/ext/speex/gstspeexenc.h index 4677f6a1..4da1e787 100644 --- a/ext/speex/gstspeexenc.h +++ b/ext/speex/gstspeexenc.h @@ -28,8 +28,9 @@ #include <speex_header.h> #ifdef __cplusplus -extern "C" { -#endif /* __cplusplus */ +extern "C" +{ +#endif /* __cplusplus */ #define GST_TYPE_SPEEXENC \ @@ -43,44 +44,45 @@ 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__ */ |