Work on sound support
[projects/chimara/chimara.git] / libchimara / schannel.h
1 #ifndef __SCHANNEL_H__
2 #define __SCHANNEL_H__
3
4 #include <config.h>
5 #include <glib.h>
6 #include "glk.h"
7 #include "gi_dispa.h"
8 #ifdef GSTREAMER_SOUND
9 #include <gst/gst.h>
10 #endif
11
12 struct glk_schannel_struct
13 {
14         /*< private >*/
15         glui32 magic, rock;
16         gidispatch_rock_t disprock;
17         /* Pointer to the list node in the global sound channel list that contains 
18          this sound channel */
19         GList *schannel_list;
20
21 #ifdef GSTREAMER_SOUND
22         /* Each sound channel is represented as a GStreamer pipeline.  */
23         GstElement *pipeline, *source, *typefind, *demux, *decode, *convert, *filter, *sink;
24 #endif
25 };
26
27 #endif