Return to midi.c CVS log | Up to [local] / src / usr.bin / sndiod |
version 1.29, 2021/11/01 14:43:25 | version 1.30, 2024/05/03 05:18:09 | ||
---|---|---|---|
|
|
||
} | } | ||
/* | /* | ||
* return the list of endpoints the given one receives from | |||
*/ | |||
unsigned int | |||
midi_rxmask(struct midi *ep) | |||
{ | |||
int i, rxmask; | |||
for (rxmask = 0, i = 0; i < MIDI_NEP; i++) { | |||
if ((midi_ep[i].txmask & ep->self) == 0) | |||
continue; | |||
rxmask |= midi_ep[i].self; | |||
} | |||
return rxmask; | |||
} | |||
/* | |||
* add the midi endpoint in the ``tag'' midi thru box | * add the midi endpoint in the ``tag'' midi thru box | ||
*/ | */ | ||
void | void |