Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
nerrons
purr-data
Commits
3a75d018
Commit
3a75d018
authored
Sep 22, 2018
by
Jonathan Wilkes
Browse files
Merge branch 'aggraef/purr-data-zero-noteoff-fix'
parents
22680d90
77ed9c1d
Changes
1
Hide whitespace changes
Inline
Side-by-side
pd/src/s_midi_alsa.c
View file @
3a75d018
...
...
@@ -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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment