From alsa-devel-owner@alsa.jcu.cz  Fri Jan 15 21:19:03 1999
Received: from smaux.kusm.kyoto-u.ac.jp (smaux.kusm.kyoto-u.ac.jp [130.54.53.12])
	by marvin.jcu.cz (8.9.1a/8.9.1) with SMTP id VAA08962
	for <alsa-devel@alsa.jcu.cz>; Fri, 15 Jan 1999 21:17:29 +0100
Received: (qmail 26636 invoked from network); 16 Jan 1999 05:17:27 +0900
Received: from ray.kusm.kyoto-u.ac.jp (130.54.53.49)
  by smaux.kusm.kyoto-u.ac.jp with SMTP; 16 Jan 1999 05:17:27 +0900
Received: (qmail 28340 invoked by uid 2161); 15 Jan 1999 20:17:26 -0000
Message-ID: <19990116051726.A28325@ray.kusm.kyoto-u.ac.jp>
Date: Sat, 16 Jan 1999 05:17:26 +0900
From: Yamahata Isaku <yamahata@kusm.kyoto-u.ac.jp>
To: alsa-devel@alsa.jcu.cz
Subject: [patch] seq_midi.c
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Reply-To: alsa-devel@alsa.jcu.cz
Sender: alsa-devel-owner@alsa.jcu.cz
Precedence: list

Hi. I fixed a bug in alsa-driver/kernel/seq/seq_midi.c
Here is the patch.

--- seq_midi.c.orig     Sat Jan 16 05:09:40 1999
+++ seq_midi.c  Sat Jan 16 05:11:01 1999
@@ -741,7 +741,7 @@
        if (info.flags & SND_RAWMIDI_INFO_OUTPUT)
                port.capability |= SND_SEQ_PORT_CAP_OUT | SND_SEQ_PORT_CAP_SYNC_OUT;
        if (info.flags & SND_RAWMIDI_INFO_INPUT)
-               port.capability |= SND_SEQ_PORT_CAP_OUT | SND_SEQ_PORT_CAP_SYNC_OUT;
+               port.capability |= SND_SEQ_PORT_CAP_IN | SND_SEQ_PORT_CAP_SYNC_IN;
        if (info.flags & SND_RAWMIDI_INFO_DUPLEX)
                port.capability |= SND_SEQ_PORT_CAP_DUPLEX;
        port.type = SND_SEQ_PORT_TYPE_MIDI_GENERIC;


---
Isaku Yamahata
yamahata@kusm.kyoto-u.ac.jp
CQG00274@nifty.ne.jp
http://www.kusm.kyoto-u.ac.jp/%7Eyamahata/
  

