diff options
author | Chris Robinson <[email protected]> | 2010-11-25 11:49:35 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2010-11-25 11:49:35 -0800 |
commit | 8e7a4046d08e8dde4252dd4470730004a49ef290 (patch) | |
tree | 0886d0a0ac50b5f71fae22f4ba32b6b8b6bb10cb /OpenAL32 | |
parent | f4e0c6a348253c6d7154e7a8f18a209c5133c5b3 (diff) |
Don't "convert" LOKI quad to MCFORMATS quad
Diffstat (limited to 'OpenAL32')
-rw-r--r-- | OpenAL32/alBuffer.c | 13 |
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: { |