Update of /cvsroot/alsa/alsa-lib/src/rawmidi
In directory usw-pr-cvs1:/tmp/cvs-serv14387
Modified Files:
rawmidi_hw.c
Log Message:
Fixed stream info for info ioctl in open()
Index: rawmidi_hw.c
===================================================================
RCS file: /cvsroot/alsa/alsa-lib/src/rawmidi/rawmidi_hw.c,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -r1.23 -r1.24
--- rawmidi_hw.c 24 Apr 2002 08:50:44 -0000 1.23
+++ rawmidi_hw.c 22 Oct 2002 14:21:49 -0000 1.24
@@ -242,6 +242,7 @@
}
if (subdevice >= 0) {
memset(&info, 0, sizeof(info));
+ info.stream = outputp ? SNDRV_RAWMIDI_STREAM_OUTPUT :
+SNDRV_RAWMIDI_STREAM_INPUT;
if (ioctl(fd, SNDRV_RAWMIDI_IOCTL_INFO, &info) < 0) {
SYSERR("SNDRV_RAWMIDI_IOCTL_INFO failed");
ret = -errno;
-------------------------------------------------------
This sf.net emial is sponsored by: Influence the future
of Java(TM) technology. Join the Java Community
Process(SM) (JCP(SM)) program now.
http://ad.doubleclick.net/clk;4699841;7576301;v?http://www.sun.com/javavote
_______________________________________________
Alsa-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-cvslog