Skip to contentSkip to conversation

midi fix for envy24control

PATCH Applied Dirk Jagdmann 2 participants 2 messages Dec 23, 2004 – Dec 27, 2004

lore
Share & tools
lore
#0 lore raw

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.

Signature · 3 lines
---> doj / cubic
----> http://cubic.org/~doj
-----> http://llg.cubic.org

? envy24control-midi.diff
Index: midi.c
===================================================================
RCS file: /cvsroot/alsa/alsa-tools/envy24control/midi.c,v retrieving revision 1.1

midi.c +1 -0
diff -u -r1.1 midi.c
@@ -55,6 +55,7 @@
 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);
Applied
#1 lore raw

At Thu, 23 Dec 2004 21:07:24 +0100,

Quoted 5 lines · Dirk Jagdmann

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.

Thanks, applied to CVS now.

Takashi

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/