aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2010-11-27 00:17:19 -0800
committerChris Robinson <[email protected]>2010-11-27 00:17:19 -0800
commit4689ffb72d4b068a374901ff5fbfff205b9aa70f (patch)
tree60052203f353cced23bca5250359563ea492a547
parentd2895c7985c77299617ee0562f53e210e8dd04ca (diff)
muLaw converts to 16-bit, not float
-rw-r--r--OpenAL32/alBuffer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenAL32/alBuffer.c b/OpenAL32/alBuffer.c
index c923819d..7dac47ff 100644
--- a/OpenAL32/alBuffer.c
+++ b/OpenAL32/alBuffer.c
@@ -476,7 +476,7 @@ AL_API ALvoid AL_APIENTRY alBufferData(ALuint buffer,ALenum format,const ALvoid
} break;
case AL_FORMAT_REAR_MULAW: {
- ALenum NewFormat = AL_FORMAT_QUAD32;
+ ALenum NewFormat = AL_FORMAT_QUAD16;
ALuint NewChannels = aluChannelsFromFormat(NewFormat);
ALuint NewBytes = aluBytesFromFormat(NewFormat);
ALuint64 newsize;