]> git.sesse.net Git - vlc/commitdiff
fluidsynth: implement channel aftertouch event
authorRémi Denis-Courmont <remi@remlab.net>
Fri, 16 Apr 2010 18:18:55 +0000 (21:18 +0300)
committerRémi Denis-Courmont <remi@remlab.net>
Fri, 16 Apr 2010 18:54:49 +0000 (21:54 +0300)
modules/codec/fluidsynth.c

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