]> git.jsancho.org Git - lugaru.git/blob - OpenAL/include/AL/alu.h
First shot at an OpenAL renderer. Sound effects work, no music.
[lugaru.git] / OpenAL / include / AL / alu.h
1 #ifndef __alu_h_
2 #define __alu_h_
3
4 #ifdef _WIN32
5 #define ALAPI       __declspec(dllexport)
6 #define ALAPIENTRY  __cdecl
7 #else  /* _WIN32 */
8
9 #ifdef TARGET_OS_MAC
10 #if TARGET_OS_MAC
11 #pragma export on
12 #endif /* TARGET_OS_MAC */
13 #endif /* TARGET_OS_MAC */
14
15 #define ALAPI
16 #define ALAPIENTRY
17 #define AL_CALLBACK
18 #endif /* _WIN32 */
19
20 #if defined(__MACH__) && defined(__APPLE__)
21 #include <OpenAL/al.h>
22 #include <OpenAL/alutypes.h>
23 #else
24 #include <AL/al.h>
25 #include <AL/alutypes.h>
26 #endif
27
28 #ifdef __cplusplus
29 extern "C" {
30 #endif
31
32 #ifndef AL_NO_PROTOTYPES
33
34
35
36 #else
37
38
39
40
41
42 #endif /* AL_NO_PROTOTYPES */
43
44 #ifdef TARGET_OS_MAC
45 #if TARGET_OS_MAC
46 #pragma export off
47 #endif /* TARGET_OS_MAC */
48 #endif /* TARGET_OS_MAC */
49
50 #ifdef __cplusplus
51 }
52 #endif
53
54 #endif /* __alu_h_ */
55