aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sound/mididrv.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/sound/mididrv.cpp b/sound/mididrv.cpp
index 48fa185037..62ca5bd695 100644
--- a/sound/mididrv.cpp
+++ b/sound/mididrv.cpp
@@ -1212,7 +1212,9 @@ void MidiDriver_ALSA::send(uint32 b)
break;
case 0xE0:{
- long theBend = ((((long)midiCmd[1] + (long)(midiCmd[2] << 7))) - 0x2000) / 4;
+ // long theBend = ((((long)midiCmd[1] + (long)(midiCmd[2] << 7))) - 0x2000) / 4;
+ // snd_seq_ev_set_pitchbend(&ev, chanID, theBend);
+ long theBend = (long)midiCmd[1] + (long)(midiCmd[2] << 7);
snd_seq_ev_set_pitchbend(&ev, chanID, theBend);
send_event(1);
}