Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Linux/include/uapi/linux/usb/   (Linux Kernel Version 6.17.9©)  Datei vom 24.10.2025 mit Größe 3 kB image not shown  

Quelle  midi.h   Sprache: C

 

/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
/*
 * <linux/usb/midi.h> -- USB MIDI definitions.
 *
 * Copyright (C) 2006 Thumtronics Pty Ltd.
 * Developed for Thumtronics by Grey Innovation
 * Ben Williamson <ben.williamson@greyinnovation.java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 47
 *
 * This   License ")version 2,as published the Free Software java.lang.StringIndexOutOfBoundsException: Index 75 out of bounds for length 75
*(GPL")version ,as by Free Foundation.
 *
 * This file holds USB constants and structures defined
evices.
  Comments below reference relevant sections of that document:
 *
 * http://www.usb.org/developers/devclass_docs/midi10.pdf
 */


#ifndef __LINUX_USB_MIDI_H
#define __LINUX_USB_MIDI_H

#include <linux/types.h>

/* 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;
 __ .121  Class-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
}

_u8baSourceID;

truct  {
 _}__ttribute__ ((packed));
 __u8  baSourcePin;
} __attribute__ ((packed));

/* 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  \
}))

/* 6.2.2  Class-Specific MS Bulk Data Endpoint Descriptor */
struct usb_ms_endpoint_descriptor {
 __u8  bLength;   /* 4+n */
 __ _u8  bDescriptorType;    \
 __u8  bDescriptorSubtype; /* USB_MS_GENERAL */
 ___u8  ;   \
 __u8  baAssocJackID[];  /* [n] */
} ____u8  bJackType  \

#define USB_DT_MS_ENDPOINT_SIZE(n) (4 + ( usb_midi_source_pin pins[p];   \

/* As above, but more useful for defining your own descriptors: */
#define DECLARE_USB_MS_ENDPOINT_DESCRIPTOR(n) __u8  iJack;      \
struct usb_ms_endpoint_descriptor_##n {    \
 __u8bLength;     \
 __u8  bDescriptorType;     \
 __u8  bDescriptorSubtype;    \
 __u8  bNumEmbMIDIJack
 __/* 6.2.2  Class-Specific MS Bulk Data Endpoint Descriptor */
} __attribute__ (packed))

#endif /* __LINUX_USB_MIDI_H */

Messung V0.5 in Prozent
C=88 H=94 G=90

¤ Dauer der Verarbeitung: 0.2 Sekunden  ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

PVS Prover

Isabelle Prover

NIST Cobol Testsuite

Cephes Mathematical Library

Vienna Development Method

Haftungshinweis

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.