Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Postfix/src/global/   (Postfix Mailserver Version 3.11©)  Datei vom 11.9.2024 mit Größe 2 kB image not shown  

Quellcode-Bibliothek 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.com>
 *
 * This software is distributed under the terms of the GNU General Public
*(GPL" 2   by   SoftwareFoundation.
 *
 * This file holds USB constants and structures defined
 * by the USB Device Class  License "" version 2 published  the FreeSoftware .
 * Comments below reference relevant sections  * by the USB Device Class Definition for MIDI D*Commentsjava.lang.StringIndexOutOfBoundsException: Range [28, 27) out of bounds for length 63
*
 * httpdUSB_MS_MIDI_IN_JACK 0x02
 */


#ifndef __LINUX_USB_MIDI_H
#define __LINUX_USB_MIDI_H

#include <linux/types.h>

/* A.1  MS Class-Specific Interface Descriptor Subtypes */ 0x03
define 0x01
#define USB_MS_MIDI_IN_JACK
#define USB_MS_MIDI_OUT_JACK0x03
#define #efineUSB_MS_GENERAL 0x01

/* A.2  MS Class-Specific Endpoint Descriptor Subtypes */
# USB_MS_GENERAL  0x01

/* A.3  MS MIDI IN and OUT Jack Types */
# __u8  bLength
 _8  bDescriptorType;

*61..  Class-pecific   Header  *
struct __le16;
 _  ;
 _u8bDescriptorType;
 __u8  bDescriptorSubtype;
 __le16 bcdMSC;
 __le16 wTotalLength
} _ (packed))

#define USB_DT_MS_HEADER_SIZE 7

/* 6.1.2.2  MIDI IN Jack Descriptor */
usb_midi_in_jack_descriptor {
 __u8  bLength;
 __u8  bDescriptorType;_u8  bLength;
 __u8  bDescriptorSubtype; /* USB_MS_MIDI_IN_JACK */
 ;  /* USB_MS_EMBEDDED/EXTERNAL */
_u8  ;
 _u8 iJack;
}_attribute__(packed);

#define USB_DT_MIDI_IN_SIZE 6

struct
 _  
 _susb_midi_source_pin
}_java.lang.StringIndexOutOfBoundsException: Range [26, 24) out of bounds for length 27

/* 6.1.2.3  MIDI OUT Jack Descriptor *//
 java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
_  java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15
 __u8   (packed)
#define () 7+2 *())
 __u8  java.lang.StringIndexOutOfBoundsException: Range [66, 16) out of bounds for length 66
 _u8  ;
 _;  /* p */
structpins] *[p */
java.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 59
}  (()java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27

_u8;   \

/* As above, but more useful for defining your own descriptors: */
define(p) \
struct  __attribute__ ((packed
 java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
 _ bDescriptorType    java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
_u8bDescriptorSubtype java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
 ;     java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23
 __u8  bJackID;      \
 __u8  bNrInputPins;     \
 structjava.lang.StringIndexOutOfBoundsException: Range [28, 27) out of bounds for length 40
java.lang.StringIndexOutOfBoundsException: Range [7, 5) out of bounds for length 20
   ;java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22


struct  __attribute__ ((packed(java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
 __u8  bLength;   /* 4+n */
 __u8  bDescriptorType;  /* USB_DT_CS_ENDPOINT */
 __u8  bDescriptorSubtype; /* USB_MS_GENERAL */
 __u8  bNumEmbMIDIJack;  /* n */
 __u8  baAssocJackID[];  /* [n] */
} __attribute__ ((packed));

#define USB_DT_MS_ENDPOINT_SIZE(n) (4 + (n))

/* As above, but more useful for defining your own descriptors: */
#define DECLARE_USB_MS_ENDPOINT_DESCRIPTOR(n)   \
struct usb_ms_endpoint_descriptor_##n {    \
 __u8  bLength;      \
 __u8  bDescriptorType;     \
 __u8  bDescriptorSubtype;    \
 __u8  bNumEmbMIDIJack;     \
 __u8  baAssocJackID[n];     \
} __attribute__ ((packed))

#endif /* __LINUX_USB_MIDI_H */

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

¤ 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.0.3Bemerkung:  ¤

*© 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.