mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2025-05-24 18:32:27 -04:00
Enable early decode with data read from disk.
This commit is contained in:
parent
775a204a68
commit
3a28992c7f
@ -620,7 +620,7 @@ void MainWindow::dataSink(int k)
|
|||||||
n=0;
|
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_.newdat=1;
|
||||||
datcom_.nagain=0;
|
datcom_.nagain=0;
|
||||||
datcom_.nhsym=ihsym;
|
datcom_.nhsym=ihsym;
|
||||||
@ -1126,6 +1126,9 @@ void MainWindow::diskDat() //diskDat()
|
|||||||
for(int i=0; i<304; i++) { // Do the half-symbol FFTs
|
for(int i=0; i<304; i++) { // Do the half-symbol FFTs
|
||||||
int k = i*hsym + 2048.5;
|
int k = i*hsym + 2048.5;
|
||||||
dataSink(k);
|
dataSink(k);
|
||||||
|
while(m_decoderBusy) {
|
||||||
|
qApp->processEvents();
|
||||||
|
}
|
||||||
if(i%10 == 0) qApp->processEvents(); //Keep the GUI responsive
|
if(i%10 == 0) qApp->processEvents(); //Keep the GUI responsive
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user