guint samplerate;
guint channels;
- guint total_samples;
+ gint64 total_samples;
gboolean need_newsegment;
gboolean discont;
GstSegment segment; /* the currently configured segment, in
* samples/audio frames (DEFAULT format) */
+ GstBuffer *pending_buffer;
+ gint32 pending_offset;
+ guint32 next_block_index;
+
GstAdapter *adapter; /* when operating chain-based, otherwise NULL */
- /* Array of GstWavpackParseIndexEntry structs, mapping known
+ /* List of GstWavpackParseIndexEntry structs, mapping known
* sample offsets to byte offsets. Is kept increasing without
* gaps (ie. append only and consecutive entries must always
* map to consecutive chunks in the file). */
- GArray *entries;
+ GSList *entries;
/* Queued events (e.g. tag events we receive before we create the src pad) */
GList *queued_events; /* STREAM_LOCK */