summaryrefslogtreecommitdiffstats
path: root/ext/musepack/gstmusepackdec.h
diff options
context:
space:
mode:
Diffstat (limited to 'ext/musepack/gstmusepackdec.h')
-rw-r--r--ext/musepack/gstmusepackdec.h21
1 files changed, 9 insertions, 12 deletions
diff --git a/ext/musepack/gstmusepackdec.h b/ext/musepack/gstmusepackdec.h
index 52105b8a..35baced0 100644
--- a/ext/musepack/gstmusepackdec.h
+++ b/ext/musepack/gstmusepackdec.h
@@ -39,23 +39,20 @@ G_BEGIN_DECLS
(G_TYPE_CHECK_CLASS_TYPE ((klass), GST_TYPE_MUSEPACK_DEC))
typedef struct _GstMusepackDec {
- GstElement element;
+ GstElement element;
- /* pads */
- GstPad *srcpad, *sinkpad;
- guint64 offset;
+ GstPad *srcpad;
+ GstPad *sinkpad;
+ guint64 offset;
/* MUSEPACK_DEC object */
- mpc_decoder *d;
- mpc_reader *r;
- gboolean init;
+ mpc_decoder *d;
+ mpc_reader *r;
- /* bytes per sample and sample rate */
- guint bps;
- guint rate;
+ gint bps; /* bytes per sample */ /* ATOMIC */
+ gint rate; /* sample rate */ /* ATOMIC */
- /* currently configured segment, in samples (DEFAULT format) */
- GstSegment segment;
+ GstSegment segment; /* configured segment in samples (DEFAULT format) */
} GstMusepackDec;
typedef struct _GstMusepackDecClass {