summaryrefslogtreecommitdiff
path: root/libs
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2016-06-05 16:32:54 -0400
committerPaul Davis <paul@linuxaudiosystems.com>2016-06-05 16:33:02 -0400
commit91ad3ef81d94d4108c971b8c9f7a226293d57cfc (patch)
tree9bb4143796f29213ef6ebeb6c1078c54750a3dc2 /libs
parentdfcc8fd547f66bca7820879addb1dea38de906e9 (diff)
don't connect to individual PresentationInfo signals per Stripable; we only reorder strips once, when the global signal arrives
Diffstat (limited to 'libs')
-rw-r--r--libs/surfaces/mackie/mackie_control_protocol.cc13
1 files changed, 1 insertions, 12 deletions
diff --git a/libs/surfaces/mackie/mackie_control_protocol.cc b/libs/surfaces/mackie/mackie_control_protocol.cc
index f9b8f47802..89719d03e9 100644
--- a/libs/surfaces/mackie/mackie_control_protocol.cc
+++ b/libs/surfaces/mackie/mackie_control_protocol.cc
@@ -718,10 +718,6 @@ MackieControlProtocol::connect_session_signals()
// make sure remote id changed signals reach here
// see also notify_stripable_added
Sorted sorted = get_sorted_stripables();
-
- for (Sorted::iterator it = sorted.begin(); it != sorted.end(); ++it) {
- (*it)->PresentationInfoChanged.connect (stripable_connections, MISSING_INVALIDATOR, boost::bind (&MackieControlProtocol::notify_presentation_info_changed, this), this);
- }
}
void
@@ -1279,13 +1275,6 @@ MackieControlProtocol::notify_routes_added (ARDOUR::RouteList & rl)
refresh_current_bank();
// otherwise route added, but current bank needs no updating
-
- // make sure presentation info changes in the new stripables are handled
- typedef ARDOUR::RouteList ARS;
-
- for (ARS::iterator it = rl.begin(); it != rl.end(); ++it) {
- (*it)->PresentationInfoChanged.connect (stripable_connections, MISSING_INVALIDATOR, boost::bind (&MackieControlProtocol::notify_presentation_info_changed, this), this);
- }
}
void
@@ -1313,7 +1302,7 @@ MackieControlProtocol::notify_solo_active_changed (bool active)
}
void
-MackieControlProtocol::notify_presentation_info_changed()
+MackieControlProtocol::notify_presentation_info_changed ()
{
{
Glib::Threads::Mutex::Lock lm (surfaces_lock);