ZynAddSubFX: made MIDI pitch bend work

Always send MIDI pitch bend events to MIDI channel 0 for the time being.
Makes MIDI pitch wheel work with ZynAddSubFX.
(cherry picked from commit 9873b880e2)
This commit is contained in:
Tobias Doerffel
2009-04-18 12:47:02 +02:00
parent 601b6c7c59
commit 9009d745e9

View File

@@ -169,7 +169,7 @@ public:
}
break;
case MidiPitchBend:
master->SetController( _e.m_channel,
master->SetController( 0,
C_pitchwheel,
_e.m_data.m_param[0] +
_e.m_data.m_param[1]*128-8192 );