Commit beb4a091 authored by Anton Baskanov's avatar Anton Baskanov Committed by Alexandre Julliard

dmsynth: Handle pitch bend events.

parent b147a3c4
......@@ -1080,6 +1080,9 @@ static HRESULT WINAPI synth_Render(IDirectMusicSynth8 *iface, short *buffer,
case MIDI_PROGRAM_CHANGE:
fluid_synth_program_change(This->fluid_synth, chan, event->midi[1]);
break;
case MIDI_PITCH_BEND_CHANGE:
fluid_synth_pitch_bend(This->fluid_synth, chan, event->midi[1] | (event->midi[2] << 7));
break;
default:
FIXME("MIDI event not implemented: %#x %#x %#x\n", event->midi[0], event->midi[1], event->midi[2]);
break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment