summaryrefslogtreecommitdiff
path: root/muse2/muse/mididev.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'muse2/muse/mididev.cpp')
-rw-r--r--muse2/muse/mididev.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/muse2/muse/mididev.cpp b/muse2/muse/mididev.cpp
index 5ff8bf94..9f303e43 100644
--- a/muse2/muse/mididev.cpp
+++ b/muse2/muse/mididev.cpp
@@ -445,8 +445,6 @@ bool MidiDevice::putEvent(const MidiPlayEvent& ev)
return putMidiEvent(MidiPlayEvent(0, 0, chn, ME_PITCHBEND, b, 0));
}
if (a == CTRL_PROGRAM) {
- // don't output program changes for GM drum channel
- if (!(MusEGlobal::song->mtype() == MT_GM && chn == 9)) {
int hb = (b >> 16) & 0xff;
int lb = (b >> 8) & 0xff;
int pr = b & 0x7f;
@@ -455,8 +453,6 @@ bool MidiDevice::putEvent(const MidiPlayEvent& ev)
if (lb != 0xff)
putMidiEvent(MidiPlayEvent(0, 0, chn, ME_CONTROLLER, CTRL_LBANK, lb));
return putMidiEvent(MidiPlayEvent(0, 0, chn, ME_PROGRAM, pr, 0));
- }
- return false; // Should absorb anyway and return, right? p4.0.48 Tim.
}
#if 1 // if ALSA cannot handle RPN NRPN etc. DELETETHIS? remove the wrapping #if #endif