]> git.jsancho.org Git - lugaru.git/blob - Source/alstubs.h
Relicensing all Wolfire Lugaru assets to CC-BY-SA 3.0
[lugaru.git] / Source / alstubs.h
1 /*
2 Copyright (C) 2003, 2010 - Wolfire Games
3
4 This file is part of Lugaru.
5
6 Lugaru is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 2 of the License, or
9 (at your option) any later version.
10
11 Lugaru is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14 GNU General Public License for more details.
15
16 You should have received a copy of the GNU General Public License
17 along with Lugaru.  If not, see <http://www.gnu.org/licenses/>.
18 */
19
20
21 AL_FUNC(AL, void, alGenSources, (ALsizei n, ALuint* sources), (n, sources),)
22 AL_FUNC(AL, void, alDeleteSources, (ALsizei n, ALuint* sources), (n, sources),)
23 AL_FUNC(AL, void, alSourcei, (ALuint sid, ALenum param, ALint value), (sid, param, value),)
24 AL_FUNC(AL, void, alSourcef, (ALuint sid, ALenum param, ALfloat value), (sid, param, value),)
25 AL_FUNC(AL, void, alSource3f, (ALuint sid, ALenum param, ALfloat f1, ALfloat f2, ALfloat f3), (sid, param, f1, f2, f3),)
26 AL_FUNC(AL, void, alGetSourceiv, (ALuint sid, ALenum pname, ALint* values), (sid, pname, values),)
27 AL_FUNC(AL, void, alSourcePlay, (ALuint sid), (sid),)
28 AL_FUNC(AL, void, alSourcePause, (ALuint sid), (sid),)
29 AL_FUNC(AL, void, alSourceStop, (ALuint sid), (sid),)
30 AL_FUNC(AL, void, alGenBuffers, (ALsizei n, ALuint* buffers), (n, buffers),)
31 AL_FUNC(AL, void, alDeleteBuffers, (ALsizei n, ALuint* buffers), (n, buffers),)
32 AL_FUNC(AL, void, alBufferData, (ALuint buffer, ALenum format, ALvoid *data, ALsizei size, ALsizei freq), (buffer, format, data, size, freq),)
33 AL_FUNC(AL, void, alListenerfv, (ALenum pname, ALfloat* param), (pname, param),)
34 AL_FUNC(AL, void, alListener3f, (ALenum pname, ALfloat f1, ALfloat f2, ALfloat f3), (pname, f1, f2, f3),)
35 AL_FUNC(AL, void, alListenerf, (ALenum pname, ALfloat param), (pname, param),)
36 AL_FUNC(AL, ALenum, alGetError, (ALvoid), (), return)
37 AL_FUNC(AL, const ALubyte*, alGetString, (ALenum param), (param), return)
38 AL_FUNC(AL, ALboolean, alIsExtensionPresent, (const ALubyte* fname), (fname), return)
39 AL_FUNC(AL, ALenum, alGetEnumValue, (const ALubyte* ename), (ename), return)
40 AL_FUNC(ALC, ALCcontext *, alcCreateContext, (ALCdevice *dev, ALint* attrlist), (dev, attrlist), return)
41 AL_FUNC(ALC, ALCenum, alcMakeContextCurrent, (ALCcontext *alcHandle), (alcHandle), return)
42 AL_FUNC(ALC, ALCcontext *, alcProcessContext, (ALCcontext *alcHandle), (alcHandle), return)
43 AL_FUNC(ALC, void, alcSuspendContext, (ALCcontext *alcHandle), (alcHandle),)
44 AL_FUNC(ALC, ALCenum, alcDestroyContext, (ALCcontext *alcHandle), (alcHandle), return)
45 AL_FUNC(ALC, ALCenum, alcGetError, (ALCdevice *dev), (dev), return)
46 AL_FUNC(ALC, ALCcontext *, alcGetCurrentContext, (ALvoid), (), return)
47 AL_FUNC(ALC, ALCdevice *, alcOpenDevice, (const ALubyte *tokstr), (tokstr), return)
48 AL_FUNC(ALC, void, alcCloseDevice, (ALCdevice *dev), (dev),)
49 AL_FUNC(ALC, ALCdevice*, alcGetContextsDevice, (ALCcontext *context), (context), return)