mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-09 16:24:57 +01:00
MCP: more mute button debug tracing; fix action for fn keys
git-svn-id: svn://localhost/ardour2/branches/3.0@11910 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
220095b8e0
commit
21f038c280
2 changed files with 3 additions and 1 deletions
|
|
@ -579,7 +579,7 @@ MackieControlProtocol::set_state (const XMLNode & node, int /*version*/)
|
||||||
|
|
||||||
if (action.empty()) {
|
if (action.empty()) {
|
||||||
/* default action if nothing is specified */
|
/* default action if nothing is specified */
|
||||||
action = string_compose ("goto-visual-state-%1", n+1);
|
action = string_compose ("Editor/goto-visual-state-%1", n+1);
|
||||||
}
|
}
|
||||||
|
|
||||||
_f_actions[n] = action;
|
_f_actions[n] = action;
|
||||||
|
|
|
||||||
|
|
@ -340,7 +340,9 @@ Strip::notify_solo_changed ()
|
||||||
void
|
void
|
||||||
Strip::notify_mute_changed ()
|
Strip::notify_mute_changed ()
|
||||||
{
|
{
|
||||||
|
DEBUG_TRACE (DEBUG::MackieControl, string_compose ("Strip %1 mute changed\n", _index));
|
||||||
if (_route && _mute) {
|
if (_route && _mute) {
|
||||||
|
DEBUG_TRACE (DEBUG::MackieControl, string_compose ("\troute muted ? %1\n", _route->muted()));
|
||||||
_surface->write (_mute->led().set_state (_route->muted() ? on : off));
|
_surface->write (_mute->led().set_state (_route->muted() ? on : off));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue