mirror of
git://source.winehq.org/git/wine.git
synced 2024-07-21 08:54:09 +00:00
dmsynth: Handle pitch bend events.
This commit is contained in:
parent
b147a3c4a2
commit
beb4a09116
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue