miltiple midi input ports

Tom Schouten tom at zzz.kotnet.org
Thu Jan 11 02:09:40 CET 2001


hi,

i have the following problem:
when i use multiple midi-in ports, the midiin object only receives
messages from the first port. output works fine to the other ports
though..

i found this line in s_linux_midi_io.c in function 
int midi_instat(MIDIPort *mp)   

FD_SET(mproot->devhandle,&midi_rfds);

which i thought was the problem, since mproot is the first port and the
function doesnt use the *mp argument supplied, so i changed it to 

FD_SET(mp->devhandle,&midi_rfds);

this still gives the same problem.. i looked at the point where this
function is called in s_linux.c in fuction
void sys_poll_midi(void) and i can't figure out why it doesnt work..


tom





More information about the Pd-list mailing list