mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 06:44:57 +01:00
MCP: debug continues
git-svn-id: svn://localhost/ardour2/branches/3.0@11928 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
d5a5c66d46
commit
9c281228b3
1 changed files with 1 additions and 1 deletions
|
|
@ -388,7 +388,7 @@ Surface::handle_midi_controller_message (MIDI::Parser &, MIDI::EventTwoBytes* ev
|
|||
{
|
||||
DEBUG_TRACE (DEBUG::MackieControl, string_compose ("SurfacePort::handle_midi_controller %1 = %2\n", (int) ev->controller_number, (int) ev->value));
|
||||
|
||||
Pot* pot = pots[Pot::base_id + ev->controller_number];
|
||||
Pot* pot = pots[ev->controller_number];
|
||||
|
||||
if (!pot && ev->controller_number == Jog::base_id) {
|
||||
pot = dynamic_cast<Pot*> (controls_by_name["jog"]);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue