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

fluidsynth: fix pitch bend value

parent 129cd5c6
...@@ -198,7 +198,7 @@ static aout_buffer_t *DecodeBlock (decoder_t *p_dec, block_t **pp_block) ...@@ -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); fluid_synth_program_change (p_sys->synth, channel, p1);
break; break;
case 0xE0: 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; 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