Merge branch 'fix/misc' into for-linus
This commit is contained in:
commit
2a5e00ed14
|
@ -1631,8 +1631,6 @@ unsigned long compute_finetune(unsigned long base_freq, int bend, int range,
|
||||||
}
|
}
|
||||||
|
|
||||||
semitones = bend / 100;
|
semitones = bend / 100;
|
||||||
if (semitones > 99)
|
|
||||||
semitones = 99;
|
|
||||||
cents = bend % 100;
|
cents = bend % 100;
|
||||||
|
|
||||||
amount = (int) (semitone_tuning[semitones] * multiplier * cent_tuning[cents]) / 10000;
|
amount = (int) (semitone_tuning[semitones] * multiplier * cent_tuning[cents]) / 10000;
|
||||||
|
|
Loading…
Reference in New Issue