diff options
author | Chris Robinson <[email protected]> | 2007-12-28 22:41:14 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2007-12-28 22:41:14 -0800 |
commit | 5f8e65e09941c9c5d48e2277a8b1be1e35f04a9a (patch) | |
tree | c0b71503e829f3cf2dcda7aaea081da4610a357c /Alc/ALu.c | |
parent | d90b36cf1147b0b14068db55a7510ffb0d2d2641 (diff) |
Implement AL_EXT_FLOAT32
Diffstat (limited to 'Alc/ALu.c')
-rw-r--r-- | Alc/ALu.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -68,6 +68,10 @@ __inline ALuint aluBytesFromFormat(ALenum format) case AL_FORMAT_51CHN16: return 2; + case AL_FORMAT_MONO_FLOAT32: + case AL_FORMAT_STEREO_FLOAT32: + return 4; + default: return 0; } @@ -79,10 +83,12 @@ __inline ALuint aluChannelsFromFormat(ALenum format) { case AL_FORMAT_MONO8: case AL_FORMAT_MONO16: + case AL_FORMAT_MONO_FLOAT32: return 1; case AL_FORMAT_STEREO8: case AL_FORMAT_STEREO16: + case AL_FORMAT_STEREO_FLOAT32: return 2; case AL_FORMAT_QUAD8: |