diff options
author | Tim E. Real <termtech@rogers.com> | 2011-04-25 20:47:28 +0000 |
---|---|---|
committer | Tim E. Real <termtech@rogers.com> | 2011-04-25 20:47:28 +0000 |
commit | 499ccec21dd2ac636fb019c98a902c351b4ec165 (patch) | |
tree | 03b867772f9d4543c2ae0e8ca49f389333ea5ad7 /muse2/muse/ctrl.h | |
parent | 5974951aeaf0a86b83175e018d5bf35e509f5181 (diff) |
Overhaul plugin module and add variable run-length ladspa + dssi processing. Please see ChangeLog.
Diffstat (limited to 'muse2/muse/ctrl.h')
-rw-r--r-- | muse2/muse/ctrl.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/muse2/muse/ctrl.h b/muse2/muse/ctrl.h index 4d864b9f..955fd01f 100644 --- a/muse2/muse/ctrl.h +++ b/muse2/muse/ctrl.h @@ -23,7 +23,8 @@ const int AC_MUTE = 2; #define AC_PLUGIN_CTL_BASE_POW 12 #define AC_PLUGIN_CTL_ID_MASK 0xFFF -inline int genACnum(int plugin, int ctrl) { return (plugin + 1) * AC_PLUGIN_CTL_BASE + ctrl; } +//inline int genACnum(int plugin, int ctrl) { return (plugin + 1) * AC_PLUGIN_CTL_BASE + ctrl; } +inline unsigned genACnum(unsigned plugin, unsigned ctrl) { return (plugin + 1) * AC_PLUGIN_CTL_BASE + ctrl; } class Xml; |