[SCM] calf/master: + Monosynth: add workaround for JACK 2 note off bug (http://trac.jackaudio.org/ticket/90)

js at users.alioth.debian.org js at users.alioth.debian.org
Tue May 7 15:37:46 UTC 2013


The following commit has been merged in the master branch:
commit 5edba620cfb550e8016e8c4cd04d02491f43bc1d
Author: kfoltman <kfoltman at 78b06b96-2940-0410-b7fc-879d825d01d8>
Date:   Thu Oct 16 22:47:45 2008 +0000

    + Monosynth: add workaround for JACK 2 note off bug (http://trac.jackaudio.org/ticket/90)
    
    
    git-svn-id: https://calf.svn.sourceforge.net/svnroot/calf/trunk@338 78b06b96-2940-0410-b7fc-879d825d01d8

diff --git a/src/calf/jackhost.h b/src/calf/jackhost.h
index 23937bc..dca5837 100644
--- a/src/calf/jackhost.h
+++ b/src/calf/jackhost.h
@@ -270,7 +270,10 @@ public:
             module.note_off(buffer[1], buffer[2]);
             break;
         case 9:
-            module.note_on(buffer[1], buffer[2]);
+            if (!buffer[2])
+                module.note_off(buffer[1], 0);
+            else
+                module.note_on(buffer[1], buffer[2]);
             break;
         case 10:
             module.program_change(buffer[1]);

-- 
calf audio plugins packaging



More information about the pkg-multimedia-commits mailing list