blob: 08e2185ee816794656f8cf9a83a80706859aec84 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001typedef struct vmidi_devc {
2 int dev;
3
4 /* State variables */
Andrea Gelmini76b53772010-02-27 17:51:03 +01005 int opened;
Linus Torvalds1da177e2005-04-16 15:20:36 -07006 spinlock_t lock;
Andrea Gelmini76b53772010-02-27 17:51:03 +01007
Linus Torvalds1da177e2005-04-16 15:20:36 -07008 /* MIDI fields */
9 int my_mididev;
10 int pair_mididev;
11 int input_opened;
12 int intr_active;
13 void (*midi_input_intr) (int dev, unsigned char data);
14 } vmidi_devc;