MCP: bit more debugging for vpot press
git-svn-id: svn://localhost/ardour2/branches/3.0@11991 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
bf107f93e1
commit
e3d353715a
|
@ -451,6 +451,7 @@ Strip::vselect_event (Button& button, ButtonState bs)
|
|||
ac->set_value (ac->normal());
|
||||
|
||||
} else {
|
||||
DEBUG_TRACE (DEBUG::MackieControl, "switching to next pot mode\n");
|
||||
next_pot_mode ();
|
||||
}
|
||||
}
|
||||
|
@ -911,6 +912,7 @@ Strip::next_pot_mode ()
|
|||
|
||||
if (_surface->mcp().flip_mode()) {
|
||||
/* do not change vpot mode while in flipped mode */
|
||||
DEBUG_TRACE (DEBUG::MackieControl, "not stepping pot mode - in flip mode\n");
|
||||
_surface->write (display (1, "Flip"));
|
||||
queue_display_reset (2000);
|
||||
return;
|
||||
|
@ -943,6 +945,8 @@ Strip::set_vpot_mode (PotMode m)
|
|||
boost::shared_ptr<Send> send;
|
||||
boost::shared_ptr<Pannable> pannable;
|
||||
|
||||
DEBUG_TRACE (DEBUG::MackieControl, string_compose ("switch to vpot mode %1\n", m));
|
||||
|
||||
if (!_route) {
|
||||
return;
|
||||
}
|
||||
|
@ -968,7 +972,6 @@ Strip::set_vpot_mode (PotMode m)
|
|||
if (pannable) {
|
||||
_vpot->set_control (pannable->pan_azimuth_control);
|
||||
}
|
||||
_vpot_mode = PanAzimuth;
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue
Block a user