38#ifndef LIBOPENCM3_USB_MIDI_H
39#define LIBOPENCM3_USB_MIDI_H
49#define USB_MIDI_SUBTYPE_MS_DESCRIPTOR_UNDEFINED 0x00
50#define USB_MIDI_SUBTYPE_MS_HEADER 0x01
51#define USB_MIDI_SUBTYPE_MIDI_IN_JACK 0x02
52#define USB_MIDI_SUBTYPE_MIDI_OUT_JACK 0x03
53#define USB_MIDI_SUBTYPE_MIDI_ELEMENT 0x04
56#define USB_MIDI_SUBTYPE_DESCRIPTOR_UNDEFINED 0x00
57#define USB_MIDI_SUBTYPE_MS_GENERAL 0x01
60#define USB_MIDI_JACK_TYPE_UNDEFINED 0x00
61#define USB_MIDI_JACK_TYPE_EMBEDDED 0x01
62#define USB_MIDI_JACK_TYPE_EXTERNAL 0x02
65#define USB_MIDI_EP_CONTROL_UNDEFINED 0x00
66#define USB_MIDI_ASSOCIATION_CONTROL 0x01
76} __attribute__((packed));
86} __attribute__((packed));
97} __attribute__((packed));
105} __attribute__((packed));
111} __attribute__((packed));
122} __attribute__((packed));
132} __attribute__((packed));
140} __attribute__((packed));
153} __attribute__((packed));
164} __attribute__((packed));
172} __attribute__((packed));
177} __attribute__((packed));
187} __attribute__((packed));
uint8_t bDescriptorSubtype
struct usb_midi_element_descriptor_tail tail
struct usb_midi_element_descriptor_head head
struct usb_midi_element_descriptor_body source[1]
uint8_t bDescriptorSubType
struct usb_midi_endpoint_descriptor_head head
struct usb_midi_endpoint_descriptor_body jack[1]
uint8_t bDescriptorSubtype
uint8_t bDescriptorSubtype
struct usb_midi_out_jack_descriptor_head head
struct usb_midi_out_jack_descriptor_tail tail
struct usb_midi_out_jack_descriptor_body source[1]