ext/wavpack/: Add support for encoding, parsing and decoding multichannel files with...
[platform/upstream/gst-plugins-good.git] / ext / wavpack / gstwavpackdec.h
index d2e66d9..eb6e4c3 100644 (file)
@@ -30,7 +30,6 @@
 #include "gstwavpackstreamreader.h"
 
 G_BEGIN_DECLS
-/* #define's don't like whitespacey bits */
 #define GST_TYPE_WAVPACK_DEC \
   (gst_wavpack_dec_get_type())
 #define GST_WAVPACK_DEC(obj) \
@@ -48,22 +47,24 @@ struct _GstWavpackDec
 {
   GstElement element;
 
-  GstPad              *sinkpad;
-  GstPad              *srcpad;
+  /*< private > */
+  GstPad *sinkpad;
+  GstPad *srcpad;
 
-  WavpackContext      *context;
+  WavpackContext *context;
   WavpackStreamReader *stream_reader;
 
-  read_id              wv_id;
+  read_id wv_id;
 
-  GstSegment           segment; /* used for clipping, TIME format */
+  GstSegment segment;           /* used for clipping, TIME format */
+  guint32 next_block_index;
 
-  guint                sample_rate;
-  guint                width;
-  guint                depth;
-  guint                channels;
+  gint sample_rate;
+  gint depth;
+  gint channels;
+  gint channel_mask;
 
-  gint                 error_count;
+  gint error_count;
 };
 
 struct _GstWavpackDecClass