Start work on sound capabilities
[projects/chimara/chimara.git] / libchimara / schannel.h
index 6ec0ce31e7e6daec57a23428d0eb97819fca1d66..fee87b1c577ad7feeb56f9324f787289f8ef8e45 100644 (file)
@@ -1,9 +1,13 @@
 #ifndef __SCHANNEL_H__
 #define __SCHANNEL_H__
 
+#include <config.h>
 #include <glib.h>
 #include "glk.h"
 #include "gi_dispa.h"
+#ifdef GSTREAMER_SOUND
+#include <gst/gst.h>
+#endif
 
 struct glk_schannel_struct
 {
@@ -13,6 +17,11 @@ struct glk_schannel_struct
        /* Pointer to the list node in the global sound channel list that contains 
         this sound channel */
        GList *schannel_list;
+
+#ifdef GSTREAMER_SOUND
+       /* Each sound channel is represented as a GStreamer pipeline.  */
+       GstElement *pipeline, *source, *filter, *sink;
+#endif
 };
 
 #endif
\ No newline at end of file