]> git.sesse.net Git - vlc/commitdiff
fluidsynth: fix pitch bend value
authorRémi Denis-Courmont <remi@remlab.net>
Fri, 16 Apr 2010 18:19:41 +0000 (21:19 +0300)
committerRémi Denis-Courmont <remi@remlab.net>
Fri, 16 Apr 2010 18:54:48 +0000 (21:54 +0300)
modules/codec/fluidsynth.c

index 5221f8df1d76d89fb81174c6e48b10e8edcbca73..a2673ffed80fb868d54dda334ac366352933ea9e 100644 (file)
@@ -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;
     }