Line | |
---|
1 | /* -*- mode: C; tab-width:8; c-basic-offset:8 -*- |
---|
2 | * vi:set ts=8: |
---|
3 | * |
---|
4 | * al_queue.h |
---|
5 | * |
---|
6 | * Stuff related to the alQueue. |
---|
7 | */ |
---|
8 | #ifndef AL_QUEUE_H_ |
---|
9 | |
---|
10 | #include "al_types.h" |
---|
11 | |
---|
12 | /* |
---|
13 | * Initialize an AL_sourcestate object to the default settings. |
---|
14 | */ |
---|
15 | void _alSourceStateInit( AL_sourcestate *srcstate ); |
---|
16 | |
---|
17 | /* |
---|
18 | * Returns the current AL_sourcestate of the source src, or NULL on |
---|
19 | * error. |
---|
20 | */ |
---|
21 | AL_sourcestate *_alSourceQueueGetCurrentState( AL_source *src ); |
---|
22 | |
---|
23 | /* |
---|
24 | * Truncates a source's queue with a single entry of bid. |
---|
25 | */ |
---|
26 | void _alSourceQueueHead( AL_source *src, ALuint bid ); |
---|
27 | |
---|
28 | /* |
---|
29 | * Initializes a source's queue. |
---|
30 | */ |
---|
31 | void _alSourceQueueInit( AL_source *src ); |
---|
32 | |
---|
33 | /* |
---|
34 | * Clears a source's queue, removing all entries. |
---|
35 | */ |
---|
36 | void _alSourceQueueClear( AL_source *src ); |
---|
37 | |
---|
38 | /* |
---|
39 | * Append bid to source's queue. |
---|
40 | */ |
---|
41 | void _alSourceQueueAppend( AL_source *src, ALuint bid ); |
---|
42 | |
---|
43 | /* |
---|
44 | * Non locking version of alSourceUnqueueBuffers. |
---|
45 | */ |
---|
46 | void _alSourceUnqueueBuffers( ALuint sid, ALsizei n, ALuint *bids ); |
---|
47 | |
---|
48 | #endif /* AL_QUEUE_H_ */ |
---|
Note: See
TracBrowser
for help on using the repository browser.