Skip to content
Snippets Groups Projects
Commit 3a75d018 authored by Jonathan Wilkes's avatar Jonathan Wilkes
Browse files

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

parents 22680d90 77ed9c1d
No related branches found
No related tags found
No related merge requests found
Pipeline #1388 passed
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment