X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=libchimara%2Fschannel.h;h=465e7dc51fe9b7095dbf870ffec104dd0a14bc2a;hb=b2e519687ab410b6489b3ec02348ec5251e81b05;hp=8970c97bcddb5390411f1019483929dc0eab37a1;hpb=9a58e61724cc45377b56cb92f64ee5af46462b46;p=projects%2Fchimara%2Fchimara.git diff --git a/libchimara/schannel.h b/libchimara/schannel.h index 8970c97..465e7dc 100644 --- a/libchimara/schannel.h +++ b/libchimara/schannel.h @@ -5,6 +5,7 @@ #include #include "glk.h" #include "gi_dispa.h" +#include "chimara-glk.h" #ifdef GSTREAMER_SOUND #include #endif @@ -17,10 +18,17 @@ struct glk_schannel_struct /* Pointer to the list node in the global sound channel list that contains this sound channel */ GList *schannel_list; + /* Pointer to the GTK widget this sound channel belongs to, for convenience */ + ChimaraGlk *glk; + /* Resource number and notification ID of last played sound */ + glui32 resource, notify; + /* How many times to repeat the last sound played (-1 = forever) */ + glui32 repeats; + #ifdef GSTREAMER_SOUND /* Each sound channel is represented as a GStreamer pipeline. */ - GstElement *pipeline, *source, *typefind, *decode, *filter, *sink; + GstElement *pipeline, *source, *typefind, *demux, *decode, *convert, *filter, *sink; #endif };