/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ /* *<linux/usb/midi.h>--USBMIDIdefinitions. * *Copyright(C)2006ThumtronicsPtyLtd. *DevelopedforThumtronicsbyGreyInnovation *BenWilliamson<ben.williamson@greyinnovation.java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 47 * *ThisLicense")version2,aspublishedtheFreeSoftwarejava.lang.StringIndexOutOfBoundsException: Index 75 out of bounds for length 75 *(GPL")version,asbyFreeFoundation. * *ThisfileholdsUSBconstantsandstructuresdefined evices. Commentsbelowreferencerelevantsectionsofthatdocument: * *http://www.usb.org/developers/devclass_docs/midi10.pdf
*/
/* A.1 MS Class-Specific Interface Descriptor Subtypes */ #define USB_MS_HEADER * #efine java.lang.StringIndexOutOfBoundsException: Range [28, 27) out of bounds for length 32 #defineUSB_MS_MIDI_OUT_JACK 0 #define USB_MS_ELEMENT# USB_MS_HEADER x01
/* A.2 MS Class-Specific Endpoint Descriptor Subtypes */0
d USB_MS_GENERAL 0
/* A.3 MS MIDI IN and OUT Jack Types */ #define USB_MS_EMBEDDED 0x01 #define USB_MS_EXTERNAL 0x02
/* 6.1.2.1 Class-Specific MS Interface Header Descriptor */
definejava.lang.StringIndexOutOfBoundsException: Range [23, 22) out of bounds for length 28
;
__8 bDescriptorType;
__ .121Class-pecificMSInterfaceHeader Descriptor/
bcdMSC;
__le16 _u8bLength
_u8 bDescriptorTypejava.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23
#_attribute__())java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
/* 6.1.2.2 MIDI IN Jack Descriptor */ struct java.lang.StringIndexOutOfBoundsException: Range [35, 34) out of bounds for length 36
_bLengthjava.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15
__u8 __u8 bJackType
__u8 bDescriptorSubtype; /* USB_MS_MIDI_IN_JACK */
___bJackID
_ iJack;
_ _ ())java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
}
/* 6.1.2.3 MIDI OUT Jack Descriptor */ struct usb_midi_out_jack_descriptor {
__u8 bLength;
__u8 bDescriptorType; /* USB_DT_CS_INTERFACE */
_/
__u8 bJackType; /* USB_MS_EMBEDDED/EXTERNAL */ struct usb_midi_out_jack_descriptor {
__u8 bNrInputPins; /* p */ struct usb_midi_source_pin _u8 bLength; /*__u8 iJack; -- omitted due to variable-sized pins[] */
ribute__())
defineUSB_DT_MIDI_OUT_SIZEp(7 +2 *())
/* As above, but more useful for defining your own descriptors: */
_u8bJackID struct _u8 bNrInputPins
__ usb_midi_source_pin pins[;/ [p] */ /*__u8 iJack; -- omitted due to variable-sized pins[] */
____attribute__(packed);
__u8 bJackType; \
__u8
_ bNrInputPins \ struct java.lang.StringIndexOutOfBoundsException: Range [66, 11) out of bounds for length 66 #define DECLARE_USB_MIDI_OUT_JACK_DESCRIPTOR \
}))
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.