version 1.42, 2012/04/11 06:05:43 |
version 1.43, 2012/04/25 07:21:41 |
|
|
/* |
/* |
* call-back invoked periodically to implement throttling; at each invocation |
* call-back invoked periodically to implement throttling; at each invocation |
* gain more ``tickets'' for processing. If one of the buffer was blocked by |
* gain more ``tickets'' for processing. If one of the buffer was blocked by |
* the throttelling mechanism, then run it |
* the throttling mechanism, then run it |
*/ |
*/ |
void |
void |
midi_cb(void *addr) |
midi_cb(void *addr) |
|
|
} |
} |
|
|
/* |
/* |
* notifty the mixer that volume changed, called by whom allocad the slot using |
* notifty the mixer that volume changed, called by whom allocated the slot using |
* ctl_slotnew(). Note: it doesn't make sens to call this from within the |
* ctl_slotnew(). Note: it doesn't make sense to call this from within the |
* call-back. |
* call-back. |
*/ |
*/ |
void |
void |
|
|
/* |
/* |
* XXX: if the sysex is received byte by byte, partial messages |
* XXX: if the sysex is received byte by byte, partial messages |
* won't be sent until the end byte is received. On the other |
* won't be sent until the end byte is received. On the other |
* hand we can't flush it here, since we would loose messages |
* hand we can't flush it here, since we would lose messages |
* we parse |
* we parse |
*/ |
*/ |
abuf_rdiscard(ibuf, icount); |
abuf_rdiscard(ibuf, icount); |