Add OpenAL-soft 29e0af5ef052a3602f9b7935d6002c6d2ae5e8cb.

Needed because of race condition fix in mmdevapi backend.
This commit is contained in:
rude
2014-02-13 20:32:37 +01:00
parent 633e62c6c6
commit c3a7263a78
117 changed files with 56259 additions and 0 deletions
@@ -0,0 +1,31 @@
#ifndef AL_EVTQUEUE_H
#define AL_EVTQUEUE_H
#include "AL/al.h"
#include "alMain.h"
typedef struct MidiEvent {
ALuint64 time;
ALuint event;
union {
ALuint val[2];
struct {
ALvoid *data;
ALsizei size;
} sysex;
} param;
} MidiEvent;
typedef struct EvtQueue {
MidiEvent *events;
ALsizei pos;
ALsizei size;
ALsizei maxsize;
} EvtQueue;
void InitEvtQueue(EvtQueue *queue);
void ResetEvtQueue(EvtQueue *queue);
ALenum InsertEvtQueue(EvtQueue *queue, const MidiEvent *evt);
#endif /* AL_EVTQUEUE_H */