[vlc-commits] commit: fluidsynth: fix pitch bend value ( Rémi Denis-Courmont )

git at videolan.org git at videolan.org
Fri Apr 16 20:54:59 CEST 2010


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Fri Apr 16 21:19:41 2010 +0300| [e82cac595b8737bfab7626cc25aa6da0e8289894] | committer: Rémi Denis-Courmont 

fluidsynth: fix pitch bend value

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=e82cac595b8737bfab7626cc25aa6da0e8289894
---

 modules/codec/fluidsynth.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/codec/fluidsynth.c b/modules/codec/fluidsynth.c
index 5221f8d..a2673ff 100644
--- a/modules/codec/fluidsynth.c
+++ b/modules/codec/fluidsynth.c
@@ -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;
     }
 



More information about the vlc-commits mailing list