Revert "libs: debug output for faderport/editor mixer strip sync"
authorPaul Davis <paul@linuxaudiosystems.com>
Sat, 25 Feb 2017 18:56:51 +0000 (19:56 +0100)
committerPaul Davis <paul@linuxaudiosystems.com>
Sat, 25 Feb 2017 18:56:51 +0000 (19:56 +0100)
This reverts commit 6fb91b1ac25bbeb282228822efbdc91b62941f6e.

libs/surfaces/control_protocol/control_protocol.cc
libs/surfaces/faderport/faderport.cc

index a77223bcc89e6ee16fe8406149c9975ccd58601a..36131e0b9e704a6ab7fb8135dce87b2f1e4beb55 100644 (file)
@@ -371,11 +371,6 @@ ControlProtocol::set_first_selected_stripable (boost::shared_ptr<Stripable> s)
 {
        Glib::Threads::Mutex::Lock lm (special_stripable_mutex);
        _first_selected_stripable = s;
-       if (s) {
-               std::cerr << "control protocol now has first selected as " << s->name() << endl;
-       } else {
-               std::cerr << "control protocol: first selected unset\n";
-       }
 }
 
 void
index 1b3e4a3ac8dd3e6db240d376c77a69a232636cd4..5da4ecdd3c8cae8cae34c12ff7bb8199c568999a 100644 (file)
@@ -1115,12 +1115,7 @@ FaderPort::Button::get_state () const
 void
 FaderPort::gui_track_selection_changed (StripableNotificationListPtr stripables)
 {
-       boost::shared_ptr<Stripable> s = ControlProtocol::first_selected_stripable();
-       cerr << "Faderport: GUI track selection changed, first = "
-            << (s ? s->name() : " --none-- ")
-            << endl;
-
-       set_current_stripable (s);
+       set_current_stripable (ControlProtocol::first_selected_stripable());
 }
 
 void