Commit 3a75d018 authored by Jonathan Wilkes's avatar Jonathan Wilkes

Merge branch 'aggraef/purr-data-zero-noteoff-fix'

parents 22680d90 77ed9c1d
Pipeline #1388 passed with stage
in 416 minutes and 8 seconds
......@@ -157,10 +157,7 @@ void sys_alsa_putmidimess(int portno, int a, int b, int c)
else if (a >= 144) // note
{
channel = a-144;
if (c)
snd_seq_ev_set_noteon(&ev,channel,b,c);
else
snd_seq_ev_set_noteoff(&ev,channel,b,c);
snd_seq_ev_set_noteon(&ev,channel,b,c);
}
snd_seq_ev_set_direct(&ev);
snd_seq_ev_set_subs(&ev);
......
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