Update of /cvsroot/alsa/alsa-lib/test
In directory sc8-pr-cvs1:/tmp/cvs-serv22905

Modified Files:
        seq-decoder.c 
Log Message:
Decoder is now generic MIDI device

Index: seq-decoder.c
===================================================================
RCS file: /cvsroot/alsa/alsa-lib/test/seq-decoder.c,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- seq-decoder.c       12 Mar 2002 20:14:35 -0000      1.14
+++ seq-decoder.c       11 Mar 2003 20:34:28 -0000      1.15
@@ -275,6 +275,7 @@
                fprintf(stderr, "Cannot set nonblock mode: %s\n", snd_strerror(err));
        snd_seq_port_info_alloca(&pinfo);
        snd_seq_port_info_set_name(pinfo, "Input");
+       snd_seq_port_info_set_type(pinfo, SND_SEQ_PORT_TYPE_MIDI_GENERIC);
        snd_seq_port_info_set_capability(pinfo, SND_SEQ_PORT_CAP_WRITE | 
SND_SEQ_PORT_CAP_READ | SND_SEQ_PORT_CAP_SUBS_WRITE);
        if ((err = snd_seq_create_port(handle, pinfo)) < 0) {
                fprintf(stderr, "Cannot create input port: %s\n", snd_strerror(err));



-------------------------------------------------------
This SF.net email is sponsored by:Crypto Challenge is now open! 
Get cracking and register here for some mind boggling fun and 
the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
_______________________________________________
Alsa-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-cvslog

Reply via email to