From e3d2898c8d6cbdc8303cd6f871e2c7904417c65e Mon Sep 17 00:00:00 2001 From: Ben Loftis Date: Fri, 4 Dec 2015 18:11:05 -0600 Subject: [PATCH] more Faderport debugging, for windows --- libs/surfaces/faderport/faderport.cc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libs/surfaces/faderport/faderport.cc b/libs/surfaces/faderport/faderport.cc index 4812f55420..cf8cd2eff2 100644 --- a/libs/surfaces/faderport/faderport.cc +++ b/libs/surfaces/faderport/faderport.cc @@ -769,6 +769,7 @@ FaderPort::set_state (const XMLNode& node, int version) bool FaderPort::connection_handler (boost::weak_ptr, std::string name1, boost::weak_ptr, 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, 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, std::string name1, ConnectionChange (); /* emit signal for our GUI */ + DEBUG_TRACE (DEBUG::FaderPort, "FaderPort::connection_handler end\n"); + return true; /* connection status changed */ }