comparison recpt1/recpt1.h @ 11:4615eaf04415

support signal strength calculation.
author Yoshiki Yazawa <yaz@honeyplanet.jp>
date Mon, 23 Feb 2009 14:53:12 +0900
parents d898fd27547f
children 84ff6ef710ea
comparison
equal deleted inserted replaced
10:e3059e3cf5e7 11:4615eaf04415
8 char *isdb_t_dev[2] = { 8 char *isdb_t_dev[2] = {
9 "/dev/pt1video2", 9 "/dev/pt1video2",
10 "/dev/pt1video3" 10 "/dev/pt1video3"
11 }; 11 };
12 12
13 #define CHTYPE_SATELLITE 0 // 衛星デジタル放送 13 #define CHTYPE_SATELLITE 0 // 衛星デジタル放送
14 #define CHTYPE_GROUND 1 // 地上デジタル放送 14 #define CHTYPE_GROUND 1 // 地上デジタル放送
15 #define MAX_QUEUE 8192 15 #define MAX_QUEUE 8192
16 #define MAX_READ_SIZE (1024 * 16) 16 #define MAX_READ_SIZE (1024 * 16)
17 #define WRITE_SIZE (1024 * 1024 * 2) 17 #define WRITE_SIZE (1024 * 1024 * 2)
18 #define TRUE 1 18 #define TRUE 1
19 #define FALSE 0 19 #define FALSE 0
20 20
21 typedef struct _BUFSZ { 21 typedef struct _BUFSZ {
22 int size; 22 int size;
23 u_char buffer[MAX_READ_SIZE]; 23 u_char buffer[MAX_READ_SIZE];
24 } BUFSZ; 24 } BUFSZ;