[vlc-commits] commit: fluidsynth: implement channel aftertouch event ( Rémi Denis-Courmont )

git at videolan.org git at videolan.org
Fri Apr 16 20:55:00 CEST 2010


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

fluidsynth: implement channel aftertouch event

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

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

diff --git a/modules/codec/fluidsynth.c b/modules/codec/fluidsynth.c
index a2673ff..b126fb6 100644
--- a/modules/codec/fluidsynth.c
+++ b/modules/codec/fluidsynth.c
@@ -191,12 +191,16 @@ static aout_buffer_t *DecodeBlock (decoder_t *p_dec, block_t **pp_block)
         case 0x90:
             fluid_synth_noteon (p_sys->synth, channel, p1, p2);
             break;
+        /*case 0xA0: note aftertouch not implemented */
         case 0xB0:
             fluid_synth_cc (p_sys->synth, channel, p1, p2);
             break;
         case 0xC0:
             fluid_synth_program_change (p_sys->synth, channel, p1);
             break;
+        case 0xA0:
+            fluid_synth_channel_pressure (p_sys->synth, channel, p1);
+            break;
         case 0xE0:
             fluid_synth_pitch_bend (p_sys->synth, channel, (p2 << 7) | p1);
             break;



More information about the vlc-commits mailing list