mirror of https://gitee.com/openkylin/linux.git
16 lines
284 B
C
16 lines
284 B
C
|
typedef struct vmidi_devc {
|
||
|
int dev;
|
||
|
|
||
|
/* State variables */
|
||
|
int opened;
|
||
|
spinlock_t lock;
|
||
|
|
||
|
/* 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;
|
||
|
|