2005-04-16 22:20:36 +00:00
|
|
|
typedef struct vmidi_devc {
|
|
|
|
int dev;
|
|
|
|
|
|
|
|
/* State variables */
|
2010-02-27 16:51:03 +00:00
|
|
|
int opened;
|
2005-04-16 22:20:36 +00:00
|
|
|
spinlock_t lock;
|
2010-02-27 16:51:03 +00:00
|
|
|
|
2005-04-16 22:20:36 +00:00
|
|
|
/* MIDI fields */
|
|
|
|
int my_mididev;
|
|
|
|
int pair_mididev;
|
|
|
|
int input_opened;
|
|
|
|
int intr_active;
|
|
|
|
void (*midi_input_intr) (int dev, unsigned char data);
|
|
|
|
} vmidi_devc;
|