Navigation Menu

Skip to content

Commit

Permalink
backport fix for bug #2969. (from 2.0 branch commit 30ff0c742ac7).
Browse files Browse the repository at this point in the history
  • Loading branch information
sezero committed Oct 6, 2018
1 parent 8c5a187 commit 6fcd2c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion timidity/playmidi.c
Expand Up @@ -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];
Expand Down

0 comments on commit 6fcd2c7

Please sign in to comment.