diff options
| author | Christoph Berg <myon@debian.org> | 2019-04-29 22:08:59 +0200 |
|---|---|---|
| committer | Christoph Berg <myon@debian.org> | 2019-04-29 22:08:59 +0200 |
| commit | b7238399ea4f1ca51d8f7b8f9220af3da0913edf (patch) | |
| tree | 9716c5c0a793b2f7cda83e9d8f840095a0e9358e /lib/ft2/gcom1.f90 | |
| parent | 200de07a95209a55d6019ba87f0abc78d302bf4c (diff) | |
New upstream version 2.1.0~rc5+repackupstream/2.1.0_rc5+repack
Diffstat (limited to 'lib/ft2/gcom1.f90')
| -rw-r--r-- | lib/ft2/gcom1.f90 | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/lib/ft2/gcom1.f90 b/lib/ft2/gcom1.f90 new file mode 100644 index 00000000..9402f9d9 --- /dev/null +++ b/lib/ft2/gcom1.f90 @@ -0,0 +1,34 @@ +! Variable Purpose +!--------------------------------------------------------------------------- +integer NRING !Length of Rx ring buffer +integer NTZ !Length of Tx waveform in samples +parameter(NRING=230400) !Ring buffer at 12000 samples/sec +parameter(NTZ=23040) !144*160 +parameter(NMAX=30000) !2.5*12000 +real snrdb +integer ndevin !Device# for audio input +integer ndevout !Device# for audio output +integer iwrite !Pointer to Rx ring buffer +integer itx !Pointer to Tx buffer +integer ngo !Set to 0 to terminate audio streams +integer nTransmitting !Actually transmitting? +integer nTxOK !OK to transmit? +integer nport !COM port for PTT +logical tx_once !Transmit one message, then exit +logical ltx !True if msg i has been transmitted +logical lrx !True if msg i has been received +logical autoseq +logical QSO_in_progress +integer*2 y1 !Ring buffer for audio channel 0 +integer*2 y2 !Ring buffer for audio channel 1 +integer*2 iwave !Data for Tx audio +character*6 mycall +character*6 hiscall +character*6 hiscall_next +character*4 mygrid +character*3 exch +character*37 txmsg + +common/gcom1/snrdb,ndevin,ndevout,iwrite,itx,ngo,nTransmitting,nTxOK,nport, & + ntxed,tx_once,y1(NRING),y2(NRING),iwave(NTZ+3*1152),ltx(5),lrx(5), & + autoseq,QSO_in_progress,mycall,hiscall,hiscall_next,mygrid,exch,txmsg |
