[SCM] calf/master: Add missing aftertouch support to LV2 and DSSI wrappers.

js at users.alioth.debian.org js at users.alioth.debian.org
Tue May 7 15:40:06 UTC 2013


The following commit has been merged in the master branch:
commit 0b70db6c6334c3a3f4dc6c7d7edeec4b9365f9b9
Author: Krzysztof Foltman <wdev at foltman.com>
Date:   Sun Apr 11 15:22:26 2010 +0100

    Add missing aftertouch support to LV2 and DSSI wrappers.

diff --git a/src/calf/lv2wrap.h b/src/calf/lv2wrap.h
index d28a2e8..7c014d2 100644
--- a/src/calf/lv2wrap.h
+++ b/src/calf/lv2wrap.h
@@ -131,6 +131,7 @@ struct lv2_instance: public plugin_ctl_iface, public progress_report_iface
                 case 9: module->note_on(item->data[1], item->data[2]); break;
                 case 11: module->control_change(item->data[1], item->data[2]); break;
                 case 12: module->program_change(item->data[1]); break;
+                case 13: module->channel_pressure(item->data[1]); break;
                 case 14: module->pitch_bend(item->data[1] + 128 * item->data[2] - 8192); break;
                 }
             }
diff --git a/src/plugin.cpp b/src/plugin.cpp
index 2302c11..d2df729 100644
--- a/src/plugin.cpp
+++ b/src/plugin.cpp
@@ -177,6 +177,9 @@ void ladspa_instance::process_dssi_event(snd_seq_event_t &event)
         case SND_SEQ_EVENT_PITCHBEND:
             module->pitch_bend(event.data.control.value);
             break;
+        case SND_SEQ_EVENT_CHANPRESS:
+            module->channel_pressure(event.data.control.value);
+            break;
     }
 }
 #endif

-- 
calf audio plugins packaging



More information about the pkg-multimedia-commits mailing list