mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-27 14:48:46 -05:00
Silence two more compiler warnings.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3307 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
parent
5dfaa1aba0
commit
3ead1e4d9e
@ -547,7 +547,6 @@ void MainWindow::dataSink(int k)
|
|||||||
static float s[NSMAX],red[NSMAX];
|
static float s[NSMAX],red[NSMAX];
|
||||||
static int ihsym=0;
|
static int ihsym=0;
|
||||||
static int nzap=0;
|
static int nzap=0;
|
||||||
static int nb;
|
|
||||||
static int trmin;
|
static int trmin;
|
||||||
static int npts8;
|
static int npts8;
|
||||||
static float px=0.0;
|
static float px=0.0;
|
||||||
@ -560,8 +559,6 @@ void MainWindow::dataSink(int k)
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Get power, spectrum, and ihsym
|
// Get power, spectrum, and ihsym
|
||||||
nb=0;
|
|
||||||
if(m_NB) nb=1;
|
|
||||||
trmin=m_TRperiod/60;
|
trmin=m_TRperiod/60;
|
||||||
symspec_(&k,&trmin,&m_nsps,&m_inGain,&px,s,red,&df3,&ihsym,&npts8);
|
symspec_(&k,&trmin,&m_nsps,&m_inGain,&px,s,red,&df3,&ihsym,&npts8);
|
||||||
if(ihsym <=0) return;
|
if(ihsym <=0) return;
|
||||||
|
@ -73,7 +73,7 @@ extern "C" int d2aCallback(const void *inputBuffer, void *outputBuffer,
|
|||||||
// nspd=3072; //18.75 WPM
|
// nspd=3072; //18.75 WPM
|
||||||
nspd=2048 + 512; //22.5 WPM
|
nspd=2048 + 512; //22.5 WPM
|
||||||
int ic0=85*4*udata->nsps;
|
int ic0=85*4*udata->nsps;
|
||||||
for(int i=0 ; i<framesToProcess; i++ ) {
|
for(uint i=0 ; i<framesToProcess; i++ ) {
|
||||||
phi += dphi;
|
phi += dphi;
|
||||||
if(phi>twopi) phi -= twopi;
|
if(phi>twopi) phi -= twopi;
|
||||||
i2=32767.0*sin(phi);
|
i2=32767.0*sin(phi);
|
||||||
|
@ -45,7 +45,8 @@ HEADERS += mainwindow.h plotter.h soundin.h soundout.h \
|
|||||||
commons.h sleep.h displaytext.h logqso.h \
|
commons.h sleep.h displaytext.h logqso.h \
|
||||||
psk_reporter.h rigclass.h
|
psk_reporter.h rigclass.h
|
||||||
|
|
||||||
DEFINES += __cplusplus
|
# (Is the following really needed???)
|
||||||
|
#DEFINES += __cplusplus
|
||||||
|
|
||||||
FORMS += mainwindow.ui about.ui devsetup.ui widegraph.ui \
|
FORMS += mainwindow.ui about.ui devsetup.ui widegraph.ui \
|
||||||
logqso.ui
|
logqso.ui
|
||||||
|
Loading…
Reference in New Issue
Block a user