version 1.15, 2016/01/08 16:17:31 |
version 1.16, 2017/01/03 06:53:20 |
|
|
ep->mode = mode; |
ep->mode = mode; |
|
|
/* |
/* |
* the output buffer is the client intput |
* the output buffer is the client input |
*/ |
*/ |
if (ep->mode & MODE_MIDIIN) |
if (ep->mode & MODE_MIDIIN) |
abuf_init(&ep->obuf, MIDI_BUFSZ); |
abuf_init(&ep->obuf, MIDI_BUFSZ); |
|
|
panic(); |
panic(); |
} |
} |
#endif |
#endif |
/* ep has empry buffer, so no need to call midi_tickets() */ |
/* ep has empty buffer, so no need to call midi_tickets() */ |
peer->txmask |= ep->self; |
peer->txmask |= ep->self; |
} |
} |
} |
} |