]> www.hackdaworld.org Git - my-code/ivac.git/blob - old/ivac.h
renamed inet.* -> network.*; bugfixes; began input system ...
[my-code/ivac.git] / old / ivac.h
1 /* internet video/audio conferencing
2  *
3  * author: hackbard@hackdaworld.dyndns.org
4  *
5  */
6
7 #ifndef IVAC_H
8 #define IVAC_H
9
10 #define MAX_CHAR_VIDEO_DEV 64
11 #define MAX_CHAR_AUDIO_DEV 64
12
13 #define VIDEO_DEV "/dev/v4l/video0"
14 #define AUDIO_DEV "/dev/sound/dsp"
15
16 #define VERBOSE_FLAG 1
17
18 #include <directfb.h>
19
20 struct dfb_stuff {
21         IDirectFB *dfb;
22         IDirectFBDisplayLayer *layer;
23         IDirectFBImageProvider *i_provider;
24         IDirectFBVideoProvider *v_provider;
25         IDirectFBWindow *window,*v_window;;
26         IDirectFBSurface *v_surface,*i_surface,*surface;
27         IDirectFBFont *font;
28         IDirectFBInputDevice *keyboard,*mouse;
29         IDirectFBEventBuffer *buffer;
30 };
31
32 struct ivac {
33         struct dfb_stuff dfb_stuff;
34         char video_dev[MAX_CHAR_VIDEO_DEV];
35         char audio_dev[MAX_CHAR_AUDIO_DEV];
36         unsigned char flags;
37         int count;
38 };
39
40
41 #endif /* IVAC_H */