mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 07:14:56 +01:00
Ctrl Surfaces: update bound controllables
Note: this only affects surfaces that use mapped_controls, and do not already subscribe to processors_changed/RouteProcessorChange signal.
This commit is contained in:
parent
c3ec93997c
commit
bfb22e2acc
8 changed files with 29 additions and 3 deletions
|
|
@ -980,7 +980,7 @@ GenericMidiControlProtocol::reset_controllables ()
|
|||
}
|
||||
|
||||
std::shared_ptr<Controllable>
|
||||
GenericMidiControlProtocol::lookup_controllable (const string & str) const
|
||||
GenericMidiControlProtocol::lookup_controllable (const string & str, MIDIControllable& mc) const
|
||||
{
|
||||
std::shared_ptr<Controllable> c;
|
||||
|
||||
|
|
@ -1394,6 +1394,7 @@ GenericMidiControlProtocol::lookup_controllable (const string & str) const
|
|||
|
||||
if (c) {
|
||||
DEBUG_TRACE (DEBUG::GenericMidi, string_compose ("found controllable \"%1\"\n", c->name()));
|
||||
mc.bind_remap (r);
|
||||
} else {
|
||||
DEBUG_TRACE (DEBUG::GenericMidi, "no controllable found\n");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue