version 1.10, 2016/01/08 16:17:31 |
version 1.11, 2016/03/23 06:16:35 |
|
|
struct slotops |
struct slotops |
{ |
{ |
void (*onmove)(void *); /* clock tick */ |
void (*onmove)(void *); /* clock tick */ |
void (*onvol)(void *, unsigned int); /* tell client vol changed */ |
void (*onvol)(void *); /* tell client vol changed */ |
void (*fill)(void *); /* request to fill a play block */ |
void (*fill)(void *); /* request to fill a play block */ |
void (*flush)(void *); /* request to flush a rec block */ |
void (*flush)(void *); /* request to flush a rec block */ |
void (*eof)(void *); /* notify that play drained */ |
void (*eof)(void *); /* notify that play drained */ |
|
|
unsigned int, unsigned int, unsigned int, unsigned int); |
unsigned int, unsigned int, unsigned int, unsigned int); |
struct dev *dev_bynum(int); |
struct dev *dev_bynum(int); |
void dev_del(struct dev *); |
void dev_del(struct dev *); |
void dev_adjpar(struct dev *, int, int, int, int, int); |
void dev_adjpar(struct dev *, int, int, int); |
int dev_init(struct dev *); |
int dev_init(struct dev *); |
void dev_done(struct dev *); |
void dev_done(struct dev *); |
int dev_ref(struct dev *); |
int dev_ref(struct dev *); |