diff options
author | Chris Robinson <[email protected]> | 2007-12-28 22:56:48 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2007-12-28 22:56:48 -0800 |
commit | 1061108c6146416068e489febe89173ca40eb2ee (patch) | |
tree | 336ab7f451461ef51995e65b021147102dc4029c /OpenAL32/alBuffer.c | |
parent | 5f8e65e09941c9c5d48e2277a8b1be1e35f04a9a (diff) |
Remove some duplication
Diffstat (limited to 'OpenAL32/alBuffer.c')
-rw-r--r-- | OpenAL32/alBuffer.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/OpenAL32/alBuffer.c b/OpenAL32/alBuffer.c index d1a8c359..33db7cfb 100644 --- a/OpenAL32/alBuffer.c +++ b/OpenAL32/alBuffer.c @@ -275,25 +275,13 @@ ALAPI ALvoid ALAPIENTRY alBufferData(ALuint buffer,ALenum format,const ALvoid *d switch(format) { case AL_FORMAT_MONO8: - LoadData(ALBuf, data, size, freq, format, AL_FORMAT_MONO16); - break; - case AL_FORMAT_MONO16: - LoadData(ALBuf, data, size, freq, format, AL_FORMAT_MONO16); - break; - case AL_FORMAT_MONO_FLOAT32: LoadData(ALBuf, data, size, freq, format, AL_FORMAT_MONO16); break; case AL_FORMAT_STEREO8: - LoadData(ALBuf, data, size, freq, format, AL_FORMAT_STEREO16); - break; - case AL_FORMAT_STEREO16: - LoadData(ALBuf, data, size, freq, format, AL_FORMAT_STEREO16); - break; - case AL_FORMAT_STEREO_FLOAT32: LoadData(ALBuf, data, size, freq, format, AL_FORMAT_STEREO16); break; |