From 650ee5a3178960c394c29750f69122398b59fd38 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Mon, 18 Jan 2016 15:53:28 -0500 Subject: [PATCH] use cout instead of cerr, since this debugging is for windows --- libs/ardour/midi_ui.cc | 6 +++--- libs/midi++2/ipmidi_port.cc | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/libs/ardour/midi_ui.cc b/libs/ardour/midi_ui.cc index 8d924350bf..6b629aabd5 100644 --- a/libs/ardour/midi_ui.cc +++ b/libs/ardour/midi_ui.cc @@ -85,9 +85,9 @@ bool MidiControlUI::midi_input_handler (IOCondition ioc, boost::shared_ptr port) { DEBUG_TRACE (DEBUG::MidiIO, string_compose ("something happend on %1\n", boost::shared_ptr (port)->name())); - cerr << "Something happened on " << boost::shared_ptr (port)->name() << " ioc = " << hex << ioc << dec << endl; + cout << "Something happened on " << boost::shared_ptr (port)->name() << " ioc = " << hex << ioc << dec << endl; if (ioc & ~IO_IN) { - cerr << "....no input ... do nothing\n"; + cout << "....no input ... do nothing" << endl; return false; } @@ -95,7 +95,7 @@ MidiControlUI::midi_input_handler (IOCondition ioc, boost::shared_ptrclear (); DEBUG_TRACE (DEBUG::MidiIO, string_compose ("data available on %1\n", boost::shared_ptr(port)->name())); - cerr << "....input appears ready\n"; + cout << "....input appears ready\n"; framepos_t now = _session.engine().sample_time(); port->parse (now); } diff --git a/libs/midi++2/ipmidi_port.cc b/libs/midi++2/ipmidi_port.cc index 7e3eb5e0dd..6955bd9f86 100644 --- a/libs/midi++2/ipmidi_port.cc +++ b/libs/midi++2/ipmidi_port.cc @@ -302,7 +302,7 @@ IPMIDIPort::parse (framecnt_t timestamp) int r = ::recvfrom (sockin, (char *) buf, sizeof(buf), 0, (struct sockaddr *) &sender, &slen); if (r != 18) { - cerr << "IPMIDI: received from socket: " << r << endl; + cout << "IPMIDI: received from socket: " << r << endl; } if (r >= 0) { -- 2.30.2