mirror of
https://review.haiku-os.org/haiku
synced 2025-02-03 20:27:22 +01:00
52fc197a09
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4076 a95241bf-73f2-0310-859d-f6bbb57e9c96
21 lines
461 B
C
21 lines
461 B
C
#ifndef USB_MIDI_H
|
|
#define USB_MIDI_H
|
|
|
|
#include "USB_audio.h"
|
|
|
|
// (Partial) USB Class Definitions for MIDI Devices, version 1.0
|
|
// (usb_midi_class_10.pdf)
|
|
|
|
#define USB_MIDI_CLASS_VERSION 0x0100 // Class specification version 1.0
|
|
|
|
// USB MIDI Event Packet
|
|
|
|
// ... as clean structure:
|
|
typedef struct { // USB MIDI Event Packet
|
|
uint8 cin:4; // Code Index Number
|
|
uint8 cn:4; // Cable Number
|
|
uint8 midi[3];
|
|
} _PACKED usb_midi_event_packet;
|
|
|
|
#endif // USB_MIDI_H
|