summaryrefslogtreecommitdiff
path: root/muse2/muse/ctrl.h
diff options
context:
space:
mode:
authorFlorian Jung <flo@windfisch.org>2011-04-27 16:57:12 +0000
committerFlorian Jung <flo@windfisch.org>2011-04-27 16:57:12 +0000
commit0f7a7ab47a2a7742fba2ea6af980ee5d950b8c37 (patch)
tree34ce8136927d4ba5627df7dc40defdbc59e5d885 /muse2/muse/ctrl.h
parent928081edaa0752e14577c36b6b595ab38079224a (diff)
parent499ccec21dd2ac636fb019c98a902c351b4ec165 (diff)
32-notes are now fully supported (also 32-rests are supported now)
corrected a bug updated AUTHORS merged with trunk
Diffstat (limited to 'muse2/muse/ctrl.h')
-rw-r--r--muse2/muse/ctrl.h3
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;