18 #ifndef MT32EMU_MIDI_EVENT_QUEUE_H 19 #define MT32EMU_MIDI_EVENT_QUEUE_H 38 class SysexDataStorage;
41 const Bit8u *sysexData;
44 Bit32u shortMessageData;
51 Bit32u ringBufferSize,
52 Bit32u storageBufferSize
56 bool pushShortMessage(Bit32u shortMessageData, Bit32u timestamp);
57 bool pushSysex(
const Bit8u *sysexData, Bit32u sysexLength, Bit32u timestamp);
58 const volatile MidiEvent *peekMidiEvent();
60 inline bool isEmpty()
const;
63 SysexDataStorage &sysexDataStorage;
66 const Bit32u ringBufferMask;
67 volatile Bit32u startPosition;
68 volatile Bit32u endPosition;
73 #endif // #ifndef MT32EMU_MIDI_EVENT_QUEUE_H
Definition: MidiEventQueue.h:36
Definition: MidiEventQueue.h:40