r136: This commit was manufactured by cvs2svn to create tag 'hv_1_1_8'.
[cinelerra_cv/mob.git] / hvirtual / cinelerra / recordconfig.h
blob3db51ecc2bcb83eeaec3d0a5ebe50a81a7484d50
1 #ifndef RECORDCONFIG_H
2 #define RECORDCONFIG_H
4 #include "playbackconfig.inc"
5 #include "bcwindowbase.inc"
6 #include "defaults.inc"
8 // This structure is passed to the driver
9 class AudioInConfig
11 public:
12 AudioInConfig();
13 ~AudioInConfig();
15 AudioInConfig& operator=(AudioInConfig &that);
16 int load_defaults(Defaults *defaults);
17 int save_defaults(Defaults *defaults);
19 // Determine if the two devices need to be opened in duplex mode
20 static int is_duplex(AudioInConfig *in, AudioOutConfig *out);
22 int driver;
23 int oss_enable[MAXDEVICES];
24 char oss_in_device[MAXDEVICES][BCTEXTLEN];
25 int oss_in_channels[MAXDEVICES];
26 int oss_in_bits;
28 int firewire_port, firewire_channel;
29 char firewire_path[BCTEXTLEN];
31 char esound_in_server[BCTEXTLEN];
32 int esound_in_port;
33 char alsa_in_device[BCTEXTLEN];
34 int alsa_in_channels;
35 int alsa_in_bits;
36 int in_samplerate;
39 // This structure is passed to the driver
40 class VideoInConfig
42 public:
43 VideoInConfig();
44 ~VideoInConfig();
46 VideoInConfig& operator=(VideoInConfig &that);
47 int load_defaults(Defaults *defaults);
48 int save_defaults(Defaults *defaults);
49 char* get_path();
51 int driver;
52 char v4l_in_device[BCTEXTLEN];
53 char lml_in_device[BCTEXTLEN];
54 char buz_in_device[BCTEXTLEN];
55 char screencapture_display[BCTEXTLEN];
58 int firewire_port, firewire_channel;
59 char firewire_path[BCTEXTLEN];
61 // number of frames to read from device during video recording.
62 int capture_length;
63 // Dimensions of captured frame
64 int w, h;
65 // Frame rate of captured frames
66 float in_framerate;
70 #endif