a few post-rebase cleanups
authorPaul Davis <paul@linuxaudiosystems.com>
Wed, 6 Jul 2016 18:03:24 +0000 (14:03 -0400)
committerPaul Davis <paul@linuxaudiosystems.com>
Wed, 6 Jul 2016 18:03:24 +0000 (14:03 -0400)
libs/ardour/session.cc
libs/surfaces/control_protocol/control_protocol.cc
libs/surfaces/osc/osc.cc

index a910cf996a3276aae5285f98203c033a7784b149..767971fe722414d1aa2ae8b339e23e52570ef127 100644 (file)
@@ -148,7 +148,6 @@ PBD::Signal0<void> Session::Quit;
 PBD::Signal0<void> Session::FeedbackDetected;
 PBD::Signal0<void> Session::SuccessfulGraphSort;
 PBD::Signal2<void,std::string,std::string> Session::VersionMismatch;
-PBD::Signal0<void> Session::EditorMixerChanged;
 
 const framecnt_t Session::bounce_chunk_size = 8192;
 static void clean_up_session_event (SessionEvent* ev) { delete ev; }
index 4d578409c33c8af57f0b880725e8f849d1a4a898..8accb99ea28b7dc23fa3bc02fa36a8a79d0c798d 100644 (file)
@@ -371,6 +371,4 @@ ControlProtocol::stripable_selection_changed (StripableNotificationListPtr sp)
                        _first_selected_stripable = boost::weak_ptr<Stripable>();
                }
        }
-
-       cerr << "CP: selection now " << _last_selected.size() << endl;
 }
index b199b64f84fe26c843bf1d022a2e538b946a9849..f9d4f7dc5703965acbb9caead77cd3b17e109aaf 100644 (file)
@@ -249,8 +249,8 @@ OSC::start ()
        periodic_connection = periodic_timeout->connect (sigc::mem_fun (*this, &OSC::periodic));
        periodic_timeout->attach (main_loop()->get_context());
 
-       // catch current editor mixer changes for GUI_select mode
-       session->EditorMixerChanged.connect (session_connections, MISSING_INVALIDATOR, boost::bind (&OSC::gui_selection_changed, this), this);
+       // catch changes to selection for GUI_select mode
+       StripableSelectionChanged.connect (session_connections, MISSING_INVALIDATOR, boost::bind (&OSC::gui_selection_changed, this), this);
 
        // catch track reordering
        // receive routes added
@@ -2081,7 +2081,7 @@ OSC::strip_gui_select (int ssid, int yn, lo_message msg)
        sur->expand_enable = false;
        boost::shared_ptr<Stripable> s = get_strip (ssid, lo_message_get_source (msg));
        if (s) {
-               session->set_stripable_selection (s);
+               SetStripableSelection (s);
        } else {
                route_send_fail ("select", ssid, 0, lo_message_get_source (msg));
        }