rework alsa device scan, fix lang for pactl
[goodguy/cinelerra.git] / cinelerra-5.1 / cinelerra / chantables.h
1
2 /*
3  * CINELERRA
4  * Copyright (C) 2008 Adam Williams <broadcast at earthling dot net>
5  *
6  * This program is free software; you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License as published by
8  * the Free Software Foundation; either version 2 of the License, or
9  * (at your option) any later version.
10  *
11  * This program is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14  * GNU General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public License
17  * along with this program; if not, write to the Free Software
18  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
19  *
20  */
21
22 #ifndef CHANNELTABLES_H
23 #define CHANNELTABLES_H
24
25 typedef struct
26 {
27         const char *name;
28         int   freq;
29 } CHANLIST;
30
31
32 typedef struct
33 {
34     const char             *name;
35     CHANLIST             *list;
36     int               count;
37 } CHANLISTS;
38
39 #define CHAN_COUNT(x) (sizeof(x)/sizeof(CHANLIST))
40
41 extern CHANLISTS chanlists[];
42
43 #define NTSC_AUDIO_CARRIER      4500
44 #define PAL_AUDIO_CARRIER_I     6000
45 #define PAL_AUDIO_CARRIER_BGHN  5500
46 #define PAL_AUDIO_CARRIER_MN    4500
47 #define PAL_AUDIO_CARRIER_D     6500
48 #define SEACAM_AUDIO_DKK1L      6500
49 #define SEACAM_AUDIO_BG         5500
50 #define NICAM728_PAL_BGH        5850
51 #define NICAM728_PAL_I          6552
52
53 // Norms
54 #define NTSC 0
55 #define PAL 1
56 #define SECAM 2
57
58 // Frequencies
59 #define NTSC_DVB 0
60 #define CATV_DVB 1
61 #define NTSC_BCAST 2
62 #define NTSC_CABLE 3
63 #define NTSC_HRC 4
64 #define NTSC_BCAST_JP 5
65 #define NTSC_CABLE_JP 6
66 #define PAL_EUROPE 7
67 #define PAL_E_EUROPE 8
68 #define PAL_ITALY 9
69 #define PAL_NEWZEALAND 10
70 #define PAL_AUSTRALIA 11
71 #define PAL_IRELAND 12
72
73 #endif