use cout instead of cerr, since this debugging is for windows
authorPaul Davis <paul@linuxaudiosystems.com>
Mon, 18 Jan 2016 20:53:28 +0000 (15:53 -0500)
committerPaul Davis <paul@linuxaudiosystems.com>
Mon, 18 Jan 2016 20:53:28 +0000 (15:53 -0500)
libs/ardour/midi_ui.cc
libs/midi++2/ipmidi_port.cc

index 8d924350bf680b55050c7b43d8a50af6a91edaee..6b629aabd5b221ec3e71a4ffdf42f36b9d8eb867 100644 (file)
@@ -85,9 +85,9 @@ bool
 MidiControlUI::midi_input_handler (IOCondition ioc, boost::shared_ptr<AsyncMIDIPort> port)
 {
        DEBUG_TRACE (DEBUG::MidiIO, string_compose ("something happend on  %1\n", boost::shared_ptr<ARDOUR::Port> (port)->name()));
-       cerr << "Something happened on " << boost::shared_ptr<ARDOUR::Port> (port)->name() << " ioc = " << hex << ioc << dec << endl;
+       cout << "Something happened on " << boost::shared_ptr<ARDOUR::Port> (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_ptr<AsyncMIDIP
 
                port->clear ();
                DEBUG_TRACE (DEBUG::MidiIO, string_compose ("data available on %1\n", boost::shared_ptr<ARDOUR::Port>(port)->name()));
-               cerr << "....input appears ready\n";
+               cout << "....input appears ready\n";
                framepos_t now = _session.engine().sample_time();
                port->parse (now);
        }
index 7e3eb5e0dd0ec74f7b8fa911c5cb39b9a299bdbb..6955bd9f86ab9c8506201039f039c997455a4118 100644 (file)
@@ -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) {