summaryrefslogtreecommitdiff
path: root/muse2/muse/driver/alsamidi.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'muse2/muse/driver/alsamidi.cpp')
-rw-r--r--muse2/muse/driver/alsamidi.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/muse2/muse/driver/alsamidi.cpp b/muse2/muse/driver/alsamidi.cpp
index e3e71365..d8b3a947 100644
--- a/muse2/muse/driver/alsamidi.cpp
+++ b/muse2/muse/driver/alsamidi.cpp
@@ -426,8 +426,8 @@ bool MidiAlsaDevice::putMidiEvent(const MidiPlayEvent& e)
event.type = SND_SEQ_EVENT_STOP;
break;
default:
- printf("MidiAlsaDevice::putEvent(): event type %d not implemented\n",
- e.type());
+ if(MusEGlobal::debugMsg)
+ printf("MidiAlsaDevice::putEvent(): event type %d not implemented\n", e.type());
return true;
}
return putEvent(&event);