All of lore.kernel.org
 help / color / mirror / Atom feed
* midi fix for envy24control
@ 2004-12-23 20:07 Dirk Jagdmann
  2004-12-27 14:55 ` Takashi Iwai
  0 siblings, 1 reply; 2+ messages in thread
From: Dirk Jagdmann @ 2004-12-23 20:07 UTC (permalink / raw)
  To: alsa-devel

[-- Attachment #1: Type: text/plain, Size: 244 bytes --]

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.

-- 
---> doj / cubic
----> http://cubic.org/~doj
-----> http://llg.cubic.org

[-- Attachment #2: envy24control-midi.diff --]
[-- Type: text/plain, Size: 488 bytes --]

? envy24control-midi.diff
Index: midi.c
===================================================================
RCS file: /cvsroot/alsa/alsa-tools/envy24control/midi.c,v
retrieving revision 1.1
diff -u -r1.1 midi.c
--- midi.c	17 Nov 2004 11:41:57 -0000	1.1
+++ midi.c	23 Dec 2004 20:04:59 -0000
@@ -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);

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: midi fix for envy24control
  2004-12-23 20:07 midi fix for envy24control Dirk Jagdmann
@ 2004-12-27 14:55 ` Takashi Iwai
  0 siblings, 0 replies; 2+ messages in thread
From: Takashi Iwai @ 2004-12-27 14:55 UTC (permalink / raw)
  To: Dirk Jagdmann; +Cc: alsa-devel

At Thu, 23 Dec 2004 21:07:24 +0100,
Dirk Jagdmann wrote:
> 
> 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/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-12-27 14:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-12-23 20:07 midi fix for envy24control Dirk Jagdmann
2004-12-27 14:55 ` Takashi Iwai

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.