summaryrefslogtreecommitdiffstats
path: root/ext/smoothwave/gstsmoothwave.h
diff options
context:
space:
mode:
Diffstat (limited to 'ext/smoothwave/gstsmoothwave.h')
-rw-r--r--ext/smoothwave/gstsmoothwave.h16
1 files changed, 10 insertions, 6 deletions
diff --git a/ext/smoothwave/gstsmoothwave.h b/ext/smoothwave/gstsmoothwave.h
index 87165131..a0dfe402 100644
--- a/ext/smoothwave/gstsmoothwave.h
+++ b/ext/smoothwave/gstsmoothwave.h
@@ -23,13 +23,12 @@
#include <gst/gst.h>
-#include <gtk/gtk.h>
+#include <gst/bytestream/adapter.h>
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
-
#define GST_TYPE_SMOOTHWAVE \
(gst_smoothwave_get_type())
#define GST_SMOOTHWAVE(obj) \
@@ -48,12 +47,17 @@ struct _GstSmoothWave {
GstElement element;
GstPad *sinkpad,*srcpad;
+ GstAdapter *adapter;
- gint width,height;
-
- GdkRgbCmap *cmap;
- GtkWidget *image;
guchar *imagebuffer;
+ GstClockTime audio_basetime;
+ guint64 samples_consumed;
+
+ gint sample_rate;
+ gint width,height;
+ gdouble fps;
+ gint channels;
+ guint32 palette[256];
};
struct _GstSmoothWaveClass {