Anton Baskanov : dmsynth: Handle pitch bend events.
Module: wine Branch: master Commit: beb4a09116eabab41f20edd521edc3f398811f63 URL: https://gitlab.winehq.org/wine/wine/-/commit/beb4a09116eabab41f20edd521edc3f... Author: Anton Baskanov <baskanov(a)gmail.com> Date: Mon Oct 23 12:59:50 2023 +0700 dmsynth: Handle pitch bend events. --- dlls/dmsynth/synth.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dlls/dmsynth/synth.c b/dlls/dmsynth/synth.c index 31adf3df1c1..2b0c5b45ea5 100644 --- a/dlls/dmsynth/synth.c +++ b/dlls/dmsynth/synth.c @@ -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;
participants (1)
-
Alexandre Julliard