13
0

debug ardour->MCP fader mapping

git-svn-id: svn://localhost/ardour2/branches/3.0@11831 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis 2012-04-08 15:51:30 +00:00
parent 66c83f2765
commit 5d29d591b8

View File

@ -929,6 +929,10 @@ MackieControlProtocol::notify_gain_changed (RouteSignal * route_signal, bool for
{
try {
Fader & fader = route_signal->strip().gain();
DEBUG_TRACE (DEBUG::MackieControl, string_compose ("route %1 gain change, update fader %2 on port %3\n",
route_signal->route()->name(),
fader.raw_id(),
route_signal->port().output_port().name()));
if (!fader.in_use()) {
float gain_value = gain_to_slider_position (route_signal->route()->gain_control()->get_value());
// check that something has actually changed