Enable early decode with data read from disk.

This commit is contained in:
Joe Taylor
2021-07-16 10:07:28 -04:00
parent 775a204a68
commit 3a28992c7f
+4 -1
View File
@@ -620,7 +620,7 @@ void MainWindow::dataSink(int k)
n=0;
}
if(ihsym == 280 and !m_diskData) { //Early decode, t=52 s
if(ihsym == 280) { //Early decode, t=52 s
datcom_.newdat=1;
datcom_.nagain=0;
datcom_.nhsym=ihsym;
@@ -1126,6 +1126,9 @@ void MainWindow::diskDat() //diskDat()
for(int i=0; i<304; i++) { // Do the half-symbol FFTs
int k = i*hsym + 2048.5;
dataSink(k);
while(m_decoderBusy) {
qApp->processEvents();
}
if(i%10 == 0) qApp->processEvents(); //Keep the GUI responsive
}
}