diff options
author | Edward Hervey <bilboed@bilboed.com> | 2005-07-20 11:26:05 +0000 |
---|---|---|
committer | Edward Hervey <bilboed@bilboed.com> | 2005-07-20 11:26:05 +0000 |
commit | d6a2d1aba196d9665eb706a09c4fd6e2e5a96c04 (patch) | |
tree | 125d9e17adda844fb403b7299c732403c4e1f797 /gst/wavparse/gstwavparse.h | |
parent | 961178077ee2b11f8ccfca69b97527da6ac2750d (diff) |
Ported wavparse to 0.9 . Playing, seeking and state changes work.
Original commit message from CVS:
* configure.ac:
* gst/wavparse/gstwavparse.c:
* gst/wavparse/gstwavparse.h:
* gst/wavparse/Makefile.am:
Ported wavparse to 0.9 . Playing, seeking and state changes work.
Could need more loving on the headers though.
Diffstat (limited to 'gst/wavparse/gstwavparse.h')
-rw-r--r-- | gst/wavparse/gstwavparse.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gst/wavparse/gstwavparse.h b/gst/wavparse/gstwavparse.h index 1e79b16a..fbe9af8e 100644 --- a/gst/wavparse/gstwavparse.h +++ b/gst/wavparse/gstwavparse.h @@ -44,8 +44,7 @@ extern "C" { typedef enum { GST_WAVPARSE_START, - GST_WAVPARSE_FMT, - GST_WAVPARSE_OTHER, + GST_WAVPARSE_HEADER, GST_WAVPARSE_DATA, } GstWavParseState; @@ -53,13 +52,14 @@ typedef struct _GstWavParse GstWavParse; typedef struct _GstWavParseClass GstWavParseClass; struct _GstWavParse { - GstRiffRead parent; + GstElement parent; /* pads */ GstPad *sinkpad,*srcpad; /* WAVE decoding state */ GstWavParseState state; + guint64 offset; /* format of audio, see defines below */ gint format; @@ -73,14 +73,14 @@ struct _GstWavParse { guint32 bps; guint64 dataleft, datasize, datastart; - int byteoffset; gboolean seek_pending; + GstEvent *seek_event; guint64 seek_offset; }; struct _GstWavParseClass { - GstRiffReadClass parent_class; + GstElementClass parent_class; }; GType gst_wavparse_get_type(void); |