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 /gst/wavparse/gstwavparse.h | |
parent | f878cc16402dcc70f31861bb120f435f3157c518 (diff) |
*.h: Revert indenting
Original commit message from CVS:
* *.h: Revert indenting
Diffstat (limited to 'gst/wavparse/gstwavparse.h')
-rw-r--r-- | gst/wavparse/gstwavparse.h | 114 |
1 files changed, 55 insertions, 59 deletions
diff --git a/gst/wavparse/gstwavparse.h b/gst/wavparse/gstwavparse.h index b8cdd2de..3893a293 100644 --- a/gst/wavparse/gstwavparse.h +++ b/gst/wavparse/gstwavparse.h @@ -27,9 +27,8 @@ #include <gst/bytestream/bytestream.h> #ifdef __cplusplus -extern "C" -{ -#endif /* __cplusplus */ +extern "C" { +#endif /* __cplusplus */ #define GST_TYPE_WAVPARSE \ @@ -45,62 +44,59 @@ extern "C" #define GST_WAVPARSE_UNKNOWN 0 /* initialized state */ -#define GST_WAVPARSE_START 1 /* At the start */ +#define GST_WAVPARSE_START 1 /* At the start */ #define GST_WAVPARSE_DATA 2 /* in data region */ #define GST_WAVPARSE_OTHER 3 /* in unknown region */ - - typedef struct _GstWavParse GstWavParse; - typedef struct _GstWavParseClass GstWavParseClass; - - struct _GstWavParse - { - GstElement element; - - GstByteStream *bs; - /* pads */ - GstPad *sinkpad, *srcpad; - - /* WAVE decoding state */ - gint state; - - /* format of audio, see defines below */ - gint format; - - /* useful audio data */ - gint bps; - gint rate; - gint channels; - gint width; - - int dataleft; - int byteoffset; - - gboolean seek_pending; - guint64 seek_offset; - - GstBuffer *buf; - }; - - struct _GstWavParseClass - { - GstElementClass parent_class; - }; - - GType gst_wavparse_get_type (void); - - typedef struct _GstWavParseFormat GstWavParseFormat; - - struct _GstWavParseFormat - { - gint16 wFormatTag; - guint16 wChannels; - guint32 dwSamplesPerSec; - guint32 dwAvgBytesPerSec; - guint16 wBlockAlign; - guint16 wBitsPerSample; - }; - - + +typedef struct _GstWavParse GstWavParse; +typedef struct _GstWavParseClass GstWavParseClass; + +struct _GstWavParse { + GstElement element; + + GstByteStream *bs; + /* pads */ + GstPad *sinkpad,*srcpad; + + /* WAVE decoding state */ + gint state; + + /* format of audio, see defines below */ + gint format; + + /* useful audio data */ + gint bps; + gint rate; + gint channels; + gint width; + + int dataleft; + int byteoffset; + + gboolean seek_pending; + guint64 seek_offset; + + GstBuffer *buf; +}; + +struct _GstWavParseClass { + GstElementClass parent_class; +}; + +GType gst_wavparse_get_type(void); + +typedef struct _GstWavParseFormat GstWavParseFormat; + +struct _GstWavParseFormat { + gint16 wFormatTag; + guint16 wChannels; + guint32 dwSamplesPerSec; + guint32 dwAvgBytesPerSec; + guint16 wBlockAlign; + guint16 wBitsPerSample; +}; + + /**** from public Microsoft RIFF docs ******/ #define GST_RIFF_WAVE_FORMAT_UNKNOWN (0x0000) #define GST_RIFF_WAVE_FORMAT_PCM (0x0001) @@ -133,7 +129,7 @@ extern "C" #ifdef __cplusplus } -#endif /* __cplusplus */ +#endif /* __cplusplus */ -#endif /* __GST_WAVPARSE_H__ */ +#endif /* __GST_WAVPARSE_H__ */ |