r602: Fix baver's code... don't insert timecode when show_tc is not set
[cinelerra_cv/mob.git] / cinelerra / recordconfig.h
blobace1141c2f24c6e8fc9117b8c8a938461af3c545
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 void copy_from(AudioInConfig *src);
17 int load_defaults(Defaults *defaults);
18 int save_defaults(Defaults *defaults);
20 // Determine if the two devices need to be opened in duplex mode
21 static int is_duplex(AudioInConfig *in, AudioOutConfig *out);
23 int driver;
24 int oss_enable[MAXDEVICES];
25 char oss_in_device[MAXDEVICES][BCTEXTLEN];
26 int oss_in_channels[MAXDEVICES];
27 int oss_in_bits;
29 int firewire_port, firewire_channel;
30 char firewire_path[BCTEXTLEN];
32 char esound_in_server[BCTEXTLEN];
33 int esound_in_port;
34 char alsa_in_device[BCTEXTLEN];
35 int alsa_in_channels;
36 int alsa_in_bits;
37 int in_samplerate;
40 // This structure is passed to the driver
41 class VideoInConfig
43 public:
44 VideoInConfig();
45 ~VideoInConfig();
47 VideoInConfig& operator=(VideoInConfig &that);
48 void copy_from(VideoInConfig *src);
49 int load_defaults(Defaults *defaults);
50 int save_defaults(Defaults *defaults);
51 char* get_path();
53 int driver;
54 char v4l_in_device[BCTEXTLEN];
55 char v4l2_in_device[BCTEXTLEN];
56 char v4l2jpeg_in_device[BCTEXTLEN];
57 char lml_in_device[BCTEXTLEN];
58 char buz_in_device[BCTEXTLEN];
59 char screencapture_display[BCTEXTLEN];
62 int firewire_port, firewire_channel;
63 char firewire_path[BCTEXTLEN];
65 // number of frames to read from device during video recording.
66 int capture_length;
67 // Dimensions of captured frame
68 int w, h;
69 // Frame rate of captured frames
70 float in_framerate;
74 #endif