From 8ae939b57352657174ee0178347acc0690259a07 Mon Sep 17 00:00:00 2001 From: Joe Taylor Date: Thu, 7 Dec 2023 12:33:19 -0500 Subject: [PATCH] Save 60 s of data to *.iq files. Last 1.5 s may be zeroes. --- qmap/getfile.cpp | 3 +-- qmap/mainwindow.cpp | 3 --- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/qmap/getfile.cpp b/qmap/getfile.cpp index c8ca4c658..a8f8f86b4 100644 --- a/qmap/getfile.cpp +++ b/qmap/getfile.cpp @@ -54,7 +54,7 @@ void getfile(QString fname, bool xpol, int dbDgrd) void savetf2(QString fname, bool xpol) { - int npts=2*56*96000; + int npts=2*60*96000; if(xpol) npts=2*npts; qint16* buf=(qint16*)malloc(2*npts); @@ -68,7 +68,6 @@ void savetf2(QString fname, bool xpol) for(int i=0; i= m_hsymStop and !m_decode_called) { //Decode at t=56 s (for Q65 and data from disk) m_decode_called=true; -// qDebug() << "bb" << m_hsymStop << ihsym << m_decode_called << k << ntrz; datcom_.newdat=1; datcom_.nagain=0; datcom_.nhsym=ihsym; QDateTime t = QDateTime::currentDateTimeUtc(); @@ -421,7 +419,6 @@ void MainWindow::dataSink(int k) } m_nTransmitted=0; } - soundInThread.m_dataSinkBusy=false; }