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

git at videolan.org git at videolan.org
Sat Apr 17 10:35:58 CEST 2010


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

fluidsynth: implement channel aftertouch event

(cherry picked from commit f749d30ba2541702a1b601d85a714a6fc1d085e6)
(cherry picked from commit dc07f6a00abff488c9e8a9eaefcd26c6569ca2a2)

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

 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 9bf5906..352c701 100644
--- a/modules/codec/fluidsynth.c
+++ b/modules/codec/fluidsynth.c
@@ -198,12 +198,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 0xD0:
+            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