[SCM] calf/master: + Organ: protect sustained notes (use proper flag)

js at users.alioth.debian.org js at users.alioth.debian.org
Tue May 7 15:39:14 UTC 2013


The following commit has been merged in the master branch:
commit 19feef10df0e7c5cc2648da9ea05dfa20f56c766
Author: Krzysztof Foltman <wdev at foltman.com>
Date:   Wed Jan 28 21:29:05 2009 +0000

    + Organ: protect sustained notes (use proper flag)

diff --git a/src/calf/organ.h b/src/calf/organ.h
index 6ee2ca5..36d0e1f 100644
--- a/src/calf/organ.h
+++ b/src/calf/organ.h
@@ -253,6 +253,8 @@ public:
         for (int i = 0; i < EnvCount; i++)
             envs[i].note_off();
     }
+
+    virtual float get_priority() { return stolen ? 20000 : (perc_released ? 1 : (sostenuto ? 200 : 100)); }
     
     virtual void steal() {
         perc_released = true;

-- 
calf audio plugins packaging



More information about the pkg-multimedia-commits mailing list