version 1.20, 2018/06/26 07:44:35 |
version 1.21, 2019/07/12 06:30:55 |
|
|
unsigned int unit; /* instance of name */ |
unsigned int unit; /* instance of name */ |
unsigned int serial; /* global unique number */ |
unsigned int serial; /* global unique number */ |
unsigned int vol; /* current (midi) volume */ |
unsigned int vol; /* current (midi) volume */ |
|
unsigned int id; /* process id */ |
}; |
}; |
|
|
struct opt { |
struct opt { |
|
|
* sio_open(3) like interface for clients |
* sio_open(3) like interface for clients |
*/ |
*/ |
void slot_log(struct slot *); |
void slot_log(struct slot *); |
struct slot *slot_new(struct dev *, struct opt *, char *, |
struct slot *slot_new(struct dev *, struct opt *, unsigned int, char *, |
struct slotops *, void *, int); |
struct slotops *, void *, int); |
void slot_del(struct slot *); |
void slot_del(struct slot *); |
void slot_setvol(struct slot *, unsigned int); |
void slot_setvol(struct slot *, unsigned int); |