More refactoring (tm)

This commit is contained in:
Lucas
2019-07-07 15:10:50 +02:00
parent e1a815eddd
commit e2aac6d899
159 changed files with 38213 additions and 46222 deletions

View File

@@ -126,12 +126,12 @@ public class Decimator {
garbageValue = "-1419232405"
)
@Export("scaleRate")
int scaleRate(int var1) {
int scaleRate(int rate) {
if (this.table != null) {
var1 = (int)((long)this.outputRate * (long)var1 / (long)this.inputRate);
rate = (int)((long)this.outputRate * (long)rate / (long)this.inputRate);
}
return var1;
return rate;
}
@ObfuscatedName("q")
@@ -140,12 +140,12 @@ public class Decimator {
garbageValue = "25"
)
@Export("scalePosition")
int scalePosition(int var1) {
int scalePosition(int position) {
if (this.table != null) {
var1 = (int)((long)this.outputRate * (long)var1 / (long)this.inputRate) + 6;
position = (int)((long)this.outputRate * (long)position / (long)this.inputRate) + 6;
}
return var1;
return position;
}
@ObfuscatedName("f")