From d63dd8d081a6fcd0715cd13f26df59fb831769d2 Mon Sep 17 00:00:00 2001 From: "Iain R. Learmonth" Date: Sun, 18 Oct 2015 18:51:00 +0100 Subject: Imported Upstream version 1.5.0 --- commons.h | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'commons.h') diff --git a/commons.h b/commons.h index e521841c..51834f3b 100644 --- a/commons.h +++ b/commons.h @@ -1,16 +1,14 @@ #ifndef COMMONS_H #define COMMONS_H -//#define NSMAX 1365 #define NSMAX 6827 #define NTMAX 120 +#define RX_SAMPLE_RATE 12000 -extern "C" { - -extern struct { +extern struct FortranCommon { float ss[184*NSMAX]; //This is "common/jt9com/..." in fortran float savg[NSMAX]; - short int d2[NTMAX*12000]; + short int d2[NTMAX*RX_SAMPLE_RATE]; int nutc; //UTC as integer, HHMM int ndiskdat; //1 ==> data read from *.wav file int ntrperiod; //TR period (seconds) @@ -18,6 +16,7 @@ extern struct { int newdat; //1 ==> new data, must do long FFT int npts8; //npts for c0() array int nfa; //Low decode limit (Hz) + int nfSplit; //JT65 | JT9 split frequency int nfb; //High decode limit (Hz) int ntol; //+/- decoding range around fQSO (Hz) int kin; @@ -30,6 +29,10 @@ extern struct { char datetime[20]; } jt9com_; +extern "C" { +extern struct { + float syellow[NSMAX]; +} jt9w_; } #endif // COMMONS_H -- cgit v1.2.3