give confused Scottie a fighting chance

pull/11/head
Ahmet Inan 2024-04-20 08:55:33 +02:00
rodzic e843719923
commit 705a49d214
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -145,7 +145,7 @@ public class Decoder {
}
for (int i = 0; i < lines.length; ++i)
copyLines(mode.decodeScanLine(evenBuffer, oddBuffer, scanLineBuffer, pulses[i], lines[i]));
int shift = pulses[pulses.length - 1];
int shift = pulses[pulses.length - 1] - (meanSamples * 3) / 4;
adjustSyncPulses(last5msSyncPulses, shift);
adjustSyncPulses(last9msSyncPulses, shift);
adjustSyncPulses(last20msSyncPulses, shift);