18 #ifndef ZENI_SOUND_RENDERER_AL_H
19 #define ZENI_SOUND_RENDERER_AL_H
26 #include <OpenAL/alc.h>
31 #define OV_EXCLUDE_STATIC_CALLBACKS
33 #undef OV_EXCLUDE_STATIC_CALLBACKS
91 static alGetError_fcn
alGetError() {
return g_alGetError;}
110 static String errorString();
113 void set_listener_position(
const Point3f &position);
114 void set_listener_velocity(
const Vector3f &velocity);
115 void set_listener_forward_and_up(
const Vector3f &forward,
const Vector3f &up);
116 void set_listener_gain(
const float &gain);
118 std::pair<Vector3f, Vector3f> get_listener_forward_and_up()
const;
124 typedef void * HMODULE;
128 static alBufferData_fcn g_alBufferData;
129 static alcCloseDevice_fcn g_alcCloseDevice;
130 static alcCreateContext_fcn g_alcCreateContext;
131 static alcDestroyContext_fcn g_alcDestroyContext;
132 static alIsExtensionPresent_fcn g_alIsExtensionPresent;
133 static alcMakeContextCurrent_fcn g_alcMakeContextCurrent;
134 static alcOpenDevice_fcn g_alcOpenDevice;
135 static alDeleteBuffers_fcn g_alDeleteBuffers;
136 static alDeleteSources_fcn g_alDeleteSources;
137 static alGenBuffers_fcn g_alGenBuffers;
138 static alGetError_fcn g_alGetError;
139 static alGetListenerf_fcn g_alGetListenerf;
140 static alGetListenerfv_fcn g_alGetListenerfv;
141 static alGetSourcef_fcn g_alGetSourcef;
142 static alGetSourcefv_fcn g_alGetSourcefv;
143 static alGetSourcei_fcn g_alGetSourcei;
144 static alGenSources_fcn g_alGenSources;
145 static alListenerf_fcn g_alListenerf;
146 static alListenerfv_fcn g_alListenerfv;
147 static alSourcef_fcn g_alSourcef;
148 static alSourcefv_fcn g_alSourcefv;
149 static alSourcei_fcn g_alSourcei;
150 static alSourcePause_fcn g_alSourcePause;
151 static alSourcePlay_fcn g_alSourcePlay;
152 static alSourceStop_fcn g_alSourceStop;
153 static alSourceQueueBuffers_fcn g_alSourceQueueBuffers;
154 static alSourceUnqueueBuffers_fcn g_alSourceUnqueueBuffers;
static alGetSourcefv_fcn alGetSourcefv()
static alListenerf_fcn alListenerf()
static alcMakeContextCurrent_fcn alcMakeContextCurrent()
GLvoid **typedef void(GLAPIENTRY *PFNGLGETVERTEXATTRIBDVPROC)(GLuint
static alcDestroyContext_fcn alcDestroyContext()
static alGetListenerf_fcn alGetListenerf()
static alSourceStop_fcn alSourceStop()
static alDeleteSources_fcn alDeleteSources()
static alGetSourcei_fcn alGetSourcei()
ALCdevice *(ALC_APIENTRY * alcOpenDevice_fcn)(const ALCchar *devicename)
static alSourcei_fcn alSourcei()
static alGetListenerfv_fcn alGetListenerfv()
static alGetSourcef_fcn alGetSourcef()
static alcCreateContext_fcn alcCreateContext()
static alSourcef_fcn alSourcef()
A 3D Point represented with floats.
A Featureful 3-Space Vector Class.
static alSourceQueueBuffers_fcn alSourceQueueBuffers()
static alcOpenDevice_fcn alcOpenDevice()
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
static alBufferData_fcn alBufferData()
GLint GLenum GLsizei GLsizei GLsizei GLint GLenum format
ALCcontext *(ALC_APIENTRY * alcCreateContext_fcn)(ALCdevice *device, const ALCint *attrlist)
static alIsExtensionPresent_fcn alIsExtensionPresent()
static alDeleteBuffers_fcn alDeleteBuffers()
static alSourcefv_fcn alSourcefv()
static alGetError_fcn alGetError()
static alSourcePlay_fcn alSourcePlay()
EGLSurface EGLint void ** value
static alSourceUnqueueBuffers_fcn alSourceUnqueueBuffers()
static alSourcePause_fcn alSourcePause()
static alListenerfv_fcn alListenerfv()
static alcCloseDevice_fcn alcCloseDevice()
static alGenSources_fcn alGenSources()
GLint GLsizei const GLuint64 * values
static alGenBuffers_fcn alGenBuffers()