summaryrefslogtreecommitdiffstats
path: root/ext/wavpack/gstwavpackparse.h
diff options
context:
space:
mode:
authorSebastian Dröge <slomo@circular-chaos.org>2006-08-15 20:29:45 +0000
committerTim-Philipp Müller <tim@centricular.net>2006-08-15 20:29:45 +0000
commit4bed245460390945f8aef9221a6f56db74a0a549 (patch)
treed85a1e1da5537e3e9c0c339d46eb8e5f9b7dd2c1 /ext/wavpack/gstwavpackparse.h
parent34e83dbf408a338856ba715b0e72ef184bcd771a (diff)
ext/wavpack/gstwavpackparse.*: Make wavpackparse also work in push-mode (not seekable yet though); some small clean-u...
Original commit message from CVS: * ext/wavpack/gstwavpackparse.c: (gst_wavpack_parse_class_init), (gst_wavpack_parse_reset), (gst_wavpack_parse_get_src_query_types), (gst_wavpack_parse_src_query), (gst_wavpack_parse_handle_seek_event), (gst_wavpack_parse_sink_event), (gst_wavpack_parse_init), (gst_wavpack_parse_create_src_pad), (gst_wavpack_parse_push_buffer), (gst_wavpack_parse_loop), (gst_wavpack_parse_chain), (gst_wavpack_parse_sink_activate), (gst_wavpack_parse_sink_activate_pull): * ext/wavpack/gstwavpackparse.h: Patch by: Sebastian Dröge <slomo at circular-chaos.org> Make wavpackparse also work in push-mode (not seekable yet though); some small clean-ups along the way; add support for SEEKING query and query types function. (#351495).
Diffstat (limited to 'ext/wavpack/gstwavpackparse.h')
-rw-r--r--ext/wavpack/gstwavpackparse.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/wavpack/gstwavpackparse.h b/ext/wavpack/gstwavpackparse.h
index 37321d83..d849da74 100644
--- a/ext/wavpack/gstwavpackparse.h
+++ b/ext/wavpack/gstwavpackparse.h
@@ -23,6 +23,7 @@
#define __GST_WAVPACK_PARSE_H__
#include <gst/gst.h>
+#include <gst/base/gstadapter.h>
G_BEGIN_DECLS
@@ -67,6 +68,8 @@ struct _GstWavpackParse
GstSegment segment; /* the currently configured segment, in
* samples/audio frames (DEFAULT format) */
+ GstAdapter *adapter; /* when operating chain-based, otherwise NULL */
+
/* Array of GstWavpackParseIndexEntry structs, mapping known
* sample offsets to byte offsets. Is kept increasing without
* gaps (ie. append only and consecutive entries must always