mirror of
https://github.com/xdsopl/robot36.git
synced 2025-12-06 07:12:07 +01:00
Pull request fixes: moved string
This commit is contained in:
parent
5aa3be6cc9
commit
09d5f6dc5a
|
|
@ -96,7 +96,7 @@ public class Decoder {
|
||||||
double scanLineToleranceSeconds = 0.001;
|
double scanLineToleranceSeconds = 0.001;
|
||||||
scanLineToleranceSamples = (int) Math.round(scanLineToleranceSeconds * sampleRate);
|
scanLineToleranceSamples = (int) Math.round(scanLineToleranceSeconds * sampleRate);
|
||||||
rawMode = new RawDecoder(rawName, sampleRate);
|
rawMode = new RawDecoder(rawName, sampleRate);
|
||||||
hfFaxMode = new HFFax("HF Fax", sampleRate);
|
hfFaxMode = new HFFax(sampleRate);
|
||||||
Mode robot36 = new Robot_36_Color(sampleRate);
|
Mode robot36 = new Robot_36_Color(sampleRate);
|
||||||
currentMode = robot36;
|
currentMode = robot36;
|
||||||
currentScanLineSamples = robot36.getScanLineSamples();
|
currentScanLineSamples = robot36.getScanLineSamples();
|
||||||
|
|
|
||||||
|
|
@ -15,8 +15,8 @@ public class HFFax extends BaseMode {
|
||||||
private final float[] cumulated;
|
private final float[] cumulated;
|
||||||
private int horizontalShift = 0;
|
private int horizontalShift = 0;
|
||||||
|
|
||||||
HFFax(String name, int sampleRate) {
|
HFFax(int sampleRate) {
|
||||||
this.name = name;
|
this.name = "HF Fax";
|
||||||
lowPassFilter = new ExponentialMovingAverage();
|
lowPassFilter = new ExponentialMovingAverage();
|
||||||
this.sampleRate = sampleRate;
|
this.sampleRate = sampleRate;
|
||||||
cumulated = new float[getWidth()];
|
cumulated = new float[getWidth()];
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue