Re-implement gradual volume change using g_timeout_add()
[projects/chimara/chimara.git] / libchimara / schannel.h
index 465e7dc51fe9b7095dbf870ffec104dd0a14bc2a..9a7712d72f80b60548da4559d1745237bdbf7e4b 100644 (file)
@@ -25,11 +25,18 @@ struct glk_schannel_struct
        glui32 resource, notify;
        /* How many times to repeat the last sound played (-1 = forever) */
        glui32 repeats;
+       /* 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;
 #endif
 };
 
-#endif
\ No newline at end of file
+#endif