Mercurial > hg > svcore
diff data/midi/rtmidi/RtMidi.cpp @ 687:06f13a3b9e9e debug-output
Convert many cerrs to DEBUGs
author | Chris Cannam |
---|---|
date | Mon, 16 May 2011 17:19:09 +0100 |
parents | 1a30913e26bc |
children | 1424aa29ae95 |
line wrap: on
line diff
--- a/data/midi/rtmidi/RtMidi.cpp Thu May 12 17:31:24 2011 +0100 +++ b/data/midi/rtmidi/RtMidi.cpp Mon May 16 17:19:09 2011 +0100 @@ -761,12 +761,12 @@ case SND_SEQ_EVENT_PORT_UNSUBSCRIBED: #if defined(__RTMIDI_DEBUG__) - std::cerr << "RtMidiIn::alsaMidiHandler: port connection has closed!\n"; + DEBUG << "RtMidiIn::alsaMidiHandler: port connection has closed!\n"; // FIXME: this is called for all unsubscribe events, even ones //not related to this particular connection. As it stands, I //see no data provided in the "source" and "dest" fields so //there is nothing we can do about this at this time. - // std::cout << "sender = " << ev->source.client << ", dest = " << ev->dest.port << std::endl; + // std::cout << "sender = " << ev->source.client << ", dest = " << ev->dest.port << endl; #endif //data->doInput = false; break;