Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: downloads/openal-0.0.8/src/extensions/al_ext_loki.h @ 17

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

added openal

File size: 1.5 KB
Line 
1/* -*- mode: C; tab-width:8; c-basic-offset:8 -*-
2 * vi:set ts=8:
3 *
4 * al_ext_loki.h
5 *
6 * Prototypes for (semi) standard loki extensions
7 */
8#ifndef AL_EXT_LOKI_H_
9#define AL_EXT_LOKI_H_
10
11#include "al_ext_needed.h"
12#include <AL/alext.h>
13
14/*
15 * alInitLoki( void )
16 *
17 * Initializes data structures needed by the loki extensions.
18 */
19void alInitLoki( void );
20
21/*
22 * alFiniLoki( void )
23 *
24 * Finalizes data structures needed by the loki extensions.
25 */
26void alFiniLoki( void );
27
28#ifndef OPENAL_EXTENSION
29
30/*
31 * we are being built into the standard library, so inform
32 * the extension registrar
33 */
34#define BUILTIN_EXT_LOKI                                      \
35        AL_EXT_PAIR(alBufferAppendData_LOKI),                 \
36        AL_EXT_PAIR(alBufferWriteData_LOKI),                  \
37        AL_EXT_PAIR(alBufferAppendWriteData_LOKI),            \
38        AL_EXT_PAIR(alReverbScale_LOKI),                      \
39        AL_EXT_PAIR(alReverbDelay_LOKI),                      \
40        AL_EXT_PAIR(alBombOnError_LOKI),                      \
41        AL_EXT_PAIR(alBufferi_LOKI),                          \
42        AL_EXT_PAIR(alBufferDataWithCallback_LOKI),           \
43        AL_EXT_PAIR(alGenStreamingBuffers_LOKI),              \
44        AL_EXT_PAIR(alcGetAudioChannel_LOKI),                 \
45        AL_EXT_PAIR(alcSetAudioChannel_LOKI)
46
47
48/* initialization and destruction functions */
49
50#define BUILTIN_EXT_LOKI_INIT  alInitLoki()
51#define BUILTIN_EXT_LOKI_FINI  alFiniLoki()
52
53#else
54
55#define BUILTIN_EXT_LOKI_INIT
56#define BUILTIN_EXT_LOKI_FINI
57
58#endif /* OPENAL_EXTENSION */
59
60#endif /* AL_EXT_LOKI_H_ */
Note: See TracBrowser for help on using the repository browser.