aboutsummaryrefslogtreecommitdiffstats
path: root/Alc
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2013-11-29 04:56:33 -0800
committerChris Robinson <[email protected]>2013-11-29 04:56:33 -0800
commitea1d7d56d3e343fa1b0246096eca88d1e804a556 (patch)
tree36d1f8031380469e3746c79c32bb94ad013ea85a /Alc
parent82d4e69da1d5b443d943a55a3c97d4e7cbd811ba (diff)
Add infrastructure for handling SysEx MIDI events
Diffstat (limited to 'Alc')
-rw-r--r--Alc/evtqueue.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/Alc/evtqueue.h b/Alc/evtqueue.h
index ab41c427..95702d79 100644
--- a/Alc/evtqueue.h
+++ b/Alc/evtqueue.h
@@ -8,7 +8,13 @@
typedef struct MidiEvent {
ALuint64 time;
ALuint event;
- ALuint param[2];
+ union {
+ ALuint val[2];
+ struct {
+ ALvoid *data;
+ ALsizei size;
+ } sysex;
+ } param;
} MidiEvent;
typedef struct EvtQueue {