Support for GStreamer 1.0
[projects/chimara/chimara.git] / libchimara / schannel.h
index dd77f1a069cfd0268cf5ef7ed122293c70ddd48e..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
 
@@ -28,7 +28,13 @@ struct glk_schannel_struct
        /* Whether channel is paused */
        gboolean paused;
        
-#ifdef GSTREAMER_SOUND
+       /* Volume change information */
+       double target_volume;
+       long target_time_sec, target_time_usec;
+       guint volume_timer_id;
+       glui32 volume_notify;
+
+#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