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

git at videolan.org git at videolan.org
Fri Apr 16 20:56:18 CEST 2010


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

fluidsynth: fix pitch bend value
(cherry picked from commit e82cac595b8737bfab7626cc25aa6da0e8289894)

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

 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