Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | typedef struct vmidi_devc { |
| 2 | int dev; |
| 3 | |
| 4 | /* State variables */ |
Andrea Gelmini | 76b5377 | 2010-02-27 17:51:03 +0100 | [diff] [blame] | 5 | int opened; |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 6 | spinlock_t lock; |
Andrea Gelmini | 76b5377 | 2010-02-27 17:51:03 +0100 | [diff] [blame] | 7 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 8 | /* 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; |