r602: Fix baver's code... don't insert timecode when show_tc is not set
[cinelerra_cv/mob.git] / cinelerra / channel.h
blob4add9fccf61f38259227cee739bfd529c8853fd3
1 #ifndef CHANNEL_H
2 #define CHANNEL_H
4 #include "bcwindowbase.inc"
5 #include "filexml.inc"
7 // Used by both GUI to change channels and devices to map channels to
8 // device parameters.
10 class Channel
12 public:
13 Channel();
14 Channel(Channel *channel);
15 ~Channel();
17 void reset();
18 Channel& operator=(Channel &channel);
19 void copy_settings(Channel *channel);
20 void copy_usage(Channel *channel);
21 int load(FileXML *file);
22 int save(FileXML *file);
24 // Flags for GUI settings the device uses
25 int use_frequency;
26 int use_fine;
27 int use_norm;
28 int use_input;
32 // User supplied name
33 char title[BCTEXTLEN];
34 // Name given by device for the channel
35 char device_name[BCTEXTLEN];
36 // Number of the table entry in the appropriate freqtable
37 int entry;
38 // Table to use
39 int freqtable;
40 // Fine tuning offset
41 int fine_tune;
42 // Input source
43 int input;
44 int norm;
45 // Index used by the device
46 int device_index;
47 // Tuner number used by the device
48 int tuner;
52 #endif