Fix compilation of the dedicated server

Add missing OpenAL stubs.
This commit is contained in:
dhewg 2012-01-14 13:26:01 +01:00
parent 2b9e2e5193
commit 1a5499e6f5

View file

@ -44,6 +44,13 @@ AL_API void AL_APIENTRY alSourceStop( ALuint sid ) { }
AL_API void AL_APIENTRY alGetSourcei( ALuint sid, ALenum pname, ALint* value ) { }
AL_API void AL_APIENTRY alSource3i( ALuint sid, ALenum param, ALint value1, ALint value2, ALint value3 ) { }
AL_API const ALchar* AL_APIENTRY alGetString( ALenum param ) {
return "";
}
AL_API ALint AL_APIENTRY alGetInteger( ALenum param ) { return 0; }
ALC_API void ALC_APIENTRY alcSuspendContext( ALCcontext *alcHandle ) { }
@ -52,6 +59,10 @@ ALC_API ALCdevice * ALC_APIENTRY alcOpenDevice( const ALchar *tokstr ) {
return NULL;
}
ALC_API ALCboolean ALC_APIENTRY alcIsExtensionPresent( ALCdevice *device, const ALCchar *extname ) {
return AL_FALSE;
}
AL_API void AL_APIENTRY alDeleteBuffers( ALsizei n, const ALuint* buffers ) { }
AL_API ALboolean AL_APIENTRY alIsExtensionPresent( const ALchar* fname ) {