From 6fcd2c77a29f798611cc88fb63fcd93c440f5c50 Mon Sep 17 00:00:00 2001 From: Ozkan Sezer Date: Sun, 7 Oct 2018 01:37:10 +0300 Subject: [PATCH] backport fix for bug #2969. (from 2.0 branch commit 30ff0c742ac7). --- timidity/playmidi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/timidity/playmidi.c b/timidity/playmidi.c index 3327db6c..0936e652 100644 --- a/timidity/playmidi.c +++ b/timidity/playmidi.c @@ -326,7 +326,7 @@ static void recompute_amp(int v) { int note = voice[v].sample->note_to_use; if (note>0 && drumvolume[chan][note]>=0) vol = drumvolume[chan][note]; - if (note>0 && drumpanpot[chan][note]>=0) panning = drumvolume[chan][note]; + if (note>0 && drumpanpot[chan][note]>=0) panning = drumpanpot[chan][note]; } if (opt_expression_curve == 2) curved_expression = 127.0 * vol_table[expr];