Mercurial > hg > svcore
diff data/midi/MIDIInput.cpp @ 689:573d45e9487b
Merge from debug-output branch
author | Chris Cannam |
---|---|
date | Tue, 14 Jun 2011 14:47:59 +0100 |
parents | 06f13a3b9e9e |
children | 1424aa29ae95 |
line wrap: on
line diff
--- a/data/midi/MIDIInput.cpp Tue Jun 14 13:43:03 2011 +0100 +++ b/data/midi/MIDIInput.cpp Tue Jun 14 14:47:59 2011 +0100 @@ -50,7 +50,7 @@ void MIDIInput::callback(double timestamp, std::vector<unsigned char> *message) { - std::cerr << "MIDIInput::callback(" << timestamp << ")" << std::endl; + DEBUG << "MIDIInput::callback(" << timestamp << ")" << endl; // In my experience so far, the timings passed to this function // are not reliable enough to use. We request instead an audio // frame time from whatever FrameTimer we have been given, and use @@ -84,7 +84,7 @@ return; } std::cerr << "WARNING: MIDIInput::postEvent: MIDI event queue (capacity " << m_buffer.getSize() << " is full!" << std::endl; - std::cerr << "Waiting for something to be processed" << std::endl; + DEBUG << "Waiting for something to be processed" << endl; #ifdef _WIN32 Sleep(1); #else