diff options
author | Tim E. Real <termtech@rogers.com> | 2013-02-20 01:16:45 +0000 |
---|---|---|
committer | Tim E. Real <termtech@rogers.com> | 2013-02-20 01:16:45 +0000 |
commit | c3650bf9b2302e1a20853f0cadc7833370e3d0dd (patch) | |
tree | fa1a229b0928290a00f974a14104e385d42c5905 /muse2/muse/mididev.cpp | |
parent | 612acc2cd3979edf441d2f33403f6b3403c1cf05 (diff) |
MASSIVE FIXES: MANY editor, usability, operation fixes and changes.
See ChangeLog.
Diffstat (limited to 'muse2/muse/mididev.cpp')
-rw-r--r-- | muse2/muse/mididev.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/muse2/muse/mididev.cpp b/muse2/muse/mididev.cpp index 8657991f..7df443a0 100644 --- a/muse2/muse/mididev.cpp +++ b/muse2/muse/mididev.cpp @@ -236,7 +236,7 @@ void MidiDevice::recordEvent(MidiRecordEvent& event) event.setLoopNum(MusEGlobal::audio->loopCount()); if (MusEGlobal::midiInputTrace) { - printf("MidiInput: "); + fprintf(stderr, "MidiInput: "); event.dump(); } @@ -288,7 +288,7 @@ void MidiDevice::recordEvent(MidiRecordEvent& event) if (!applyMidiInputTransformation(event)) { if (MusEGlobal::midiInputTrace) - printf(" midi input transformation: event filtered\n"); + fprintf(stderr, " midi input transformation: event filtered\n"); return; } @@ -313,7 +313,7 @@ void MidiDevice::recordEvent(MidiRecordEvent& event) // Split the events up into channel fifos. Special 'channel' number 17 for sysex events. unsigned int ch = (typ == ME_SYSEX)? MIDI_CHANNELS : event.channel(); if(_recordFifo[ch].put(event)) - printf("MidiDevice::recordEvent: fifo channel %d overflow\n", ch); + fprintf(stderr, "MidiDevice::recordEvent: fifo channel %d overflow\n", ch); } //--------------------------------------------------------- @@ -530,7 +530,7 @@ bool MidiDevice::putEvent(const MidiPlayEvent& ev) sendNullRPNParams(t, port, chn, true); } else { - printf("putEvent: unknown controller type 0x%x\n", a); + fprintf(stderr, "putEvent: unknown controller type 0x%x\n", a); } return false; #endif |