Continuing to work on SoundIn, SoundOut...

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/jtms3@2483 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
Joe Taylor
2012-07-04 16:27:57 +00:00
parent ba3d194aa3
commit 1866a937e4
8 changed files with 81 additions and 238 deletions
+5 -1
View File
@@ -22,7 +22,7 @@ void getfile(QString fname, bool xpol, int dbDgrd)
FILE* fp=fopen(name,"rb");
if(fp != NULL) {
fread(&datcom_.fcenter,sizeof(datcom_.fcenter),1,fp);
// fread(&datcom_.fcenter,sizeof(datcom_.fcenter),1,fp);
fread(id,2,npts,fp);
int j=0;
@@ -41,6 +41,7 @@ void getfile(QString fname, bool xpol, int dbDgrd)
}
fclose(fp);
/*
datcom_.ndiskdat=1;
int nfreq=(int)datcom_.fcenter;
if(nfreq!=144 and nfreq != 432 and nfreq != 1296) datcom_.fcenter=144.125;
@@ -49,11 +50,13 @@ void getfile(QString fname, bool xpol, int dbDgrd)
datcom_.nutc=0;
if(i0>0) datcom_.nutc=100*fname.mid(i0-4,2).toInt() +
fname.mid(i0-2,2).toInt();
*/
}
}
void savetf2(QString fname, bool xpol)
{
/*
int npts=2*52*96000;
if(xpol) npts=2*npts;
@@ -74,6 +77,7 @@ void savetf2(QString fname, bool xpol)
fclose(fp);
}
free(buf);
*/
}
//#define MAX_RANDOM 0x7fffffff