Vegastrike 0.5.1 rc1
1.0
Original sources for Vegastrike Evolved
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
al.h
Go to the documentation of this file.
1
#ifndef __AL_INCLUDES__INCLUDED__
2
#define __AL_INCLUDES__INCLUDED__
3
4
#include "config.h"
5
6
#ifdef __APPLE__
7
#include <
al.h
>
8
#include <alc.h>
9
#else
10
#include <
AL/al.h
>
11
#include <AL/alc.h>
12
#endif
13
14
typedef
ALuint
ALSourceHandle
;
15
typedef
ALuint
ALBufferHandle
;
16
17
#define AL_NULL_BUFFER (ALBufferHandle(0))
18
19
#ifndef AL_SEC_OFFSET
20
/* Supported on Windows, but the headers might be out of date. */
21
#define AL_SEC_OFFSET 0x1024
22
#endif
23
24
// Windows AL calls it "ILLEGAL" not "INVALID".....?
25
#if (!defined(ALC_INVALID_ENUM) && defined(ALC_ILLEGAL_ENUM))
26
#define ALC_INVALID_ENUM ALC_ILLEGAL_ENUM
27
#endif
28
29
// Both are major=0x1000 and minor=0x1001, but are completely different!?!?!?
30
#ifdef ALC_VERSION_0_1
31
#define ALCstring const ALCchar*
32
#else
33
#define ALCstring ALCubyte*
34
#endif
35
36
#endif//__AL_INCLUDES__INCLUDED__
37
src
audio
renderers
OpenAL
al.h
Generated on Fri May 29 2015 23:07:06 for Vegastrike 0.5.1 rc1 by
1.8.4