comparison 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
comparison
equal deleted inserted replaced
686:b4a8d8221eaf 687:06f13a3b9e9e
759 #endif 759 #endif
760 break; 760 break;
761 761
762 case SND_SEQ_EVENT_PORT_UNSUBSCRIBED: 762 case SND_SEQ_EVENT_PORT_UNSUBSCRIBED:
763 #if defined(__RTMIDI_DEBUG__) 763 #if defined(__RTMIDI_DEBUG__)
764 std::cerr << "RtMidiIn::alsaMidiHandler: port connection has closed!\n"; 764 DEBUG << "RtMidiIn::alsaMidiHandler: port connection has closed!\n";
765 // FIXME: this is called for all unsubscribe events, even ones 765 // FIXME: this is called for all unsubscribe events, even ones
766 //not related to this particular connection. As it stands, I 766 //not related to this particular connection. As it stands, I
767 //see no data provided in the "source" and "dest" fields so 767 //see no data provided in the "source" and "dest" fields so
768 //there is nothing we can do about this at this time. 768 //there is nothing we can do about this at this time.
769 // std::cout << "sender = " << ev->source.client << ", dest = " << ev->dest.port << std::endl; 769 // std::cout << "sender = " << ev->source.client << ", dest = " << ev->dest.port << endl;
770 #endif 770 #endif
771 //data->doInput = false; 771 //data->doInput = false;
772 break; 772 break;
773 773
774 case SND_SEQ_EVENT_QFRAME: // MIDI time code 774 case SND_SEQ_EVENT_QFRAME: // MIDI time code