Commit 8f3980fc authored by Rémi Bernon's avatar Rémi Bernon Committed by Alexandre Julliard

dmsynth: Reset synthesizer defaults on MIDI_SYSTEM_RESET.

parent 051418c0
......@@ -1125,7 +1125,9 @@ static HRESULT WINAPI synth_Render(IDirectMusicSynth8 *iface, short *buffer,
TRACE("status %#x chan %#x midi %#x %#x\n", status, chan, event->midi[1], event->midi[2]);
switch (status)
if (event->midi[0] == MIDI_SYSTEM_RESET)
synth_reset_default_values(This);
else switch (status)
{
case MIDI_NOTE_OFF:
fluid_synth_noteoff(This->fluid_synth, chan, event->midi[1]);
......
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