Update of /cvsroot/alsa/alsa-kernel/core/seq
In directory sc8-pr-cvs1:/tmp/cvs-serv16406/core/seq
Modified Files:
seq_ports.c seq_ports.h
Log Message:
set the valid midi_voices field of sequencer port info.
Index: seq_ports.c
===================================================================
RCS file: /cvsroot/alsa/alsa-kernel/core/seq/seq_ports.c,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- seq_ports.c 5 Feb 2003 11:07:51 -0000 1.12
+++ seq_ports.c 28 Feb 2003 15:08:20 -0000 1.13
@@ -351,6 +351,7 @@
/* information about supported channels/voices */
port->midi_channels = info->midi_channels;
+ port->midi_voices = info->midi_voices;
port->synth_voices = info->synth_voices;
return 0;
@@ -372,6 +373,7 @@
/* information about supported channels/voices */
info->midi_channels = port->midi_channels;
+ info->midi_voices = port->midi_voices;
info->synth_voices = port->synth_voices;
/* get subscriber counts */
@@ -611,7 +613,7 @@
int snd_seq_event_port_attach(int client,
snd_seq_port_callback_t *pcbp,
int cap, int type, int midi_channels,
- char *portname)
+ int midi_voices, char *portname)
{
snd_seq_port_info_t portinfo;
int ret;
@@ -628,6 +630,7 @@
portinfo.type = type;
portinfo.kernel = pcbp;
portinfo.midi_channels = midi_channels;
+ portinfo.midi_voices = midi_voices;
/* Create it */
ret = snd_seq_kernel_client_ctl(client,
Index: seq_ports.h
===================================================================
RCS file: /cvsroot/alsa/alsa-kernel/core/seq/seq_ports.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- seq_ports.h 30 Dec 2001 09:26:45 -0000 1.2
+++ seq_ports.h 28 Feb 2003 15:08:21 -0000 1.3
@@ -81,6 +81,7 @@
/* supported channels */
int midi_channels;
+ int midi_voices;
int synth_voices;
} client_port_t;
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Alsa-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-cvslog