summaryrefslogtreecommitdiffstats
path: root/gst/modplug/gstmodplug.h
diff options
context:
space:
mode:
authorJeremy Simon <jsimon13@yahoo.fr>2002-12-30 17:21:45 +0000
committerJeremy Simon <jsimon13@yahoo.fr>2002-12-30 17:21:45 +0000
commit3f676b1e2296ac109030c5ab445d616fedbaffc9 (patch)
treeb99396251a04df75e318a645d6f31898ddfdf71a /gst/modplug/gstmodplug.h
parent22d39d692fdfaa98e2956abc7cf2063e893d7c39 (diff)
downloadgst-plugins-bad-3f676b1e2296ac109030c5ab445d616fedbaffc9.tar.gz
gst-plugins-bad-3f676b1e2296ac109030c5ab445d616fedbaffc9.tar.bz2
gst-plugins-bad-3f676b1e2296ac109030c5ab445d616fedbaffc9.zip
add metadata code cleanup
Original commit message from CVS: add metadata code cleanup
Diffstat (limited to 'gst/modplug/gstmodplug.h')
-rw-r--r--gst/modplug/gstmodplug.h13
1 files changed, 10 insertions, 3 deletions
diff --git a/gst/modplug/gstmodplug.h b/gst/modplug/gstmodplug.h
index 110d2002..382fe49d 100644
--- a/gst/modplug/gstmodplug.h
+++ b/gst/modplug/gstmodplug.h
@@ -28,7 +28,7 @@ extern "C" {
#endif /* __cplusplus */
#include <gst/gst.h>
-#include <gst/bytestream/bytestream.h>
+/*#include <gst/bytestream/bytestream.h>*/
#include "modplug_types.h"
@@ -48,7 +48,9 @@ struct _GstModPlug {
GstElement element;
GstPad *sinkpad, *srcpad;
guint8 *buffer_in;
- GstByteStream *bs;
+ /*GstByteStream *bs;*/
+ GstCaps *metadata;
+ GstCaps *streaminfo;
const gchar *songname;
gboolean reverb;
@@ -68,9 +70,14 @@ struct _GstModPlug {
guchar *audiobuffer;
gint32 length;
- gboolean restart;
+ guint state;
+ guint bitsPerSample;
+ gboolean need_discont;
+ gboolean eos;
gint64 seek_at;
guint64 total_samples;
+ guint64 song_size;
+ guint64 bytes_read;
CSoundFile *mSoundFile;
};