Mercurial > pt1
comparison recpt1/recpt1.h @ 32:6004fe4f37f9
adapted to use of multiple number of pt1:
- now recpt1 supports simultaneous use of two pt1s.
- new device option has been added.
author | Yoshiki Yazawa <yaz@honeyplanet.jp> |
---|---|
date | Tue, 03 Mar 2009 05:30:25 +0900 |
parents | 84ff6ef710ea |
children | f25820d90249 |
comparison
equal
deleted
inserted
replaced
31:289794dc265f | 32:6004fe4f37f9 |
---|---|
1 #ifndef _RECPT1_H_ | 1 #ifndef _RECPT1_H_ |
2 #define _RECPT1_H_ | 2 #define _RECPT1_H_ |
3 | 3 |
4 char *bsdev[2] = { | 4 #define NUM_BSDEV 4 |
5 #define NUM_ISDB_T_DEV 4 | |
6 | |
7 char *bsdev[NUM_BSDEV] = { | |
5 "/dev/pt1video1", | 8 "/dev/pt1video1", |
6 "/dev/pt1video0" | 9 "/dev/pt1video0", |
10 "/dev/pt1video5", | |
11 "/dev/pt1video4" | |
7 }; | 12 }; |
8 char *isdb_t_dev[2] = { | 13 char *isdb_t_dev[NUM_ISDB_T_DEV] = { |
9 "/dev/pt1video2", | 14 "/dev/pt1video2", |
10 "/dev/pt1video3" | 15 "/dev/pt1video3" |
16 "/dev/pt1video6", | |
17 "/dev/pt1video7" | |
11 }; | 18 }; |
12 | 19 |
13 #define CHTYPE_SATELLITE 0 /* satellite digital */ | 20 #define CHTYPE_SATELLITE 0 /* satellite digital */ |
14 #define CHTYPE_GROUND 1 /* terrestrial digital */ | 21 #define CHTYPE_GROUND 1 /* terrestrial digital */ |
15 #define MAX_QUEUE 8192 | 22 #define MAX_QUEUE 8192 |