mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2025-02-03 09:44:24 -05:00
I mistakenly left the simulator producing noise during the Rx sequence. Fixed.
Adjusted Rx start time by one buffer. git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/trunk@96 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
parent
076a01eba5
commit
ef47c8ba04
@ -91,7 +91,7 @@ subroutine fivehz
|
||||
|
||||
if(ntr.ne.ntr0) then
|
||||
ibuf0=ibuf !Start of new sequence, save ibuf
|
||||
ibuf0=ibuf0-3 !Tweak the Rx start time
|
||||
ibuf0=ibuf0-2 !Tweak the Rx start time
|
||||
if(ibuf0.lt.1) ibuf0=ibuf0+1024
|
||||
! if(mode(1:4).ne.'JT65') then
|
||||
! ibuf0=ibuf0+3 !So we don't copy our own Tx
|
||||
|
@ -137,7 +137,6 @@ static int SoundOut( void *inputBuffer, void *outputBuffer,
|
||||
short *in = (short*)inputBuffer;
|
||||
short *wptr = (short*)outputBuffer;
|
||||
unsigned int i,n;
|
||||
static short n2;
|
||||
static int n0;
|
||||
static int ia=0;
|
||||
static int ib=0;
|
||||
@ -179,10 +178,8 @@ static int SoundOut( void *inputBuffer, void *outputBuffer,
|
||||
}
|
||||
}
|
||||
else {
|
||||
n2=0;
|
||||
addnoise_(&n2);
|
||||
*wptr++ = n2; //left
|
||||
*wptr++ = n2; //right
|
||||
*wptr++ = 0; //left
|
||||
*wptr++ = 0; //right
|
||||
}
|
||||
}
|
||||
fivehztx_(); //Call fortran routine
|
||||
|
Loading…
Reference in New Issue
Block a user