From: Paul Davis Date: Fri, 14 Oct 2016 16:30:04 +0000 (-0400) Subject: convert cerr<< to DEBUG_TRACE X-Git-Tag: 5.5~340 X-Git-Url: https://git.carlh.net/gitweb/?a=commitdiff_plain;h=2c2ce7aa55f8878b86d648347af91c533e707394;p=ardour.git convert cerr<< to DEBUG_TRACE --- diff --git a/libs/ardour/audioengine.cc b/libs/ardour/audioengine.cc index cbae19ff51..0eba97429b 100644 --- a/libs/ardour/audioengine.cc +++ b/libs/ardour/audioengine.cc @@ -1486,13 +1486,13 @@ void AudioEngine::add_pending_port_deletion (Port* p) { if (_session) { - std::cerr << "Adding " << p->name() << " to pending port deletion list\n"; + DEBUG_TRACE (DEBUG::Ports, string_compose ("adding %1 to pending port deletion list\n", p->name())); if (_port_deletions_pending.write (&p, 1) != 1) { error << string_compose (_("programming error: port %1 could not be placed on the pending deletion queue\n"), p->name()) << endmsg; } _session->auto_connect_thread_wakeup (); } else { - std::cerr << "Directly delete port\n"; + DEBUG_TRACE (DEBUG::Ports, string_compose ("Directly delete port %1\n", p->name())); delete p; } }