diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2012-04-11 23:52:37 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2012-04-11 23:52:37 +0000 |
commit | 1aa8baf6f9d714d8a19947f23475863520af0dd7 (patch) | |
tree | ecedd951131ab67a816894375578b8147a22e09c /libs/surfaces/mackie/pot.cc | |
parent | fdffab5831146512f725873c2d6fbdc098b6cec7 (diff) |
MCP: maybe get vpot id's right; more debug tracing for gain notify
git-svn-id: svn://localhost/ardour2/branches/3.0@11926 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/surfaces/mackie/pot.cc')
-rw-r--r-- | libs/surfaces/mackie/pot.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libs/surfaces/mackie/pot.cc b/libs/surfaces/mackie/pot.cc index 3b8e8b65a5..d21a18f6ae 100644 --- a/libs/surfaces/mackie/pot.cc +++ b/libs/surfaces/mackie/pot.cc @@ -81,7 +81,10 @@ Pot::update_message () msg += (lrintf (value * 10.0) + 1) & 0x0f; // 0b00001111 } - return MidiByteArray (3, 0xb0, id(), msg); + /* outbound LED message requires 0x20 to be added to the LED's id + */ + + return MidiByteArray (3, 0xb0, 0x20 + id(), msg); } |