Re-implement gradual volume change using g_timeout_add()
[projects/chimara/chimara.git] / libchimara / schannel.h
index dd77f1a069cfd0268cf5ef7ed122293c70ddd48e..9a7712d72f80b60548da4559d1745237bdbf7e4b 100644 (file)
@@ -28,6 +28,11 @@ struct glk_schannel_struct
        /* Whether channel is paused */
        gboolean paused;
        
+       /* Volume change information */
+       double target_volume;
+       long target_time_sec, target_time_usec;
+       glui32 volume_notify;
+
 #ifdef GSTREAMER_SOUND
        /* Each sound channel is represented as a GStreamer pipeline.  */
        GstElement *pipeline, *source, *typefind, *demux, *decode, *convert, *filter, *sink;