summaryrefslogtreecommitdiffstats
path: root/OpenAL32/alBuffer.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2010-11-25 11:49:35 -0800
committerChris Robinson <[email protected]>2010-11-25 11:49:35 -0800
commit8e7a4046d08e8dde4252dd4470730004a49ef290 (patch)
tree0886d0a0ac50b5f71fae22f4ba32b6b8b6bb10cb /OpenAL32/alBuffer.c
parentf4e0c6a348253c6d7154e7a8f18a209c5133c5b3 (diff)
Don't "convert" LOKI quad to MCFORMATS quad
Diffstat (limited to 'OpenAL32/alBuffer.c')
-rw-r--r--OpenAL32/alBuffer.c13
1 files changed, 2 insertions, 11 deletions
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: {