All of lore.kernel.org
 help / color / mirror / Atom feed
From: Dirk Jagdmann <doj@cubic.org>
To: alsa-devel@lists.sourceforge.net
Subject: midi fix for envy24control
Date: Thu, 23 Dec 2004 21:07:24 +0100	[thread overview]
Message-ID: <41CB257C.30807@cubic.org> (raw)

[-- 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);

             reply	other threads:[~2004-12-23 20:07 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-12-23 20:07 Dirk Jagdmann [this message]
2004-12-27 14:55 ` midi fix for envy24control Takashi Iwai

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=41CB257C.30807@cubic.org \
    --to=doj@cubic.org \
    --cc=alsa-devel@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.