diff options
author | Chris Robinson <[email protected]> | 2010-11-27 00:17:19 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2010-11-27 00:17:19 -0800 |
commit | 4689ffb72d4b068a374901ff5fbfff205b9aa70f (patch) | |
tree | 60052203f353cced23bca5250359563ea492a547 /OpenAL32 | |
parent | d2895c7985c77299617ee0562f53e210e8dd04ca (diff) |
muLaw converts to 16-bit, not float
Diffstat (limited to 'OpenAL32')
-rw-r--r-- | OpenAL32/alBuffer.c | 2 |
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; |