more Faderport debugging, for windows
authorBen Loftis <ben@harrisonconsoles.com>
Sat, 5 Dec 2015 00:11:05 +0000 (18:11 -0600)
committerBen Loftis <ben@harrisonconsoles.com>
Sat, 5 Dec 2015 00:11:05 +0000 (18:11 -0600)
libs/surfaces/faderport/faderport.cc

index 4812f5542059baea5d258451645506e52b25edba..cf8cd2eff2a301ff1c14ac3cd9ee4361ffa9a19a 100644 (file)
@@ -769,6 +769,7 @@ FaderPort::set_state (const XMLNode& node, int version)
 bool
 FaderPort::connection_handler (boost::weak_ptr<ARDOUR::Port>, std::string name1, boost::weak_ptr<ARDOUR::Port>, std::string name2, bool yn)
 {
+       DEBUG_TRACE (DEBUG::FaderPort, "FaderPort::connection_handler  start\n");
        if (!_input_port || !_output_port) {
                return false;
        }
@@ -789,6 +790,7 @@ FaderPort::connection_handler (boost::weak_ptr<ARDOUR::Port>, std::string name1,
                        connection_state &= ~OutputConnected;
                }
        } else {
+               DEBUG_TRACE (DEBUG::FaderPort, string_compose ("Connections between %1 and %2 changed, but I ignored it\n", name1, name2));
                /* not our ports */
                return false;
        }
@@ -810,6 +812,8 @@ FaderPort::connection_handler (boost::weak_ptr<ARDOUR::Port>, std::string name1,
 
        ConnectionChange (); /* emit signal for our GUI */
 
+       DEBUG_TRACE (DEBUG::FaderPort, "FaderPort::connection_handler  end\n");
+
        return true; /* connection status changed */
 }