repo.or.cz
/
openal-soft.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Update a couple comments
[openal-soft.git]
/
Alc
/
evtqueue.h
blob
95702d793a6213d06af013204e5d930953a825b6
1
#ifndef AL_EVTQUEUE_H
2
#define AL_EVTQUEUE_H
3
4
#include
"AL/al.h"
5
6
#include
"alMain.h"
7
8
typedef
struct
MidiEvent
{
9
ALuint64 time
;
10
ALuint event
;
11
union
{
12
ALuint val
[
2
];
13
struct
{
14
ALvoid
*
data
;
15
ALsizei size
;
16
}
sysex
;
17
}
param
;
18
}
MidiEvent
;
19
20
typedef
struct
EvtQueue
{
21
MidiEvent
*
events
;
22
ALsizei pos
;
23
ALsizei size
;
24
ALsizei maxsize
;
25
}
EvtQueue
;
26
27
void
InitEvtQueue
(
EvtQueue
*
queue
);
28
void
ResetEvtQueue
(
EvtQueue
*
queue
);
29
ALenum
InsertEvtQueue
(
EvtQueue
*
queue
,
const
MidiEvent
*
evt
);
30
31
#endif
/* AL_EVTQUEUE_H */