Mercurial > pt1.oyama
diff 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 |
line wrap: on
line diff
--- a/recpt1/recpt1.h Tue Mar 03 05:15:40 2009 +0900 +++ b/recpt1/recpt1.h Tue Mar 03 05:30:25 2009 +0900 @@ -1,13 +1,20 @@ #ifndef _RECPT1_H_ #define _RECPT1_H_ -char *bsdev[2] = { +#define NUM_BSDEV 4 +#define NUM_ISDB_T_DEV 4 + +char *bsdev[NUM_BSDEV] = { "/dev/pt1video1", - "/dev/pt1video0" + "/dev/pt1video0", + "/dev/pt1video5", + "/dev/pt1video4" }; -char *isdb_t_dev[2] = { +char *isdb_t_dev[NUM_ISDB_T_DEV] = { "/dev/pt1video2", "/dev/pt1video3" + "/dev/pt1video6", + "/dev/pt1video7" }; #define CHTYPE_SATELLITE 0 /* satellite digital */