From 8e7a4046d08e8dde4252dd4470730004a49ef290 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Thu, 25 Nov 2010 11:49:35 -0800 Subject: Don't "convert" LOKI quad to MCFORMATS quad --- OpenAL32/alBuffer.c | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) (limited to 'OpenAL32') diff --git a/OpenAL32/alBuffer.c b/OpenAL32/alBuffer.c index b55426b0..736a62b2 100644 --- a/OpenAL32/alBuffer.c +++ b/OpenAL32/alBuffer.c @@ -291,6 +291,8 @@ AL_API ALvoid AL_APIENTRY alBufferData(ALuint buffer,ALenum format,const ALvoid case AL_FORMAT_STEREO8: case AL_FORMAT_STEREO16: case AL_FORMAT_STEREO_FLOAT32: + case AL_FORMAT_QUAD8_LOKI: + case AL_FORMAT_QUAD16_LOKI: case AL_FORMAT_QUAD8: case AL_FORMAT_QUAD16: case AL_FORMAT_QUAD32: @@ -319,17 +321,6 @@ AL_API ALvoid AL_APIENTRY alBufferData(ALuint buffer,ALenum format,const ALvoid alSetError(Context, err); break; - case AL_FORMAT_QUAD8_LOKI: - err = LoadData(ALBuf, data, size, freq, format, AL_FORMAT_QUAD8); - if(err != AL_NO_ERROR) - alSetError(Context, err); - break; - case AL_FORMAT_QUAD16_LOKI: - err = LoadData(ALBuf, data, size, freq, format, AL_FORMAT_QUAD16); - if(err != AL_NO_ERROR) - alSetError(Context, err); - break; - case AL_FORMAT_REAR8: case AL_FORMAT_REAR16: case AL_FORMAT_REAR32: { -- cgit v1.2.3