mirror of
https://github.com/alsa-project/alsa-tools.git
synced 2025-10-29 05:40:25 -04:00
Fix the abort with MIDI control
From Dirk Jagdmann <doj@cubic.org> Hello developers, I just gave the latest CVS version of envy24control a try and had to add this simple patch, so it would not abort upon program start immediately.
This commit is contained in:
parent
a382aa1a82
commit
d16f4c79f3
1 changed files with 1 additions and 0 deletions
|
|
@ -55,6 +55,7 @@ int midi_close()
|
|||
static void do_controller(int c, int v)
|
||||
{
|
||||
snd_seq_event_t ev;
|
||||
if(!seq) return;
|
||||
snd_seq_ev_clear(&ev);
|
||||
snd_seq_ev_set_source(&ev, port);
|
||||
snd_seq_ev_set_subs(&ev);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue