1 /* 2 ACfax - Fax reception with X11-interface for amateur radio 3 Copyright (C) 1995-1998 Andreas Czechanowski, DL4SDC 4 5 This program is free software; you can redistribute it and/or modify 6 it under the terms of the GNU General Public License as published by 7 the Free Software Foundation; either version 2 of the License, or 8 (at your option) any later version. 9 10 This program is distributed in the hope that it will be useful, 11 but WITHOUT ANY WARRANTY; without even the implied warranty of 12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 GNU General Public License for more details. 14 15 You should have received a copy of the GNU General Public License 16 along with this program; if not, write to the Free Software Foundation, 17 Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 18 19 andreas.czechanowski@ins.uni-stuttgart.de 20 */ 21 22 /* 23 * mod_demod.h - header file for the AM/FM modulator and demodulator 24 * contained in mod_demod.c 25 */ 26 27 #define MOD_BITS 0x000000f0 28 #define MOD_FM 0x00000010 29 #define MOD_AM 0x00000020 30 #define FIL_MASK 0x00000007 31 #define FIL_NARR 0x00000001 32 #define FIL_MIDL 0x00000002 33 #define FIL_WIDE 0x00000003 34 35 /* defining SHORT as short may increase performance on some machines... */ 36 #define SHORT 37 38 extern SHORT int firwide[], firmiddle[], firnarrow[]; 39 40 void modem_init(void); 41 void set_modem_param(int, int, int); 42 void fm_demod(char *, int, char *); 43 void am_demod(char *, int, char *); 44 void fm_modulate(char *, int , char *); 45 void am_modulate(char *, int , char *); 46