Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: downloads/openal-0.0.8/src/al_queue.h @ 43

Last change on this file since 43 was 17, checked in by landauf, 17 years ago

added openal

File size: 1000 bytes
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 */
15void _alSourceStateInit( AL_sourcestate *srcstate );
16
17/*
18 * Returns the current AL_sourcestate of the source src, or NULL on
19 * error.
20 */
21AL_sourcestate *_alSourceQueueGetCurrentState( AL_source *src );
22
23/*
24 * Truncates a source's queue with a single entry of bid.
25 */
26void _alSourceQueueHead( AL_source *src, ALuint bid );
27
28/*
29 * Initializes a source's queue.
30 */
31void _alSourceQueueInit( AL_source *src );
32
33/*
34 * Clears a source's queue, removing all entries.
35 */
36void _alSourceQueueClear( AL_source *src );
37
38/*
39 * Append bid to source's queue.
40 */
41void _alSourceQueueAppend( AL_source *src, ALuint bid );
42
43/*
44 * Non locking version of alSourceUnqueueBuffers.
45 */
46void _alSourceUnqueueBuffers( ALuint sid, ALsizei n, ALuint *bids );
47
48#endif /* AL_QUEUE_H_ */
Note: See TracBrowser for help on using the repository browser.