Changes to integrate into WSJT-X build system

A  separate install  of the  portaudio  library is  now required,  see
"doc/building on MS Windows.txt" for a suitable recipe.

The map65  code base  is still  MS Windows specific  in some  areas so
don't expect successful builds on Linux or macOS yet.
This commit is contained in:
Bill Somerville
2021-04-10 12:25:28 +01:00
parent 769e00ab88
commit 74bd3c1d0c
24 changed files with 305 additions and 1750 deletions
+9 -9
View File
@@ -10,7 +10,7 @@
#include "bandmap.h"
#include "txtune.h"
#include "sleep.h"
#include "portaudio.h"
#include <portaudio.h>
#define NFFT 32768
@@ -1308,11 +1308,11 @@ void MainWindow::decode() //decode()
QString hcall=(ui->dxCallEntry->text()+" ").mid(0,12);
QString hgrid=(ui->dxGridEntry->text()+" ").mid(0,6);
strncpy(datcom_.mycall, mcall.toLatin1(), 12);
strncpy(datcom_.mygrid, mgrid.toLatin1(), 6);
strncpy(datcom_.hiscall, hcall.toLatin1(), 12);
strncpy(datcom_.hisgrid, hgrid.toLatin1(), 6);
strncpy(datcom_.datetime, m_dateTime.toLatin1(), 20);
memcpy(datcom_.mycall, mcall.toLatin1(), 12);
memcpy(datcom_.mygrid, mgrid.toLatin1(), 6);
memcpy(datcom_.hiscall, hcall.toLatin1(), 12);
memcpy(datcom_.hisgrid, hgrid.toLatin1(), 6);
memcpy(datcom_.datetime, m_dateTime.toLatin1(), 20);
//newdat=1 ==> this is new data, must do the big FFT
//nagain=1 ==> decode only at fQSO +/- Tol
@@ -1661,14 +1661,14 @@ void MainWindow::ba2msg(QByteArray ba, char message[]) //ba2msg()
bool eom;
eom=false;
for(int i=0;i<22; i++) {
if((int)ba[i] == 0) eom=true;
if (i >= ba.size () || !ba[i]) eom=true;
if(eom) {
message[i]=32;
message[i] = ' ';
} else {
message[i]=ba[i];
}
}
message[22]=0;
message[22] = '\0';
}
void MainWindow::on_txFirstCheckBox_stateChanged(int nstate) //TxFirst