aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2013-11-27 04:33:33 -0800
committerChris Robinson <[email protected]>2013-11-27 04:33:33 -0800
commit37fa82f138043b8503c2a05b5959145da46b5062 (patch)
treeebeae4b1e593196eddde39f220615f9503ff5063
parentd315feae404a810177d27f86d8e4b58c1531cd60 (diff)
Use a 64-bit uint for MIDI event times
-rw-r--r--Alc/evtqueue.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/Alc/evtqueue.h b/Alc/evtqueue.h
index 9208df6e..ab41c427 100644
--- a/Alc/evtqueue.h
+++ b/Alc/evtqueue.h
@@ -3,8 +3,10 @@
#include "AL/al.h"
+#include "alMain.h"
+
typedef struct MidiEvent {
- ALuint time;
+ ALuint64 time;
ALuint event;
ALuint param[2];
} MidiEvent;
@@ -20,4 +22,4 @@ void InitEvtQueue(EvtQueue *queue);
void ResetEvtQueue(EvtQueue *queue);
ALenum InsertEvtQueue(EvtQueue *queue, const MidiEvent *evt);
-#endif /* AL_EXTQUEUE_H */
+#endif /* AL_EVTQUEUE_H */