]> git.rkrishnan.org Git - dttsp.git/blob - jDttSP/local.h
dda789ee27e760e92cfb3f51cb4e1ff177b2948c
[dttsp.git] / jDttSP / local.h
1 /* local.h
2
3 Some manifest constants for the particular implementation
4    
5 This file is part of a program that implements a Software-Defined Radio.
6
7 Copyright (C) 2004 by Frank Brickle, AB2KT and Bob McGwier, N4HY
8
9 This program is free software; you can redistribute it and/or modify
10 it under the terms of the GNU General Public License as published by
11 the Free Software Foundation; either version 2 of the License, or
12 (at your option) any later version.
13
14 This program is distributed in the hope that it will be useful,
15 but WITHOUT ANY WARRANTY; without even the implied warranty of
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17 GNU General Public License for more details.
18
19 You should have received a copy of the GNU General Public License
20 along with this program; if not, write to the Free Software
21 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
22
23 The authors can be reached by email at
24
25 ab2kt@arrl.net
26 or
27 rwmcgwier@comcast.net
28
29 or by paper mail at
30
31 The DTTS Microwave Society
32 6 Kathleen Place
33 Bridgewater, NJ 08807
34 */
35
36 /* #include <fromsys.h> */
37 /* #include <datatypes.h> */
38 /* #include <banal.h> */
39 /* #include <fftw.h> */
40 /* #include <sdrexport.h> */
41
42 #ifndef _local_h
43 #define _local_h
44
45 #include <common.h>
46
47 #define RCBASE ".DttSPrc"
48 #define PARMPATH "./IPC/SDR-1000-0-commands.fifo"
49 #define METERPATH "./IPC/SDR-1000-0-meter.chan"
50 #define WISDOMPATH "./wisdom"
51 #define RINGMULT (4)
52 #define METERMULT (2)
53 #define DEFRATE (48000.0)
54 #define DEFSIZE (2048)
55 #define DEFMODE (SAM)
56
57 #ifndef MAXPATHLEN
58 #define MAXPATHLEN 2048
59 #endif  
60
61 extern struct _loc {
62   char name[MAXPATHLEN];
63   struct {
64     char rcfile[MAXPATHLEN],
65          parm[MAXPATHLEN],
66          meter[MAXPATHLEN],
67          wisdom[MAXPATHLEN];
68   } path;
69   struct {
70     REAL rate;
71     int size, nrx;
72     SDRMODE mode;
73   } def;
74   struct { int ring, meter; } mult;
75 } loc;
76
77 #endif