version 1.8, 2010/06/04 06:15:28 |
version 1.9, 2010/10/21 18:57:42 |
|
|
struct aparams rpar; /* template for clients read params */ |
struct aparams rpar; /* template for clients read params */ |
int mmc; /* true if MMC control enabled */ |
int mmc; /* true if MMC control enabled */ |
int join; /* true if join/expand enabled */ |
int join; /* true if join/expand enabled */ |
#define MODE_PLAY 0x1 /* allowed to play */ |
unsigned mode; /* bitmap of MODE_XXX */ |
#define MODE_REC 0x2 /* allowed to rec */ |
|
#define MODE_MIDIIN 0x4 /* allowed to read midi */ |
|
#define MODE_MIDIOUT 0x8 /* allowed to write midi */ |
|
#define MODE_MON 0x10 /* allowed to monitor */ |
|
#define MODE_LOOP 0x20 /* deviceless mode */ |
|
#define MODE_RECMASK (MODE_REC | MODE_MON) |
|
#define MODE_AUDIOMASK (MODE_REC | MODE_MON | MODE_PLAY) |
|
#define MODE_MIDIMASK (MODE_MIDIIN | MODE_MIDIOUT) |
|
unsigned mode; /* bitmap of above */ |
|
struct dev *dev; /* device to which we're attached */ |
struct dev *dev; /* device to which we're attached */ |
}; |
}; |
|
|