ref: affae6de24bf5bb8c5d9f49aa5e9c970c5f2a36b
parent: ef707958359b91d9cc34a29f4f5328a069a4c1ce
author: Sigrid Solveig Haflínudóttir <ftrvxmtrx@gmail.com>
date: Fri Mar 5 04:39:32 EST 2021
fix another short type issue causing silence
--- a/src/it/itrender.c
+++ b/src/it/itrender.c
@@ -4516,7 +4516,7 @@
playing->delta =
(float)pow(DUMB_PITCH_BASE,
- ((60 - playing->note) << 8) - playing->finetune);
+ ((60 - (int)playing->note) << 8) - (int)playing->finetune);
/* playing->delta is 1.0 for C-5, 0.5 for C-6, etc. */
playing->delta *= 1.0f / playing->sample->C5_speed;