Commit a6b7d025 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

fluidsynth: fix pitch bend value

(cherry picked from commit e82cac595b8737bfab7626cc25aa6da0e8289894)
parent 2a1fdc34
......@@ -198,7 +198,7 @@ static aout_buffer_t *DecodeBlock (decoder_t *p_dec, block_t **pp_block)
fluid_synth_program_change (p_sys->synth, channel, p1);
break;
case 0xE0:
fluid_synth_pitch_bend (p_sys->synth, channel, (p1 << 7) | p2);
fluid_synth_pitch_bend (p_sys->synth, channel, (p2 << 7) | p1);
break;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment