Support for GStreamer 1.0
[projects/chimara/chimara.git] / libchimara / schannel.h
index 9a7712d72f80b60548da4559d1745237bdbf7e4b..ab1bee44d01c73863828eadcb74f205add7b0ef9 100644 (file)
@@ -6,7 +6,7 @@
 #include "glk.h"
 #include "gi_dispa.h"
 #include "chimara-glk.h"
-#ifdef GSTREAMER_SOUND
+#if defined(GSTREAMER_0_10_SOUND) || defined(GSTREAMER_1_0_SOUND)
 #include <gst/gst.h>
 #endif
 
@@ -31,9 +31,10 @@ struct glk_schannel_struct
        /* Volume change information */
        double target_volume;
        long target_time_sec, target_time_usec;
+       guint volume_timer_id;
        glui32 volume_notify;
 
-#ifdef GSTREAMER_SOUND
+#if defined(GSTREAMER_0_10_SOUND) || defined(GSTREAMER_1_0_SOUND)
        /* Each sound channel is represented as a GStreamer pipeline.  */
        GstElement *pipeline, *source, *typefind, *demux, *decode, *convert, *filter, *sink;
 #endif