From 2c2ce7aa55f8878b86d648347af91c533e707394 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Fri, 14 Oct 2016 12:30:04 -0400 Subject: [PATCH] convert cerr<< to DEBUG_TRACE --- libs/ardour/audioengine.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; } }