From 37fa82f138043b8503c2a05b5959145da46b5062 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Wed, 27 Nov 2013 04:33:33 -0800 Subject: Use a 64-bit uint for MIDI event times --- Alc/evtqueue.h | 6 ++++-- 1 file 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 */ -- cgit v1.2.3