diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2012-04-16 21:01:59 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2012-04-16 21:01:59 +0000 |
commit | e3d353715a712d8d23d299fd65c0461445d9ff0c (patch) | |
tree | c28568ecb4ef481ff40f8fa6322b43ea3a121e26 /libs | |
parent | bf107f93e142450c709657a4817c49f89b13b8ca (diff) |
MCP: bit more debugging for vpot press
git-svn-id: svn://localhost/ardour2/branches/3.0@11991 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs')
-rw-r--r-- | libs/surfaces/mackie/strip.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libs/surfaces/mackie/strip.cc b/libs/surfaces/mackie/strip.cc index 57693d0e8f..f9c115bbe6 100644 --- a/libs/surfaces/mackie/strip.cc +++ b/libs/surfaces/mackie/strip.cc @@ -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; |